View Single Post
Old May 28th, 2008, 12:59 AM   #2 (permalink)
Samatva
Registered User
Seasoned Poster
 
Joined in Aug 2004
61 posts
Gave thanks: 5
Thanked 1 Time in 1 Post
You can place a file called "php.ini" in the root folder of your site (public_html) or you can place a file called ".htaccess" in the highest folder of the section of the site you want to affect.

php.ini is the preferred way, .htaccess is limited under suexec - see PHP SuExec Explained (previously posted)

Also see the "PHPsuexec" section of https://desk.surpasshosting.com/inde...barticleid=176

Also:
for php.ini
PHP: Runtime Configuration - Manual
PHP: Description of core php.ini directives - Manual

for .htaccess
PHP: How to change configuration settings - Manual (is written for Apache module configurations, some of this applies to suExec installs...)

Last edited by Samatva; May 28th, 2008 at 1:04 AM..
Samatva is offline   Reply With Quote
This user thanks Samatva for this great post!
vraa (May 28th, 2008)