• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

How to force NGINX to use PHP 5.6

P_heck

Basic Pleskian
Hello,

System: Debian Wheezy, Plesk 12.0.18 MU59

Since now, I have used Apache FastCGI and own compiled version of PHP 5.6 (So I can choose in the hosting section between the standard Wheezy 5.4.41 and 5.6).

Now I have updated to NGINX for performance reasons, but this one only uses the PHP version 5.4.41 - the 5.6 version is not listed - but registered in PLESK:

Code:
 /usr/local/psa/bin/php_handler --list
      id:  display name:  full version:  version:    type:                           cgi-bin:  php-cli:                       php.ini:  custom:
    5.6.8          5.6.8          5.6.8       5.6  fastcgi  /usr/local/php566-cgi/bin/php-cgi            /usr/local/php566-cgi/php.ini     true
      cgi         5.4.41         5.4.41       5.4      cgi                  /usr/bin/php5-cgi                    /etc/php5/cgi/php.ini    false
  fastcgi         5.4.41         5.4.41       5.4  fastcgi                  /usr/bin/php5-cgi                    /etc/php5/cgi/php.ini    false
   module         5.4.41         5.4.41       5.4   module                  /usr/bin/php5-cgi                    /etc/php5/cgi/php.ini    false

Searched now for several hours, but no idea how to use PHP 5.6 with NGINX.

Anyone who could help?

Cheers Peter
 
As far as I see you have PHP 5.6 with fastcgi type. In Plesk 12.0 Apache can handle fastcgi with help of mod_fcgid but nginx hasn't this functionality. In upcoming Plesk 12.5 we will implement php-fpm for releasing this feature for nginx. You can try to get it on Plesk 12.5 Preview version.
 
Back
Top