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
Moderator: General Moderators
- Love_Daddy
- Forum Commoner
- Posts: 61
- Joined: Wed Jul 10, 2002 6:55 am
- Location: South Africa
- Contact:
php.ini help on linux
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.
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.