I enabled PHP-FPM in froxlor because it sounded good and then I realised, that I have to do more for it to get it work. No problem, because the hassle with user and group in web and ftp was always bad and so I decided to run the installation as described http://redmine.froxlor.org/projects/froxlor/wiki/FPM_-_handbook
I found, that I didn't get all of it at first time so I deactivated the php_mod after the installation.
Now I worked through the docu many times but I don't get it work. The issue is, that with enabled mpm_worker and fastcgi no php is executed. When I disable it and enable mpm_prefork and php_mod (a2dismod mpm_worker | service apache2 restart | a2enmod php5 mpm_prefork) I can access the froxlor page. Then phpinfo() shows this.
Now I disable mod_php and mpm_prefork and enable mpm_worker again. The Webserver ist now running but it doesn't execute php (for example user.php with <?php system('id'); ?> in it - got this from here).
The next problem is, that I'm always getting on the root-directory /var/www/html - even when I open a customer-url. The configs are:
System-Info: Fresh installed Ubuntu 14.04.2. Installed froxlor from reps with wheezy-parameter (deb http://debian.froxlor.orgwheezy main) because jessie was not availible.
Tryied to install new from scratch (remove with purge)
Please help me, don't know what I can do and don't know where the error is. If you need further information please ask for it!
Question
mosesjohann
Hello guys,
I enabled PHP-FPM in froxlor because it sounded good and then I realised, that I have to do more for it to get it work. No problem, because the hassle with user and group in web and ftp was always bad and so I decided to run the installation as described http://redmine.froxlor.org/projects/froxlor/wiki/FPM_-_handbook
I found, that I didn't get all of it at first time so I deactivated the php_mod after the installation.
Now I worked through the docu many times but I don't get it work. The issue is, that with enabled mpm_worker and fastcgi no php is executed. When I disable it and enable mpm_prefork and php_mod (a2dismod mpm_worker | service apache2 restart | a2enmod php5 mpm_prefork) I can access the froxlor page. Then phpinfo() shows this.
Now I disable mod_php and mpm_prefork and enable mpm_worker again. The Webserver ist now running but it doesn't execute php (for example user.php with <?php system('id'); ?> in it - got this from here).
The next problem is, that I'm always getting on the root-directory /var/www/html - even when I open a customer-url. The configs are:
Test if nscd is working - OK
/etc/apache2/mods-enabled/fastcgi.conf
logs:
Apache-Loglevel set to debug. checked files:
/var/log/syslog
/var/log/php-fpm.log (just writing [19-Apr-2015 10:11:11] NOTICE: configuration file /etc/php5/fpm/php-fpm.conf test is successful)
Interesting but don't know what it wants to say: /var/log/apache2/error.log
files and directories:
ls /etc/apache2/mods-enabled
ls /etc/apaches/sites-enabled
22_froxlor_normal_vhost_wanderritt.net.conf
ls /etc/php5/fpm/pool.d
wanderritt.net.conf
ps -aux - pools running
ls /var/lib/apache2/fastcgi
System-Info: Fresh installed Ubuntu 14.04.2. Installed froxlor from reps with wheezy-parameter (deb http://debian.froxlor.orgwheezy main) because jessie was not availible.
Tryied to install new from scratch (remove with purge)
Please help me, don't know what I can do and don't know where the error is. If you need further information please ask for it!
Thanks
Link to comment
Share on other sites
20 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.