There was a problem loading the comments.

How to get your php.ini path with SuPHP

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

.htaccess code

Edit your public_html/.htaccess file and enter the appropriate code on a new line.

Do NOT refer to the file name. Rather, refer to the directory where the file exists.

E.g. If you want to use "/home/username/www/folder/php.ini", type:

<IfModule mod_suphp.c>
suPHP_ConfigPath /home/username/www/folder
<Files php.ini>
order allow,deny
deny from all
</Files>
</IfModule>

Save your .htaccess file and enjoy.

If you don't use this option, PHP will use its default path.


Share via
Did you find this article useful?  

Related Articles


Comments

Add Comment

Replying to  

CAPTCHA
© Osirion System Technologies