Dual php in DSO


In suphp,it is easy to install dual php,but it is bit difficult in dso.

At first,Need to compile the dual php,please follow the below link: http://servermanagement24x7.com/how-to-configure-dual-php-or-two-versions-of-php-on-a-linux-cpanel-server.html

1. We need to enable/install suphp module in apache via easyapche or manually.

2. Add the suphp module in php.conf,

After the DSO module entry,add the entry as below.


LoadModule suphp_module modules/mod_suphp.so
suPHP_Engine on
<Directory />
    suPHP_AddHandler application/x-httpd-php53---->for php5.3
</Directory>

3. Set Userid for suphp binary file.

chmod u+s /opt/suphp/sbin/suphp


That's all.

Comments

Popular posts from this blog

KVM & Qemu

PHP Fatal error: Class 'JFactory' not found

docker.errors.APIError: 400 Client Error client is newer than server