php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6087 Unable to use php whith ini file named "php.ini" only "php3.ini" accepted ...
Submitted: 2000-08-10 21:15 UTC Modified: 2000-09-03 07:38 UTC
From: philippe dot meslin at worldonline dot fr Assigned:
Status: Closed Package: Installation problem
PHP Version: 4.0.1pl2 OS: WIN 95 / 4.00.950 B
Private report: No CVE-ID: None
 [2000-08-10 21:15 UTC] philippe dot meslin at worldonline dot fr
Hi,

I just migrate from PHP3 to PHP4. Installing the product, i have update my php3.ini file and rename it in php.ini into c:\windows directory.

After, none of the previous .php3 documents are executed even a simple one like :
<?
phpinfo();
?>

I must rename the php.ini file into php3.ini to be abble to run a script.

None of the modifiation made in php3.ini file are in effect running php3 scripts.

Of course i reboot the computer many times ...

I don't understand where something is wrong.

Best regards.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-10 21:39 UTC] bmcadams@php.net
Have you verified that you properly uninstalled your old php3 version?  It sounds to me like IIS (or whatever server you are running) is still using the old php3 files and mapping .php3 to that.

Can you please get back to me with what web server software you are running?


 [2000-08-11 21:00 UTC] bmcadams@php.net
User forwarded httpd.conf via email (apache on windows).
Line excerpt from config:

-----------

AddType application/x-httpd-php3 .php
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3 .phtml
AddType application/x-httpd-php3-source .phps
AddType application/x-tar .tgz
Action  application/x-httpd-php3 "/php3/php.exe"

-----------

You should start by changing all of those lines to "application/x-httpd-php" for conventions and sanity's sake (php4 uses "application/x-httpd-php" for php refs now).

It sounds like you didn't properly upgrade; it's possible that php3 support files are still loading in your system.

Please find and delete all copies of the following files from your system (they come with php3 distro for win32):
php.exe
any .dll file prefixed with php3 in the name.

Then please reboot, and reinstall php4, making sure your apache config properly points at the php4 exe.

 [2000-08-12 04:07 UTC] bmcadams@php.net
Awaiting user feedback to see if problem persists.
 [2000-09-03 07:38 UTC] waldschrott@php.net
Closed due to missing user feedback.

Also shouldn?t you copy your php4 distribution in you php3
directory and if you didn?t do, you forgot your httpd.conf
to point to the right directory...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 29 05:01:28 2024 UTC