How to enable fastcgi on sun one web server 6.1 SP6
Hi, all
I fail to install fastcgi on sun one web server 6.1 SP6. When i access php page, the following errors are displayed in error log.
[18/Oct/2006:14:08:45] failure (21781): for host x.x.x.x trying to GET /chkwww.php, responder-fastcgi reports: FCGI1062: Stat failure
[18/Oct/2006:14:08:45] failure (21781): for host x.x.x.x trying to GET /chkwww.php, responder-fastcgi reports: FCGI1073: Unable to service the request even after trying 0 times
The following is the environment:
Web Server path: /i03_01/SUNWebSP6
PHP 4.4.2 installation path: /i03_01/php-fcgi
PHP library path: /i03_01/php-lib
PHP configuration: ./configure --prefix=/i03_01/php-fcgi --enable-fastcgi --with-mysql=/i03_01/tmp/mysql-standard-4.1.12-sun-solaris2.8-sparc --enable-mbstring=all --enable-mbregex --enable-exif --with-gd --with-png-dir=/i03_01/php-lib --with-zlib-dir=/i03_01/php-lib --with-jpeg-dir=/i03_01/php-lib --with-t1lib=/i03_01/php-lib --with-freetype-dir=/i03_01/php-lib
libfastcgi.so path: /i03_01/SUNWebSP6/bin
The following is my configuration:
In mime.types, add this line at the bottom:
type=magnus-internal/fastcgi exts=php,php3,php4
In magnus.conf, add this line at the bottom:
Init fn=load-modules shlib="/i03_01/SUNWebSP6/bin/libfastcgi.so"
In obj.conf, add these lines at the top.
<Object name="default">
Service type="magnus-internal/fastcgi"
fn="responder-fastcgi"
app-path="/i03_01/php-fcgi/bin/php"
min-procs="1"
app-env="PHP_FCGI_CHILDREN=1"
app-env="PHP_FCGI_MAX_REQUEST=200"
app-env="PHPRC=/i03_01/SUNWebSP6/https-www/config"
.
.
.
.
</Object>
Anyone can help me? Thanks.
Message was edited by:
polyuitjerry

