Submitted by cruiskeen on Fri, 08/14/2009 - 11:58
Since I upgraded Virtualmin to 3.71, it seems all of the install scripts (at least those that I've tried - Mediawiki, DokuWIKI, DotProject) fail to install on both of my servers. As soon as you try to install a script it complains about not having the proper version of PHP, or about not being able to figure out what PHP version is on the server (depending on the package being installed). The server has PHP 4.4.8 and 5.2.9 installed - install scripts worked fine the last time I tried them - any clues?
Status:
Closed (works as designed)
Comments
Submitted by JamieCameron on Fri, 08/14/2009 - 12:56 Comment #1
Could you paste the full error message here?
Also, if you go to Limits and Validation -> Validate Virtual Servers and have it check all features of a problem domain, what does it report?
Submitted by cruiskeen on Fri, 08/14/2009 - 13:37 Comment #2
It''s pretty straightforward --- the error message for mediawiki is
This script cannot be installed, as it requires PHP version 5.
Although the front page of virtualmin says that the PHP versions are PHP 4.4.8 and 5.2.9. And this domain is using 5.
When I do the validation on the domain I get this:
wistowns.com Home directory : Sub-directory public_html/drupal under home directory is owned by instead of wistowns
<-
This is true - it's a symlink under the document root that points to a commonly-shared Drupal install that is owned by root - but that's always been that way, and it wasn't a problem before.
Okay - just checked again and now I'm really flummoxed - ONE Of the 2 servers now seems to work just fine - but one of them still has the problem. The only difference I can really see is that the server that is working right is using PHP rpms from the Atomic Rocket Turtle repository, and the one that is broken is using PHP from the Virtualmin-bleed repository
Submitted by JamieCameron on Fri, 08/14/2009 - 14:02 Comment #3
What PHP versions do you see at Server Configuration -> PHP Versions and Server Configuration -> Website Options -> PHP information?
Submitted by cruiskeen on Fri, 08/14/2009 - 14:16 Comment #4
On the server that's still broken (which only has PHP 5 installed) I see ==
Pear modules for PHP 5
Archive_Tar Console_Getopt PEAR Structures_Graph XML_RPC
Is it possible that this only works right if the server has both php4 and php5 installed?
AAh - guess that's not it - I installed PHP4 on the server and it still doesn't work.
Submitted by cruiskeen on Fri, 08/14/2009 - 14:28 Comment #5
AARRGGH - Sorry - I reported this wrong, actually -both of these servers are currently running Virtualmin 3.72, not 3.71
Submitted by JamieCameron on Fri, 08/14/2009 - 15:08 Comment #6
Also, what PHP execution mode do you have set on the Website Options page? It should be fcgid preferably..
Submitted by cruiskeen on Fri, 08/14/2009 - 15:38 Comment #7
yup, using fcgid.
Submitted by cruiskeen on Fri, 08/14/2009 - 15:53 Comment #8
Ah - I'm a dork. I figured it out - it's because of some oddities that I did with the Documentroot on this server because of the dedicated Drupal installs --- If I create a brand new domain that I've not tinkered with, this all works fine - so at this point I'd call this closed, and I'll pay more attention from now on.
Thanks Jamie.
Submitted by JamieCameron on Fri, 08/14/2009 - 16:03 Comment #9
Ok, that could explain it. If the Apache Document block path doesn't match what Virtualmin expects, it won't be able to figure out what PHP version is being used ..