I want to know where my php.ini file is on my server.. I tried searching it manually but it does not work. I also tried running
<?php phpinfo(); ?>
with no sucess… I get this error on the error_log when I run phpinfo();
phpinfo() has been disabled for security reasons in /home/pakhokve/public_html/phpinfo.php on line 1
phpinfo.php just contains this
<?php phpinfo(); ?>
I need to turn off php safe mode off. I can’t do it because of this.
Or here:
Or here:
Anyway, you can always find any file named php.ini in this manner
but I would recommend
Note: Sometimes it will be php.ini.default