Current time: 11-25-2024, 09:35 PM Hello There, Guest! (LoginRegister)


Post Reply 
Question about php.ini file
Author Message
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #1
Question about php.ini file
i have installated Ioncube and Zen Optimizer , i changed the following files

/etc/ispcp/fcgi/parts/php5/php.ini
/etc/ispcp/fcgi/parts/master/php5/php.ini
/var/www/fcgi/master/php5/php.ini
/etc/php5/cli/php.ini


I have regenerated the configuration but I did not find any change in the php.ini file of the domains, something wrong?
08-14-2009 04:18 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: Question about php.ini file
You only need to change the /var/www/fcgi/master/php5/php.ini if you want to use it for the master PHP.ini.

Sure you installed and loaded the modules correct ?

Greez BeNe
08-14-2009 04:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #3
RE: Question about php.ini file
Quote:I have regenerated the configuration but I did not find any change in the php.ini file of the domains, something wrong?

Unlike with the other configuration files (and I don't know why), the panel will never override a customer's php.ini, even if the template has changed. Therefore, you have to delete all the users php.ini, regenerate configurations and the new (updated) ones will be created.

Edit: quick script to delete them:
Code:
find /var/www/fcgi -type f | grep 'php5/php.ini' | xargs rm
(This post was last modified: 08-14-2009 04:53 PM by kilburn.)
08-14-2009 04:52 PM
Visit this user's website Find all posts by this user Quote this message in a reply
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #4
RE: Question about php.ini file
(08-14-2009 04:41 PM)BeNe Wrote:  You only need to change the /var/www/fcgi/master/php5/php.ini if you want to use it for the master PHP.ini.

Sure you installed and loaded the modules correct ?

Greez BeNe

if I put the call to libraries in their respective domains of the php.ini file works properly, if I put it in the master richiamti are not, as yet resolved by putting in /etc/php5/cgi/conf.d ini file , in this way works on all domains.


But I think it strange that the master / php.ini does not work for all domains
08-14-2009 05:00 PM
Visit this user's website Find all posts by this user Quote this message in a reply
theprincy Offline
Member
***

Posts: 311
Joined: Nov 2008
Reputation: 2
Post: #5
RE: Question about php.ini file
Having made the change on ispcp I get "error 500" or black page .

but I can find all the mistakes I? singh!!!
08-14-2009 08:36 PM
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: 3 Guest(s)