Der Cronjob hat meines Erachtens alles korrekt erstellt, apache und php-fpm starten ohne Fehler durch und laufen, nur werden keine PHP Files mehr als solche ausgef?hrt. Sprich entweder kommt ein leeres Fenster oder sinnloser Text. Die Option, dass Froxlor via php-fpm laufen soll, habe ich ebenfalls aktiviert.
# 10_froxlor_ipandport_192.168.218.129.80.conf
# Created 03.12.2013 12:10
# Do NOT manually edit this file, all changes will be deleted after the next domain change at the panel.
NameVirtualHost 192.168.218.129:80
<VirtualHost 192.168.218.129:80>
DocumentRoot "/var/www/"
ServerName froxlor.chileo.ch
FastCgiExternalServer /var/www/php-fpm/froxlor.panel/froxlor.chileo.ch/382c.fpm.external -socket /var/run/apache2/froxlor.panel-froxlor.chileo.ch-php-fpm.socket -idle-timeout 30
<Directory "/var/www/">
<FilesMatch "\.(php)$">
AddHandler php5-fastcgi .php
Action php5-fastcgi /fastcgiphp
Options +ExecCGI
</FilesMatch>
Order allow,deny
allow from all
</Directory>
Alias /fastcgiphp /var/www/php-fpm/froxlor.panel/froxlor.chileo.ch/382c.fpm.external
</VirtualHost>
/etc/apache2/mods-available/fastcgi.conf
<IfModule mod_fastcgi.c>
FastCgiIpcDir /var/lib/apache2/fastcgi
<Location "/fastcgiphp">
Order Deny,Allow
Deny from All
# Prevent accessing this path directly
Allow from env=REDIRECT_STATUS
</Location>
</IfModule>
Auszug aus den Logfiles beim restarten von apache2 und php-fpm:
[Tue Dec 03 12:10:41 2013] [notice] SIGUSR1 received. Doing graceful restart
[Tue Dec 03 12:10:41 2013] [notice] FastCGI: process manager initialized (pid 11319)
[Tue Dec 03 12:10:41 2013] [notice] Apache/2.2.22 (Debian) mod_fastcgi/mod_fastcgi-SNAP-0910052141 configured -- resuming normal operations
Question
Kilrathy
Hallo zusammen
habe hier ein frisches Debian 7 mit einer v?llig neuen Froxlor Installation. Soweit hat auch alles geklappt, bis zum Moment wo ich auf php-fpm umgestellt habe. Hierzu habe ich mich u.a. an diese Anleitung im Wiki gehalten (http://redmine.froxlor.org/projects/froxlor/wiki/FPM_-_handbook#4-Setting-up-fastcgi).
Der Cronjob hat meines Erachtens alles korrekt erstellt, apache und php-fpm starten ohne Fehler durch und laufen, nur werden keine PHP Files mehr als solche ausgef?hrt. Sprich entweder kommt ein leeres Fenster oder sinnloser Text. Die Option, dass Froxlor via php-fpm laufen soll, habe ich ebenfalls aktiviert.
Die Files auf meinem Demosystem:
/etc/apache2/vhosts.conf.d/10_froxlor_ipandport_192.168.218.129.80.conf
/etc/apache2/mods-available/fastcgi.conf
Auszug aus den Logfiles beim restarten von apache2 und php-fpm:
Die Prozessliste mit apache2 und fcgi/php-fpm
Einer eine Idee, wieso die PHP Files nicht geparsed werden?
Gruss
Kilrathy
Link to comment
Share on other sites
11 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.