MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Development => Topic started by: MRatWork on 2015-06-22, 13:28:16

Title: [INFO] Kloxo-MR 7.0 with Httpd 2.4 in CentOS 6
Post by: MRatWork on 2015-06-22, 13:28:16
Since upload 2015062006, Kloxo-MR 7.0 possible to choose Apache/Httpd 2.4. This feature only work for CentOS 6.

How to use it?. Follow this step:

1. Setting must be:
- Use Apache or proxy in 'switch programs'
- Use 'php-fpm_event' for 'php type' in 'webserver configure'
- Must be update to latest upload with:
Code: [Select]
yum clean all
yum update --disablerepo=*atrpms* -y
sh /script/cleanup

2. Steps from ssh:
Code: [Select]
sh /script/switch-apache httpd24
sh /script/fixphp
sh /script/fixweb
sh /script/restart-web -y

3. Steps from panel:
- Go to 'Admin > switch programs', select 'none' for 'web' and then click 'update'
- Select 'Use apache 2.4', select 'apache', 'hiawatha-proxy' or 'nginx-proxy', and then click 'update'.
- Go to 'Admin > webserver configure' and make sure 'php type' as 'php-fpm_event'
- Better select 'enable secondary php' and 'php used' with 'php54m', 'php55m' or 'php56m' instead 'php branch'

Note:
- Mod_ruid2 and mod_itk not work because need 'special' php compiled
- Suphp and fcgid still in progress
- According to Apache itself, default/recommendation 'php type' is php-fpm_event
- Something switch to httpd 2.4 have a trouble and then try 'pkill -9 httpd; sh /script/restart-web -y'
Title: Re: [INFO] Kloxo-MR 7.0 with Httpd 2.4 in CentOS 6
Post by: tinu on 2015-06-22, 14:29:18
Hello mustafa. I want to inform you that after this update i couldn't find 'Admin > webserver configure' 'php type' as 'php-fpm_event' and all other php options. Also my webmail page showing codes but not running as html.
check here.

I reinstalled kloxo several times and followed all steps carefully.

(http://s23.postimg.org/nvikuv8s7/capture001.jpg) (http://postimg.org/image/nvikuv8s7/)
Title: Re: [INFO] Kloxo-MR 7.0 with Httpd 2.4 in CentOS 6
Post by: MRatWork on 2015-06-22, 14:38:39
Hello mustafa. I want to inform you that after this update i couldn't find 'Admin > webserver configure' 'php type' as 'php-fpm_event' and all other php options. Also my webmail page showing codes but not running as html.

http://webmail.solutionsforsure.in/ check here.

I reinstalled kloxo several times and followed all steps carefully.

(http://s23.postimg.org/nvikuv8s7/capture001.jpg) (http://postimg.org/image/nvikuv8s7/)
Try 'pkill -9 httpd; sh /script/restart-web -y' or reboot.
Title: Re: [INFO] Kloxo-MR 7.0 with Httpd 2.4 in CentOS 6
Post by: MRatWork on 2015-06-22, 14:39:41
Php-type only appear if you select apache or proxy (like nginxproxy) in 'switch programs'.
Title: Re: [INFO] Kloxo-MR 7.0 with Httpd 2.4 in CentOS 6
Post by: MRatWork on 2015-06-22, 14:41:59
Using cloudflare need a trick to make all running well.
Title: Kloxo-MR 7.0 with Httpd 2.4 in CentOS 6
Post by: tinu on 2015-06-22, 14:49:00
It worked. Thank You again sir. You are the best.

Can you please edit your comment and remove my website webmail link from your reply. Thank you. I will edit this and remove these two lines.