• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • 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.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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