• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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