Dear Users,
I am facing strange problem regarding (php value auto_prepend_file) with
mod_fcgid. through .htaccess This is the error
[Fri Aug 27 18:12:50 2010] [error] [client 119.158.109.31] PHP Warning:
Unknown: failed to open stream: No such file or directory in Unknown on line
0
[Fri Aug 27 18:12:50 2010] [error] [client 119.158.109.31] Unknown(0) :
Warning - Unknown: failed to open stream: No such file or directory
[Fri Aug 27 18:12:50 2010] [error] [client 119.158.109.31] PHP Fatal error:
Unknown: Failed opening required 'server.php
[Fri Aug 27 18:12:50 2010] [error] [client 119.158.109.31] '
(include_path='.:/usr/local/www/include') in Unknown on line 0
[Fri Aug 27 18:12:50 2010] [error] [client 119.158.109.31] Unknown(0) :
Fatal error - Unknown: Failed opening required 'server.php
[Fri Aug 27 18:12:50 2010] [error] [client 119.158.109.31] '
(include_path='.:/usr/local/www/include')
*
server.php files is available in /usr/local/www/include/*
I am using htscanner for .htacess files for php_modfcgid
*here is .htacess file*
<IfModule Mod_php.c>
php_value auto_prepend_file server.php
</IfModule>
Here is my virtualhost setting
<VirtualHost *:80>
ServerAdmin u...@example.org
DocumentRoot "/usr/local/www/mydata"
ServerName lime.example.org
ErrorLog "/var/log/apache/lime-error_log"
CustomLog "/var/log/apache/lime-access_log" common
</VirtualHost>
*here is the php-cgi
*
#!/bin/sh
PHP_CGI=/usr/local/bin/php-cgi
PHP_FCGI_CHILDREN=16
PHP_FCGI_MAX_REQUESTS=1000
export PHP_FCGI_CHILDREN
export PHP_FCGI_MAX_REQUESTS
exec $PHP_CGI
*this is php.conf under /usr/local/apache/Include/
*
AddHandler php5-fastcgi .php
Action php5-fastcgi /cgi-bin/php.fcgi
DirectoryIndex index.php
**
would you please help how i can solve this issue because this is working
through mod_php
Regards,
Umar
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users
worldwide. Take advantage of special opportunities to increase revenue and
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users