MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Tips and Tricks => Topic started by: Sniffer on 2015-12-05, 21:32:12

Title: Add Handler fixes PHP errors?
Post by: Sniffer on 2015-12-05, 21:32:12
I'm running PHP 5.4 & 5.5 but have 5.5 set as used in Kloxo but PHP script throws errors unless I add

<FilesMatch \.php$>
SetHandler x-httpd-php55
</FilesMatch>

Why is this as PHP version is still the same?
Title: Re: Add Handler fixes PHP errors?
Post by: MRatWork on 2015-12-06, 03:57:01
Use 'SetHandler' work if apache/proxy with 'secondary php' enabled. Secondary php use 'suphp'  mode.

If normal php not work, possible  'admin > php configure', 'admin >servers >  (select one)  > php confugure' and 'admin > clients >  (select one) >  configure' not   set.
Title: Re: Add Handler fixes PHP errors?
Post by: Sniffer on 2015-12-06, 09:27:35
Thanks will check these. Also how do I remove php 5.3 & 5.6?

In phptype I only have
php-fpm_event
php-fpm_worker

Why has all others gone?
Title: Re: Add Handler fixes PHP errors?
Post by: MRatWork on 2015-12-06, 10:21:07
Thanks will check these. Also how do I remove php 5.3 & 5.6?

In phptype I only have
php-fpm_event
php-fpm_worker

Why has all others gone?
Secondary php only work under php-fpm_event and _worker.