[HELP!]
FastCGI: incomplete headers (0 bytes) & failed to connect to server !!! @ every php-File!
Hi Guys,
i'm really confused. Have a new Ubuntu Server 14.04 minimal installation with 1.1.5 in production and
it should have been ready yesterday.
At first imscp didn't run until installing php5-mcrypt from ppa:ondrej/php5
[OT] and i had a 5s delay at boot with Error "Diskfilter Writes are not supported" that i could
get wordarounded by setting grub's quickboot to zero:
sed -i 's/^\(quick_boot\s*=\s*\).*$/\1"0"/' /etc/grub.d/10_linux
ATM imscp is working properly but php is makes me going crazy,
+ it's also an APACHE_PHP_FPM Setup,
+ php.ini is defined per Site.
Every php-Script, browsed by http as well as https, brings out the Internal Server Error 500.
/var/log/apache2/tld/error.log shows always the same shit:
- (2)No such file or directory: FastCGI: failed to connect to server "/var/lib/apache2/fastcgi/php5-fcgi-TLD": connect() failedFastCGI: incomplete headers (0 bytes) received from server "/var/lib/apache2/fastcgi/php5-fcgi-TLD"
The outcome of php -m
- [PHP Modules]bcmathbz2calendarCorectypedatedbadomeregexiffileinfofilterftpgdgettexthashiconvimapintljsonlibxmlmbstringmcryptmhashmysqlmysqlimysqlndopensslpcntlpcrePDOpdo_mysqlPharposixreadlineReflectionsessionshmopSimpleXMLsoapsocketsSPLstandardsysvmsgsysvsemsysvshmtokenizerwddxxmlxmlreaderxmlwriterZend OPcachezipzlib[Zend Modules]Zend OPcache
The Apache-Config of Site:
- <VirtualHost IP:80>
- ServerAdmin webmaster@TLD
- ServerName TLD
- ServerAlias www.TLD vu2005.IMSCP-SRV-DOMAIN
- DocumentRoot /var/www/virtual/TLD/htdocs
- LogLevel error
- ErrorLog /var/log/apache2/TLD/error.log
- Alias /errors /var/www/virtual/TLD/errors/
- # SECTION suexec BEGIN.
- SuexecUserGroup vu2005 vu2005
- # SECTION suexec END.
- # SECTION php_enabled BEGIN.
- # SECTION php_fpm BEGIN.
- Alias /php5-fcgi /var/lib/apache2/fastcgi/php5-fcgi-TLD
- FastCGIExternalServer /var/lib/apache2/fastcgi/php5-fcgi-TLD \
- -socket /var/run/php5-fpm-TLD.socket \
- -idle-timeout 300 \
- -pass-header Authorization
- # SECTION php_fpm END.
- # SECTION php_enabled END.
- <Directory /var/www/virtual/TLD/htdocs>
- Options +FollowSymlinks
- # SECTION php_enabled BEGIN.
- AllowOverride All
- # SECTION php_enabled END.
- Require all granted
- </Directory>
- # SECTION cgi_support BEGIN.
- ScriptAlias /cgi-bin/ /var/www/virtual/TLD/cgi-bin/
- <Directory /var/www/virtual/TLD/cgi-bin>
- AllowOverride AuthConfig Indexes Limit Options=Indexes
- Require all granted
- </Directory>
- # SECTION cgi_support BEGIN.
- ScriptAlias /cgi-bin/ /var/www/virtual/TLD/cgi-bin/
- <Directory /var/www/virtual/TLD/cgi-bin>
- AllowOverride AuthConfig Indexes Limit Options=Indexes
- Require all granted
- </Directory>
- # SECTION cgi_support END.
- # SECTION addons BEGIN.
- ProxyRequests Off
- ProxyPass /stats http://localhost/stats/TLD
- ProxyPassReverse /stats http://localhost/stats/TLD
- <Location /stats>
- RewriteEngine on
- RewriteRule ^(.+)?config=([^?&]+)(.*) $1?config=TLD&$3 [NC,L]
- AuthType Basic
- AuthName "Statistics for domain TLD"
- AuthUserFile /var/www/virtual/TLD/.htpasswd
- AuthGroupFile /var/www/virtual/TLD/.htgroup
- Require group statistics
- </Location>
- # SECTION addons END.
- </VirtualHost>
Display More
Please Help....