Page 1 of 1

how to use my custom php.ini in Fast/CGI PHP5

Posted: Wed Aug 08, 2007 1:20 pm
by methos
I can't seem to connect my custom made php.ini file.

The shared server that I hired uses Fast/CGI gentoo (PHP 5.2.3) Apache/2.0.58.

Does anybody know how to configure this ???

These are some default settings in phpinfo();

Configuration File (php.ini) Path /etc/php/cgi-php5
Loaded Configuration File /etc/php/cgi-php4/php.ini
Scan this dir for additional .ini files /etc/php/cgi-php5/ext-active
additional .ini files parsed /etc/php/cgi-php5/ext-active/suhosin.ini

Posted: Wed Aug 08, 2007 4:26 pm
by Mightywayne
What worked best for me was:

http://downloads.sourceforge.net/winscp ... g_mirror=0

What I suggest you do is get in, look at the php.ini, and then copy pasta your whole change, right over it. Just make sure you don't delete everything.

Using a VI to me feels a bit outdated. But if you do prefer that........ good luck? ^^;