• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Plesk is using /etc/php.ini

MiguelG

Basic Pleskian
I've double checked here: http://kb.parallels.com/es/111697 to be sure, but as far as i know Plesk was always using a custom php.ini for each domain. Now i've discovered using php -i that it's using the one located into the etc folder. why? how can i fix this? why is plesk using that php.ini? is that normal?

I'm using Plesk 10.4.4
 
Hi MiguelG,

How do you use php?

1) Is it from a web server using cgi / mod_php / FastCGI ?
2) Is it from a server's command line (crontab) ?
 
Hi MiguelG,

PHP loads additional configuration files from /etc/php.d folder.
As example, /etc/php.d/00-ioncube-loader.ini. These ini files are configs for PHP extensions.

You can check which PHP ini files are loaded into a website's php environment using a web page with PHP extension (like test.php) and following content:
<?php phpinfo() ?>

You should create the web page file above. Then you should open this web page in a web browser and then look for:
"Loaded Configuration File" and "Additional .ini files parsed"
 
Back
Top