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

PHP.ini files for Domains are not used

karadayi

Basic Pleskian
After an Upgrade to Plesk 12 the php.ini Files directory for the Domains has been changed.

At Plesk 11 it was
/var/www/vhost/domain.com/etc/php.ini

at Plesk 12 is now
/var/www/vhost/system/domain.com/etc/php.ini

Thats not the main Problem. My Problem is that those php.ini file is not used by the domain.
A call with <?php phpinfo ?> shows me that only this php.ini file is used for all domains:

Build Date Apr 17 2015 15:14:51
Server API FPM/FastCGI
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php5/fpm
Loaded Configuration File /etc/php5/fpm/php.ini
Scan this dir for additional .ini files /etc/php5/fpm/conf.d


How can I set that each Domain has it own php.ini file again?

Changes made on /etc/php5/fpm/php.ini does not effect the Domain after apache is restarted.

I have also installed NGINX and using it to process PHP Files.
 
I found out that if you use Nginx with Apache and you do changes at at php.ini Files than you need to run this command service php5-fpm restart
 
Back
Top