• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Custom php.ini for domains

wdriver

Basic Pleskian
Hi,

I have a client requesting a custom php.ini for his individual domains. I have read at http://kb.odin.com/1770 that this appears impossible for PHP 5. Has anybody done it?, or is there a suitable workaround that wouldn't get overwritten with PSA updates?

Thanks,
Wayne.
 
Hi Igor,
On my last reply i hadn't actually tested the information supplied. I was hoping you could continue to assist a bit further?, as i haven't had any success.

Server is PSA 9.3.0 for Windows running IIS 7.0
Domain is running PHP 5.2.6, FastCGI

I have setup a php.ini file in the domains httpdocs directory (c:\inetpub\vhosts\{domain}\httpdocs)
It's simple content (for testing purposes) is:

<IfModule mod_php5.c>
php_admin_flag safe_mode on
</IfModule>

I have setup a webpage to display the phpinfo(); to notice if the change has occured.

After saving the custom php.ini file i have restarted the 'World Wide Web Publishing Service', (not sure if this is required but have done so anyway).

If you could possibly let me know what i am missing that would be very helpful. Thank you in advance :)

Wayne.
 
Please click one of the Quick Reply icons in the posts above to activate Quick Reply.
 
Back
Top