• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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