Mr-E-Mann
01-06-2008, 23:24
Firstly, create a file called, for example, phpinfo.php
Into this file, put the commands:
Then upload to your server html folder... then call it up:
http://www.whateveryourserveris.whatever/phpinfo.php
6th section down... Configuration File (php.ini) Path will tell you where php.ini is located
(my example on a server running HyperVM/LXAdmin is /home/httpd/my_website_name/php.ini)
Into this file, put the commands:
Code:
{ phpinfo(); }
http://www.whateveryourserveris.whatever/phpinfo.php
6th section down... Configuration File (php.ini) Path will tell you where php.ini is located
(my example on a server running HyperVM/LXAdmin is /home/httpd/my_website_name/php.ini)