Current time: 11-29-2024, 12:27 AM Hello There, Guest! (LoginRegister)


Post Reply 
update all the php.ini files
Author Message
kingxerxes Offline
Junior Member
*

Posts: 67
Joined: Dec 2009
Reputation: 0
Post: #1
update all the php.ini files
hi there,
i am using version 1.0.7 in a production environment and want to update all the php.ini files for my domains as i am tightening security after a recent intrusion through a wordpress theme vulnerability.

is there a way i can updated them all at once and how can i set the template for future domains?
01-31-2012 08:13 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: update all the php.ini files
for future:
/etc/ispcp/fcgi/parts/php5/php.ini

change existing: manually, with a script (sed, awk etc) or set the domain status to "change", remove all the php.ini below /var/www/fcgi/*/php5/php.ini and run the request manager... (they are recreated if they do not exist, based on the template... see above).

/J
01-31-2012 11:28 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kingxerxes Offline
Junior Member
*

Posts: 67
Joined: Dec 2009
Reputation: 0
Post: #3
RE: update all the php.ini files
thanks for the reply. where do i set the domain status to changed? is this in the db?

how do i run the request manager please?

thanks!
01-31-2012 11:30 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: update all the php.ini files
change the default/template php.ini

make clear that not others are in ispcp (maintenance mode) - just to reduce the time php is not working...

set in table "domain", field domain_status to change
(UPDATE `domain` SET `domain_status` = 'change')

remove or rename all the php below /var/www/fcgi/ - except for the "master" domain... (ispcp itself)

kick /var/www/ispcp/engine/ispcp-rqst-mngr

/Joxi
02-02-2012 12:42 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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