Submitted by info0 on Wed, 09/19/2012 - 11:12
When trying to install a script or package I always get the following error, this one is for phpmyadmin:
Failed to install script : Could not find PHP version for /usr/home/www/*******/public_html/phpmyadmin
Call Stack Trace
File Line Function /usr/local/lib/webmin-1.590/virtual-server/scripts-lib.pl 858 WebminCore::error /usr/local/lib/webmin-1.590/virtual-server/script_install.cgi 124 virtual_server::setup_php_version (eval 43) 6 (eval) /usr/local/lib/webmin-1.590/miniserv.pl 2311 (eval) /usr/local/lib/webmin-1.590/miniserv.pl 907 miniserv::handle_request
Any ideas what might be wrong here?
Status:
Active
Comments
Submitted by JamieCameron on Wed, 09/19/2012 - 13:01 Comment #1
Could be an error with your Apache configuration.
If you SSH into the system as root and run :
virtualmin validate-domains --domain whatever.com --all-features
what does it output?
Submitted by info0 on Thu, 09/20/2012 - 03:13 Comment #2
Apache website : No Apache virtual host for ****.com found
Submitted by JamieCameron on Thu, 09/20/2012 - 11:21 Comment #3
If you open your Apache config file , does a <virtualhost> block for the domain exist?
Submitted by info0 on Sun, 09/23/2012 - 05:56 Comment #4
yes it exists for all sites in a block
Submitted by JamieCameron on Sun, 09/23/2012 - 12:21 Comment #5
Could you post that virtualhost block here?
Submitted by info0 on Thu, 09/27/2012 - 23:48 Comment #6
RPAFenable On
RPAFsethostname On
RPAFproxy_ips ***.***.***.*** ***.***.***.*** 127.0.0.1
RPAFheader X-Forwarded-For
Include etc/apache22/Includes/*.conf
NameVirtualHost *:8080
<VirtualHost *:8080>
DocumentRoot /usr/home/www/*********/public_html
ServerName www.*********.com
ServerAlias *********.com
DirectoryIndex index.php
CustomLog /var/log/www/*********-access_log common
ErrorLog /var/log/www/*********-error_log
<Directory "/usr/home/www/*********/public_html">
allow from all
order allow,deny
AllowOverride All
</Directory>
</VirtualHost>
Submitted by JamieCameron on Fri, 09/28/2012 - 00:17 Comment #7
Interesting that it is on port 8080 .. did you make that change in Virtualmin? If not, Virtualmin won't know that the website is on a different port, and so won't be able to find the virtualhost block.
You can set the port at Server Configuration -> Change IP Address.