Page 1 of 1
php.ini
Posted: Mon Jul 22, 2002 7:42 am
by Love_Daddy
Hi,
I see my Path and Directories in php.ini is empty, since I'm linux, what do I write in there for
it to work properly?
Thanks
php.ini help on linux
Posted: Tue Jul 23, 2002 3:43 pm
by musashi
In most cases php.ini works fine without needing any alterations. This is, of course, assuming you have a basic setup and are not trying to do anything fancy.
However, if you setup a test.php page:
<?php phpinfo(); ?>
or (for the CGI version) type: php -i
you should get some information on the setup of your php (the command argument dumps html out so you might want to direct it into a temp file and view in a web browser).
The normal location for the php.ini file is /usr/local/lib
By default your installation should have placed it there.