• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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