MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: nmpribeiro on 2014-07-01, 16:24:57

Title: One domain has pdo the other doesn't
Post by: nmpribeiro on 2014-07-01, 16:24:57
So...

I've seen php config has gone back to the client (not per domain).

But, I had to switch from php-fpm to suphp, and somehow, one domain has pdo working and the other doesn't.

This one has broken my understanding of kloxo-mr. Any help would be very much apreciated!
Title: Re: One domain has pdo the other doesn't
Post by: nmpribeiro on 2014-07-01, 16:31:20

Solution:

redo domain or

cp /home/httpd/functional_domain.com/php.ini /home/httpd/defected_domain.com/php.ini

I hope this one was the last issue...
Title: Re: One domain has pdo the other doesn't
Post by: MRatWork on 2014-07-01, 19:09:37
Don't modified php.ini directly if you want no overwrite your custom but modified /home/phpini/tpl/custom.php.ini.tpl (copy from php.ini.tpl).
Title: Re: One domain has pdo the other doesn't
Post by: nmpribeiro on 2014-07-02, 07:36:42
Sure. Thanks MR.

But, kloxo 6.5.1b removes the abitily to custumize php per domain? At least I wasn't able to find the "PHP Config" in a domain in the new UI (I like it, congrats for the work!)
Title: Re: One domain has pdo the other doesn't
Post by: MRatWork on 2014-07-02, 08:51:54
Only customize for client-based php.ini.