php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #22190 Renaming some files
Submitted: 2003-02-12 12:17 UTC Modified: 2004-01-17 07:55 UTC
Votes:21
Avg. Score:4.1 ± 1.6
Reproduced:10 of 12 (83.3%)
Same Version:8 (80.0%)
Same OS:10 (100.0%)
From: mill_2k at eml dot cc Assigned:
Status: Closed Package: *General Issues
PHP Version: 5CVS OS: Windows
Private report: No CVE-ID: None
 [2003-02-12 12:17 UTC] mill_2k at eml dot cc
It would be useful to change the names of files php4apache.dll, php4apache2.dll and php4ts.dll on php5*.dll

also the module in apache should be called
php5_module not php4_module

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-10 20:10 UTC] sniper@php.net
Making this 'Critical' so it's not forgotten.. :)

 [2003-09-30 19:30 UTC] rpanning at hotmail dot com
Also would be nice if the ini file was named php5.ini instead of just php.ini. This way we could have both php 4 and 5 installed and not have ini conflicts.

Also just wandering if there is a timeline for this fix.
 [2003-10-13 08:31 UTC] nicobn at virtualisp dot qc dot ca
A workarround for the .ini problem is to setup two different paths for each PHP installation, so one is in /usr/lib and the other is in /usr/local/lib (for exemple).
 [2003-10-20 05:41 UTC] nvivo at mandic dot com dot br
Wow, this is really urgent!

I think it's easy to solve this one, isn't it?

I remember Zend Survey about PHP and most people use windows to develop in PHP. Like me, tons of people have an apache or IIS installed on win2k/xp to run and test scripts at home or work.

I really want to test/use this new version of php, but i can't install in the same instance of apache as module and i don't want to run 2 servers in different ports or use it as cgi... the best would be run *.php5 with php5...

This thread is open since february... we are in october.. come on, is it really so hard to change the name of 3 files??
 [2003-10-20 06:18 UTC] sniper@php.net
It's not that simple, really. :)
Here's a list of some files that need to be renamed:

php4.spec.in -> php.spec.in
sapi/apache2*/sapi_apache2.c -> mod_php4.c and mod_php5.c

And dozens of *.dsp files need to be modified (and maybe renamed too in some cases)

 [2004-01-17 07:55 UTC] sniper@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 [2004-02-02 10:22 UTC] alpha at rrs dot at
If I see things correctly it's still not possible to use a differtent ini-file for if php4 and php5 share the same apache server under win32.
It's not possible with the registry key as both use the same. It's not possible with a enviroment variable as both use the same. It's not possible with a php.ini in the apache dir as both use the same. It's not possible with the SAPI-name as both are named apache. If php.ini is in the same directory as the php5apache.dll it's ignored.
A different ini is important as modules for php4 crashes php5 in php5ts.dll
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 14:01:30 2024 UTC