• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

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