Webdesign,code & ...stuff!

Feb 23, 2009

Where is php.ini?

The quick way to find out (assuming php4.3+) is

bash-2.05a$ php -r "phpinfo();" | grep Configuration
Configuration File (php.ini) Path => /etc
Configuration

If you can't do that (because you are using pre 4.3, for shame!) then try the <?php phpinfo() ?> script

0 comments: