Page 1 of 1

Appropriate Location/Settings for php.ini

PostPosted: 04. August 2005 20:16
by Philip G. Duffy
By this time I have several different versions of php.ini scattered over my disk (excluding the distributed and recommended versions). My last addition of Zend Studio Client/Server was probably done incorrectly by me such that I received a "You don't appear to have the mysql extension installed, exiting" message when I attempted to access the appropriate page using IE6 browser, which had worked previously. I reviewed Zend's "Adding Support for PHP 5" at ... iew_only=1 which suggested that that extension_dir may be the problem.

When prompted during installation, I responded that php.ini was in the C:\Windows directory and that may have broken the XAMPP for Windows installation. I also have copies of php.ini in the following directories:

C:\xampp\php (43 KB)
C:\apachefriends\xampp\xampp\php (43 KB)
C:\apachefriends\xampp\xampp\apache\bin (43 KB)
C:\Program Files\Zend\ZendStudioClient-4.0.2\bin\5 (1 KB)

According to phpinfo() the last is the active php.ini file. Apache is installed at C:\apachefriends\xampp\xampp\apache.

Whether I caused the problem or Zend Studio installation interferes with a prior XAMPP installation of Windows is less important than knowing how I can correct the situation. Can anybody suggest a correction so that I can reach my web pages through the browser?



RE: Appropriate Location/Settings for php.ini

PostPosted: 08. August 2005 12:42
by hollystyles
My active php.ini is in this directory:

C:\apachefriends\xampp\xampp\apache\bin (43 KB)

I believe that's the one XAMPP uses from default install on windows.

I would rename the php.ini file in:
C:\Program Files\Zend\ZendStudioClient-4.0.2\bin\5 (1 KB)

and replace it with the one in:

C:\apachefriends\xampp\xampp\apache\bin (43 KB)

See if that works.