Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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:16]
garrett.plasky Approved
Line 14: Line 14:
 # chown user:user php.ini</code> # chown user:user php.ini</code>
  
-NExt we need to create the wrapper script. Create a file in your current directory (cgi-bin) called  <c>php5.fcgi</c> as defined above and add the following:+Next we need to create the wrapper script. Create a file in your current directory (cgi-bin) called  <c>php5.fcgi</c> as defined above and add the following:
  
-<code bash>#!/bin/sh+<sxh bash>#!/bin/sh
 export PHP_FCGI_CHILDREN=1 export PHP_FCGI_CHILDREN=1
 export PHP_FCGI_MAX_REQUESTS=10 export PHP_FCGI_MAX_REQUESTS=10