| Welcome to WebmasterWorld Guest from 220.127.116.11 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Can't find php.ini|
It's not where phpinfo() says it is
My phpinfo() says Loaded Configuration File is at /etc/php.ini but no file exists at that location on the server.
I have two other php.ini files though, in /etc/php5/apache2 and /etc/php5/cli.
I need to edit the php.ini but which one, and why does phpinfo() say it's somewhere it isn't?
use this command to find php.ini on your server.
root@skynet[~]# locate php.ini
On a Cpanel server, the one you want to edit is /usr/local/lib/php.ini
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved