Apache FastCGI display Website not correct
Silvio Siefke
bsd at silviosiefke.de
Tue Mar 1 19:22:14 UTC 2011
Hello,
i use fastcgi with PHP-FPM on Apache 2.2.17. When i go on Website with
FastCGI then the page load not complete.
http://mail.silviosiefke.de/fastcgi_apache.png
When i run with FCGID then the page load complete.
http://mail.silviosiefke.de/fcgid_apache.png
Has someone a idea what is the problem? Thank you.
Regards
Silvio
Some Config Parameters:
<VirtualHost>
SuexecUserGroup "siefke" "siefke"
ServerName silviosiefke.de
DocumentRoot /usr/local/www/vserver/silviosiefke.de/data
ScriptAlias /cgi-bin/ "/usr/local/www/vserver/silviosiefke.de/cgi-bin/"
AddHandler php5-fastcgi .php
FastCgiExternalServer /usr/local/www/vserver/silviosiefke.de/data
-socket /tmp/siefke.socket
<Directory /usr/local/www/vserver/silviosiefke.de/data>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} \/$
RewriteRule ^(.*)$ index.php [L,QSA]
</IfModule>
Options -All +FollowSymLinks +ExecCGI
AllowOverride Options FileInfo AuthConfig Limit
allow from all
AllowOverride All
</Directory>
ErrorLog /usr/local/www/vserver/silviosiefke.de/log/error.log
CustomLog /usr/local/www/vserver/silviosiefke.de/log/access.log combined
</VirtualHost>
# httpd -V
Server version: Apache/2.2.17 (FreeBSD)
Server built: Feb 26 2011 13:17:20
Server's Module Magic Number: 20051115:25
Server loaded: APR 1.4.2, APR-Util 1.3.10
Compiled using: APR 1.4.2, APR-Util 1.3.10
Architecture: 32-bit
Server MPM: Worker
threaded: yes (fixed thread count)
forked: yes (variable process count)
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/worker"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_FLOCK_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=128
-D HTTPD_ROOT="/usr/local"
-D SUEXEC_BIN="/usr/local/sbin/suexec"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="etc/apache22/mime.types"
-D SERVER_CONFIG_FILE="etc/apache22/httpd.conf"
More information about the freebsd-questions
mailing list