Page 1 of 1

Locating the PHP INI file

Posted: Sun Aug 22, 2010 5:30 pm
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

Re: Locating the PHP INI file

Posted: Sun Aug 22, 2010 5:37 pm
by Eran
run phpinfo()

Re: Locating the PHP INI file

Posted: Tue Aug 24, 2010 7:33 am
by melle0616
try this

<?php
phpinfo();
?>