• 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.

Site Specific php.ini files

J

jadent

Guest
I would each site to be able to specify settings like include_path, etc similiar to how you can do this with .htaccess with Apache. I have seen shared hosts do this on IIS using multiple php.ini files and each directory of the website can have one which settings override its parent.

Does anyone know how to accomplish this? Thanks
 
I would each site to be able to specify settings like include_path, etc similiar to how you can do this with .htaccess with Apache. I have seen shared hosts do this on IIS using multiple php.ini files and each directory of the website can have one which settings override its parent.

Does anyone know how to accomplish this? Thanks

Or you'd also want to use the Windows registry to setup such PHP configurations for individual sites:

The path in registry = HKEY_LOCAL_MACHINE\SOFTWARE\PHP\Per Directory Values\X\Inetpub\Vhosts\xyz.com
Where X = Drive on which the websites are & xyz.com is the name of the website.

Make sure you have the backup of your registry prior to making any changes to it, else it'd cause serious consequences :)
 
Thanks but that will not allow the sites users to make modifications to include_path and other settings. It appears like this is not possible out of the box with Plesk & PHP 5
 
Back
Top