suggestion: rename all php4* files in php 5 to php5*

php.internals

Greg Beaver

23 years ago
Hi, It's currently impossible in windows to have both php 4 and php 5 installed (unless you can compile it yourself), and I would like this to be possible. If the php4ts.dll could be renamed to php5ts.dll, that would be logical and make this possible. Thanks, Greg

Philip Olson

23 years ago
> It's currently impossible in windows to have both php 4 and php 5 > installed (unless you can compile it yourself), and I would like this to > be possible. If the php4ts.dll could be renamed to php5ts.dll, that > would be logical and make this possible.
This is known and an open bug report, there are many files that live in this boat: http://bugs.php.net/bug.php?id=24397 Regards, Philip

Olivier Hill

23 years ago
Philip Olson wrote:
> This is known and an open bug report, there are many files that > live in this boat: > http://bugs.php.net/bug.php?id=24397
I've looked how to fix these bugs. Should I rename files php5<something> and update the workspace, or whould we keep the php4<something> files but create new DLLs with the php5 naming style? In short, should we cvs delete php4* and cvs add php5* or just commit the changes to the actual files? Question: Do we have any build docs on how to compile PHP with MSVC++? I can't compile since I'm missing some includes (arpa/inet.h and libxml.h or something) Oliver

Edin Kadribasic

23 years ago
I'll be looking into that soon so please don't rename any files yet. Edin ----- Original Message ----- From: "Olivier Hill" <ohill@php.net> To: "Philip Olson" <philip@cornado.com>; <internals@lists.php.net> Sent: Wednesday, July 02, 2003 10:49 PM Subject: Re: [PHP-DEV] suggestion: rename all php4* files in php 5 to php5*

Olivier Hill

23 years ago
Edin Kadribasic wrote:
> I'll be looking into that soon so please don't rename any files yet.
I don't have karma access to the php-src/ tree anyway. If you want my current work, I'm almost finished renaming every .dsp/.dsw/.rc/.rc2. Files with php4 are renamed to php5, and everything inside is also renamed php5. The only thing remaining is the /D PHP4DLLTS_EXPORTS. Everything in /ext/* is done. I'm currently finishing the /sapi directory. Email me if you want a tarball or something (or should I ask for karma? make a patch? danse naked? ;) Oliver

Edin Kadribasic

23 years ago
Please do send me the whole tree packed in a tarball, or post a link to where I can download it. Edin ----- Original Message ----- From: "Olivier Hill" <ohill@php.net> To: "Edin Kadribasic" <edink@proventum.net> Cc: <internals@lists.php.net> Sent: Thursday, July 03, 2003 12:19 AM Subject: Re: [PHP-DEV] suggestion: rename all php4* files in php 5 to php5*

Olivier Hill

23 years ago
Edin Kadribasic wrote:
> Please do send me the whole tree packed in a tarball, or post a link to > where I can download it.
Here it is!! http://sheep.deev.com/~olivier/patch_dsp_php5.tar.gz This file contains only the relevant .dsp/.dsw/.rc/.rc2. You can unpack it in your PHP source directory, overridding any old file. You'll get a couple of new php5* files. Every reference to php4 has been changed, except for sources file (ex: php4activescript.c, etc) and compiler definitions (/D PHP4...). If you try to compile the Apache module, it should output a php5apache.dll. I haven't tested it yet, I have some dependencies problem. AFAIC, everything should work, but I'd like if someone could really test it (and tell me how to get libxml.h/inet.h/etc.) Please note that if this is integrated into CVS, we should remove the irrelevent /php4.*\.(dsp|dsw|rc|rc2)/ files. Files should be in MS format, if not, it's a transfert error. Oliver

Olivier Hill

23 years ago
Any feedback about the patch I've sent? It's not on CVS, is someone at least looking at it? I had 3 hits to the address I've sent since 3 days. I realize Windows isn't the perfect platform for PHP, but still, a lot of developpers are using the binary distrib to develop on their system and afterwards transfering the scripts to a production machine (hopefully running some Unixes w/ Apache). This is the way I set up Windows users at work to test their scripts before they can upload them on our CVS server (because they have no clue on how to use Linux). I just believe that a great way to develop a software is first to be sure that it compiles alright. It's a lot easier to make a release afterwards if all these bugs have been fixed before. (BugID #24397) Thanks for the feedback. And once again, if you want/need me to do anything, just ask, I've joined the mailing list exactly for that purpose. Oliver
-- GB/E/IT d+ s+:+ a-- C++$ UL++++$ P++++ L+++$ E- W++$ N- ?o ?K w--(---) !O M+$ V- PS+ PE- Y PGP t++ 5-- X+@ R- tv++ b++(+++) DI++++ D+ G++ e+>++ h(*) r y+(?)

Uwe Schindler

23 years ago
There should also be renaming of functions in SAPI modules, e.g. NSAPI: php4_init -> php5_init etc. I will do this for my API module the next days (unix build). At 12:56 02.07.2003 -0400, you wrote:
>Hi, > >It's currently impossible in windows to have both php 4 and php 5 >installed (unless you can compile it yourself), and I would like this to >be possible. If the php4ts.dll could be renamed to php5ts.dll, that would >be logical and make this possible. > >Thanks, >Greg > > >-- >PHP Internals - PHP Runtime Development Mailing List >To unsubscribe, visit: http://www.php.net/unsub.php
----- Uwe Schindler Addr 1: Bamberger Str. 24a, D-96049 Bamberg Addr 2: Drausnickstr. 153, D-91052 Erlangen http://www.thetaphi.de - http:///www.schindlers-software.de eMails: uwe@thetaphi.de (private); info@schindlers-software.de (company) Tel./Fax: +49 700 PCLATEIN (+49 700 72528346) Schindlers Software - Home of Schindlers PC-LATEIN 3.10 DIE Software zum Lateinlernen!

John Lim

23 years ago
Hi Greg, Actually it is possible to have both installed. Just make sure all php4 files are in the same directory, say c:\php4\php432 including your php.ini, while the php.ini in the windows directory is for php5. Regards, John "Greg Beaver" <greg@chiaraquartet.net> wrote in message news:3F030EAA.50201@chiaraquartet.net...