Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
cpanel:custom-php-ini-fastcgi [2010-10-08 00:16:30] garrett.plasky created |
cpanel:custom-php-ini-fastcgi [2010-10-08 00:17:28] garrett.plasky Approved |
||
---|---|---|---|
Line 14: | Line 14: | ||
# chown user:user php.ini</ | # chown user:user php.ini</ | ||
- | NExt we need to create the wrapper script. Create a file in your current directory (cgi-bin) called | + | Next we need to create the wrapper script. Create a file in your current directory (cgi-bin) called |
- | <code bash># | + | <sxh bash># |
export PHP_FCGI_CHILDREN=1 | export PHP_FCGI_CHILDREN=1 | ||
export PHP_FCGI_MAX_REQUESTS=10 | export PHP_FCGI_MAX_REQUESTS=10 | ||
- | exec / | + | exec / |
Finally, make sure the ownership and permissions are correct on this file: | Finally, make sure the ownership and permissions are correct on this file: |