Locating the PHP INI file

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
dman2010
Forum Newbie
Posts: 1
Joined: Sun Aug 22, 2010 5:26 pm

Locating the PHP INI file

Post by dman2010 »

I have a Linux dedicated server at 1and 1, using Plesk.

Can SSH into the root, and can even get to the appropriate standard folder containing the php.ini file, which I need to modify to allow more memory.

However, I get as far as the /etc folder and find nothing there.

Can anybody provide any technique to find the php.ini file?

What script do you use? And once found, what do I do to get to the point where I can edit it?

Thank you very much. Sorry for the Noob question

replies please to dman@blindleading.com if possible. Have immediate need.

D
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Locating the PHP INI file

Post by Eran »

run phpinfo()
melle0616
Forum Newbie
Posts: 1
Joined: Fri Aug 20, 2010 11:49 am

Re: Locating the PHP INI file

Post by melle0616 »

try this

<?php
phpinfo();
?>
Post Reply