• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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