Tag: suphp

Setup a per-user php.ini to allow open_basedir with suPhp

new way: If you wish to use per-user php.ini files in: /usr/local/directadmin/data/users/username/php/php.ini then you can use this guideto add the code: SetEnv PHP_INI_SCAN_DIR /usr/local/directadmin/data/users/|USER|/php/ to the VirtualHost entires for that domain and it’s subdomains.   This will tell suPhp to look in that path for a php.ini. It’s loaded after […]