Hi
Today I have discovered that is not posible to install PHP based scripts from Virtualmin.
Downloading http://scripts.virtualmin.com:80/wordpress-2.7.zip (1849558 bytes) ..
Received 1024 bytes (0 %)
(...)
Received 1849558 bytes (100 %)
.. download complete.
Configuring Apache PHP settings ..
Failed to install script : Could not find any values in section PHP
I belive that this issue was not present in 3.64 version.
All virtual servers run PHP as fastCGI. The error message says "Could not find any values in section PHP". What "section PHP" is it?
Many virtual servers share a unique php.ini in /etc/php5/cgi/. Some have own php.ini (changing PHPRC value in php wrappers). Scripts installation fails in both.
No one can manage your php.ini, is out of his $HOME. "Services -> PHP5 Configuration" is hidden for all servers admins. I think that might be causing the problem.
Installation for no-PHP scripts (like Movable Type) runs smoothly.
thanks!
Debian 4.0 i686
Virtualmin Pro 3.65
virtual-server-theme 6.6
Comments
Submitted by kenlyle on Wed, 09/15/2010 - 17:59 Comment #6
I just got this on my Centos box. There is no documentation anywhere for this error.
Submitted by andreychek on Wed, 09/15/2010 - 18:06 Comment #7
Howdy -- are you able to see the comments that Jamie posted above for this issue (permissions issues occasionally prevent certain comments from being visible).
If not, the solution he mentioned for this particular issue is:
This error means that Virtualmin is looking for a section in php.ini that starts with [PHP] , into which to add new directives. Does that exist in your php.ini file? It does in all the standard default ones I've seen..
Submitted by kenlyle on Wed, 09/15/2010 - 18:28 Comment #8
Weird. I couldn't see anything from Jamie. Thanks for the cut/paste. Now I have something to go on.
Submitted by nodo50 on Thu, 09/18/2014 - 10:25 Pro Licensee Comment #9