• 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.

Multiple PHP Versions and the correct php.ini

Torsten S.

New Pleskian
Hi,

I've installed and registered different PHP Versions on the server. The documentation works like charm. The Problem is, when I add a new serviceplan oder update an existing one, the wrong php.ini is used as default.

My registered Versions:
id: display name: full version: version: type: cgi-bin: php.ini: custom:
cgi 5.3.3 5.3.3 5.3 cgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini false
cgi54 5.4.18 5.4.18 5.4 cgi /usr/local/php54/bin/php-cgi /usr/local/lib/php54.ini true
cgi55 5.5.1 5.5.1 5.5 cgi /usr/local/php55/bin/php-cgi /usr/local/lib/php55.ini true
fastcgi 5.3.3 5.3.3 5.3 fastcgi /usr/bin/php5-cgi /etc/php5/cgi/php.ini false
fastcgi54 5.4.18 5.4.18 5.4 fastcgi /usr/local/php54/bin/php-cgi /usr/local/lib/php54.ini true
fastcgi55 5.5.1 5.5.1 5.5 fastcgi /usr/local/php55/bin/php-cgi /usr/local/lib/php55.ini true
module 5.3.3 5.3.3 5.3 module /usr/bin/php5-cgi /etc/php5/cgi/php.ini false

So when I change the PHP Version to 5.4 or 5.5 the Panel use the /etc/php5/cgi/php.ini, which conflicts with some settings of the newer PHP versions.
I think the Panel should use the corresponding ini-file from the PHP Version I have selected.
 
Back
Top