• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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