View Single Post
  #7 (permalink)  
Old 06-21-2009, 09:33 PM
Spiral's Avatar
Spiral Spiral is offline
Registered User
 
Join Date: Jun 2005
Location: Area 51
Posts: 1,501
Spiral is on a distinguished road
Quote:
Originally Posted by krizag View Post
You can add this by creating a file named php.ini in the document root of the account.
Krizag, you can't say this without knowing how the poster's PHP is configured ...

What you describe is the method to set custom PHP settings for an account
if the PHP on the system is setup as the old phpSuExec.

Under DSO (Apache Module) based DSO, settings could be changed for
an individual site view the main httpd.conf (for restricted settings) or
from a .htaccess file in the users account (for general settings).

Under SuPHP, you would need to add a custom PHP directive to the
user's virtualhost configuration in httpd.conf that points to another PHP.INI
file that you have setup somewhere else on the system.
Reply With Quote