Create a folder named suphpconfig inside your home directory i.e. /home/cpanelusername and add the desired functions with On on Off to a file named php.ini inside /home/cpanelusername/suphpconfig
root@server61 [/home/cpanelusername/suphpconfig]# cat php.ini
enable_dl = On
safe_mode = Off
Next create a .htaccess ( if it does not exist) inside public_html and add the line :
suPHP_ConfigPath /home/cpanelusername/suphpconfig
Here is an example:
root@server61 [/home/cpanelusername/suphpconfig]# cat /home/cpanelusername/public_html/.htaccess
suPHP_ConfigPath /home/cpanelusername/suphpconfig
root@server61 [/home/cpanelusername/suphpconfig]#
- 2 Users Found This Useful
相關文章
Powered by WHMCompleteSolution