sabarishks

Active Member
Jun 29, 2007
35
0
56
Dear All,

Which one is a better solution?

1) Creating custom php.ini and put it under corresponding directory. i.e if I need to add it in domain.com/test, I should add in /home/username/public_html/test

2) You will need to create a file called php.cgi under the public_html directory of the user. The php.cgi must contain the following code in it.

#!/bin/sh
exec /usr/local/cpanel/cgi-sys/php5 -c /home/username/php.ini

Which one is optimal?