Current time: 02-17-2025, 10:57 AM Hello There, Guest! (LoginRegister)


Post Reply 
How to save modified php.ini file settings
Author Message
pgentoo Offline
Member
*****
Dev Team

Posts: 326
Joined: Mar 2007
Reputation: 0
Post: #6
RE: How to save modified php.ini file settings
robmorin Wrote:when i change someone over to php5 by simply editing the php4-fcgi-starter file am i supposed to change the php.ini file that is used from php4 to php5 one? otherwise the php4 ini file is used, no

I believe the directory to look for the php.ini file is defined in the phpX-fcgi-starter with the "PHPRC" variable. If you just rename a copy of the php4-fcgi-starter, it won't work. You need to modify this file to ponit to the correct binary as well as the correct PHPRC directory.

You'll also need to modify your vhosts file for apache, to switch it from using the php4-fcgi-starter to php5-fcgi-starter.

I'm sure there is a way to change something in the database, and then set the domain to change, and have the vhosts and starter scripts updated for you, but then you'd blow out any changes you've made...
06-05-2008 05:48 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to save modified php.ini file settings - pgentoo - 06-05-2008 05:48 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)