Page 1 of 1
php.ini file location
Posted: Tue Nov 18, 2008 12:16 am
by bloodl
Hi all! I am installing ZEND, and it requires that I locate the php.ini file for it. The problem is that when I did a search, 3 in total appeared in the following locations:
- PHP5
WINDOWS
PROGRAM FILES\PHP
How can I figure out which one to use without attempting the trial and error method?
Cheers,
Doug

Re: php.ini file location
Posted: Tue Nov 18, 2008 2:05 am
by alex.barylski
I would edit the one labeled PHP5/php.ini
See if it works...if not...read the docs for the distro you downloaded...somewhere in there it will tell you...
Alternatively you could maybe wait for a while and use PHP a few times and use the INI files whose last accessed date is the latest?
Re: php.ini file location
Posted: Tue Nov 18, 2008 3:05 am
by Doug G
Run phpinfo() and you'll see which ini is being used by your php installation.
Re: php.ini file location
Posted: Tue Nov 18, 2008 5:42 pm
by bloodl
Thanks guys, heaps useful!
I truly appreciate it
Re: php.ini file location
Posted: Tue Nov 18, 2008 5:45 pm
by bloodl
I got these two:
Configuration File (php.ini) Path C:\WINDOWS
Loaded Configuration File C:\Program Files\PHP\php.ini
Which one would I point Zend to??
I would assume the 2nd one?
cheers,
Doug
Re: php.ini file location
Posted: Tue Nov 18, 2008 5:52 pm
by Eran
What is Zend? do you mean Zend Studio?
Zend is the name of the company that developers PHP related products
Re: php.ini file location
Posted: Tue Nov 18, 2008 8:55 pm
by bloodl
http://www.zend.com/en/products/guard/optimizer/
I got it figured thanks to previous comments. Thanks for all involved!