• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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