Open kintaro1981 opened 6 years ago
it is related to this: https://www.virtualmin.com/node/53457
I temporarily solved downgrading from 2.3 to 2.2:
apt-get install webmin-virtualmin-nginx=2.2
I have the same problem. We will wait for the answer
Does the php
or php5
command exist on your system? If you didn't install the php-cgi
package, it may not.
In my case php and php5 command exist.
:~$ php5 -v
PHP 5.6.33-0+deb8u1 (cli) (built: Jan 5 2018 15:46:26)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
Just tested this on a fully updated CentOS 6 system, with no problems.
Is everyone who's seeing this bug using Debian or Ubuntu?
I’m on Debian 8 (with nginx 1.10.3)
Take a look here too: https://www.virtualmin.com/node/53457
:~$ php -v PHP 5.6.30-0+deb8u1 (cli) (built: Feb 8 2017 08:50:21) Copyright (c) 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
Debian Linux 8 Linux 3.16.0-4-amd64 on x86_64 Intel(R) Xeon(R) CPU E5620 @ 2.40GHz, 2 cores Webmin version | 1.870 Virtualmin version | 6.02 Nginx version 1.6.2
I just tested on a freshly installed and fully update Debian 8 system with PHP 7.1, and was able to switch to and from FPM mode just fine.
Which PHP version is everyone using?
As said in the OP of this issue I have php 5.6.33
Take a look also at the link to the VM forum I provided.
Also tested this with just PHP 5.6.33 installed, and I was able to switch PHP modes just fine.
other people have the same problem (see the forum link), maybe they can give you more info about this
downgrading from webmin-virtualmin-nginx=2.3 to webmin-virtualmin-nginx=2.2 solved my problem
I didn't check differences between 2.2 and 2.3 (here on github there's no 2.3, right?).
Same problem Ubuntu 14.04 LTS, Package name webmin-virtualmin-nginx Update system APT Package description Webmin module for 'Nginx Webserver' Current state Running latest 2.3 Installed version 2.3 Available version 2.3
after creating new domain zamanis.gr
Creating administration group myzamanisgrus3r- .. .. done Creating administration user myzamanisgrus3r- .. .. done
Creating aliases for administration user .. .. done
Adding administration user to groups .. .. done
Creating home directory .. .. done
Creating mailbox for administration user .. .. done
Creating Nginx virtual host .. .. done
Starting PHP FastCGI server .. .. Nginx website failed! : virtualmin-nginx::feature_setup failed : virtualmin-nginx::feature_save_web_php_mode failed : No PHP command found! at ../web-lib-funcs.pl line 1445.
Setting up log file rotation .. .. no logging directive found in webserver configuration!
Creating MySQL login .. .. done
Creating MySQL database myzamanisgrus3r_ .. .. done
Creating Webmin user .. .. done
Applying Nginx configuration .. .. done
Re-loading Webmin .. .. done
Saving server details .. .. done
in site enabled and available directories the conf files are zamanis.gr.conf Nginx version 1.4.6
@pzamanis - does the command php
or php5
exist anywhere on your system?
@jcameron do you need more info from me? I would like to help to fix that. It seams that all the other people are not very active here on GitHub and on VM's forum.
@kintaro1981 - any chance I could login to your system to see what's going on here?
@jcameron i am sorry for the delay ,
i do not understand the question, where should i look (if you need credentials to my server i ll be happy to give you)
You can send me login credentials at jcameron@virtualmin.com , and I'll take a look.
I have an inverse problem ... After some third party installations, or rather, almost installations since I canceled when I looked it was going to uninstall Virtualmin ... And I started having problems with my servers ...
Like I said, my problem is the opposite. The CGI option appears but others like php-FPM and others do not appear ... I uninstalled PHP 5.6, 7.0, 7.1, 7.2 and 7.3 all of them ... CLI, FPM CGI and their extensions ... And I installed again ... I did Reboot on services and server ... Several times, but did not get results.
I tried apt-get install webmin-virtualmin-nginx = 2.2 but says it's in version 2.5
@jcameron I do not understand, you want the server login, for you to verify?
Any solution?
Debian 8 php 5.6.33 phpfpm Virtualmin 6 (upgraded from 5.99)
If I try to change the php execution mode from PHPFPM to FCGId I got a:
I suspect that the problem came up after the upgrade from 5.99 to 6. (I've done it updating the ATP repository).