• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Plesk 12.5 PHP5.3.29 mod_php

Frenzel

New Pleskian
For an application that can't be upgraded yet I need to run PHP 5.3 under mod_php. Now Plesk can run mod_php for 5.4 and Plesk can run PHP5.3.

My question is: I do not need mod_php for something other then PHP 5.3.29. And yes I do understand I should upgrade/fix the software, but I can't at the moment.

Anyone any help?
 
Could you please tell me why you can't use mod_php for PHP5.3 like this:

Снимок экрана 2016-03-17 в 12.40.43.png
 
Yesss that is what I want to see but I do not have this option. Only PHP 5.4 has the Apache module served by Apache option.... So how did you do this magic? Please learn me and I will forever be grateful!
 
It is test Plesk server with default installation on CentOS 6.7.
I see this module in output:

[root@ppu12-5 ~]# plesk bin php_handler --list

id: display name: full version: version: type: cgi-bin: php-cli: php.ini: custom: status:
cgi 5.3.3 by OS vendor 5.3.3 5.3 cgi /usr/bin/php-cgi /usr/bin/php /etc/php.ini false enabled
fastcgi 5.3.3 by OS vendor 5.3.3 5.3 fastcgi /usr/bin/php-cgi /usr/bin/php /etc/php.ini false enabled
fpm 5.3.3 by OS vendor 5.3.3 5.3 fpm /usr/sbin/php-fpm /usr/bin/php /etc/php.ini false enabled
module 5.3.3 by OS vendor 5.3.3 5.3 module /usr/bin/php-cgi /usr/bin/php /etc/php.ini false enabled

Check output of this command on your server.
 
CentOS Linux release 7.2.1511 (Core)

plesk bin php_handler --list
id: display name: full version: version: type: cgi-bin: php-cli: php.ini: custom: status:
cgi 5.4.16 by OS vendor 5.4.16 5.4 cgi /usr/bin/php-cgi /usr/bin/php /etc/php.ini false disabled
fastcgi 5.4.16 by OS vendor 5.4.16 5.4 fastcgi /usr/bin/php-cgi /usr/bin/php /etc/php.ini false disabled
fpm 5.4.16 by OS vendor 5.4.16 5.4 fpm /usr/sbin/php-fpm /usr/bin/php /etc/php.ini false enabled
module 5.4.16 by OS vendor 5.4.16 5.4 module /usr/bin/php-cgi /usr/bin/php /etc/php.ini false enabled
plesk-php53-cgi 5.3.29 5.3.29 5.3 cgi /opt/plesk/php/5.3/bin/php-cgi /opt/plesk/php/5.3/bin/php /opt/plesk/php/5.3/etc/php.ini true enabled
plesk-php53-fastcgi 5.3.29 5.3.29 5.3 fastcgi /opt/plesk/php/5.3/bin/php-cgi /opt/plesk/php/5.3/bin/php /opt/plesk/php/5.3/etc/php.ini true enabled
plesk-php56-cgi 5.6.19 5.6.19 5.6 cgi /opt/plesk/php/5.6/bin/php-cgi /opt/plesk/php/5.6/bin/php /opt/plesk/php/5.6/etc/php.ini true disabled
plesk-php56-fastcgi 5.6.19 5.6.19 5.6 fastcgi /opt/plesk/php/5.6/bin/php-cgi /opt/plesk/php/5.6/bin/php /opt/plesk/php/5.6/etc/php.ini true enabled
plesk-php56-fpm 5.6.19 5.6.19 5.6 fpm /opt/plesk/php/5.6/sbin/php-fpm /opt/plesk/php/5.6/bin/php /opt/plesk/php/5.6/etc/php.ini true enabled
plesk-php70-cgi 7.0.4 7.0.4 7.0 cgi /opt/plesk/php/7.0/bin/php-cgi /opt/plesk/php/7.0/bin/php /opt/plesk/php/7.0/etc/php.ini true disabled
plesk-php70-fastcgi 7.0.4 7.0.4 7.0 fastcgi /opt/plesk/php/7.0/bin/php-cgi /opt/plesk/php/7.0/bin/php /opt/plesk/php/7.0/etc/php.ini true disabled
plesk-php70-fpm 7.0.4 7.0.4 7.0 fpm /opt/plesk/php/7.0/sbin/php-fpm /opt/plesk/php/7.0/bin/php /opt/plesk/php/7.0/etc/php.ini true disabled
 
module 5.4.16 by OS vendor 5.4.16 5.4 module /usr/bin/php-cgi /usr/bin/php /etc/php.ini false enabled
Looks like that you have installed PHP5.4 from your OS vendor repository. PHP nodule can be only one in system.
 
Maybe downgrade of oS vendor php will help, but I do not understand why your webapplication can't work with mod_php 5.4?
 
Again, the application doesn't run at the moment on higher then 5.3. I can't change that right now.

What do you mean with downgrade the OS Vendor PHP? So install PHP 5.3 from CentOS? And then it will work? Is the Apache module on PHP 5.4 because CentOS is doing this?
 
Yes, you have installed PHP5.4 from CentOS. Downgrade to PHP5.3 is not the trivial procedure, but you can try, at least, if it is critical for your application.
 
Back
Top