Change php directives with suPHP

You need to create 2 files in public_html of website where suPHP is enabled. A .htaccess specifying path to php.ini configuration and a php.ini with directives.
You can change php settings and load extensions from a central php.ini for all site folders.

 

Example for account “account-name”. Make sure you update that in .htaccess content:

.htaccess

suPHP_ConfigPath /home/[account-name]/public_html

 

php.ini

register_globals = Off
extension=pdo.so

extension=pdo_sqlite.so
extension=sqlite.so
extension=pdo_mysql.so
extension=geoip.so

My Review

Review Form...

Reviews

Loading Reviews...