1. goto to 'admin > webserver configure'
2. Install all php in 'multiple php install' until show in 'Multiple PHP Already Installed'
3. Use one 'phpXYm' in 'php used' as 'base php' in 'webserver configure'
4. select 'php-fpm_event' for 'php type' also enable 'Enable PHP 5.2 (use Php52s) As Secondary PHP' (it's wrong description because possible not php 5.2 only)
5. go to 'admin > switch program' and select apache or proxy (like nginxproxy)
6. Restart webserver with 'sh /script/restart-web -y' from ssh or 'admin > command center'
7. Add:
<Ifmodule !mod_php5.c>
AddHandler x-httpd-php52 .php
#AddHandler x-httpd-php .php
</Ifmodule>
in top line of /home/<user>/<domain>/.htaccess (change php52 to php53 if want to use php 5.3)
8. Testing php with create phpinfo.php with content '<?php phpinfo(); ?>'
Note:
- You can see this feature with access to:
http://xl2.mratwork.com/php52/
http://xl2.mratwork.com/php53/
http://xl2.mratwork.com/php54/