• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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