These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for install scripts on the new forum.
Hello
One of the reasons I upgraded to VM pro for was to benefit from the install scripts that install the various available applications automatically. Rather than me trying to install manually and messing things up!
On my first attempt to use one and install phpnuke 8.0 I find that I am not able to :( and get this msg when trying to install.
This script cannot be installed, as it requires PHP version 4.From what I understand from the phpnuke site it requires
PHP version 4.1.x or better (mod_php) Apache module.I thought that VM was using PHP5, am I missing something?
Thanks in advance for any help that can be offered.
Will
I think this would be useful also, both for admins and domain owners. It would give them an easy path to the script docs, FAQs, support forums, etc., at least for those scripts that have good web sites.
I second that emotion;
VM is so powerful with so many enhancements it would be helpful to find out what is script is for and get to it's origination. It's fairly arbitrary to install a script to find out what it is and what it does and whether you want to keep it around.
;-)
Howdy,
Virtualmin can make use of both PHP4 and PHP5.
One or the other may be installed by default by your distribution, but if your distro doesn't provide both, you can find the other in the Virtualmin software repository (assuming you're using a supported distro).
You're using Virtualmin Pro, so once you install PHP4, you'll actually find it really easy to switch between both depending on what your site requires -- when going into Server Configuration -> PHP Versions, you can choose what version to use by default for any given domain or directory within that domain.
-Eric
No errors in the httpd error_log and I get the following when I try tor reinstall Nuke 8.0
Found http://phpnuke.org:80/files/PHP-Nuke-8.0.zip in cache ..
PHP module mysql is required ..
Module is not available even after installation!
The module does not show installed and it will not install because of the missing module. Can you suggest other logs involved in the script install that would shine more light on what specific module is missing. I will open a bug report with a little more info on my side because I am worried to open a ticket with not enough info and have it closed prematurely.
Damien
So, you did install PHP4, but just to verify, is the PHP4 MySQL module installed as well?
What all does this show:
rpm -qa | grep php4
If you don't see MySQL in that output, you might just need to:
yum install php4-mysql
Yes I did install php4 and it does show up as an option in server configuration. I see phpnuke with a version 4 callout under php versions but as stated before it tells me there is a missing module of some kind.
Do you know what error log I can tail to see the exact missing php mysql module?
Damien
Correct Mysql login is enabled. I made no changes turning off or on anything in the domain creation that did not come as default.
Damien
Hello
I have installed php4 using [code:1]yum install php4[/code:1] and saw that the vm repositories were used and I now have the PHP version link under server configuration :)
I have set it to 4 and tried again, I get a bit further this time in that the script install options window is now shown. But when I click install now I get this <div class='quote'>PHP module mysql is required ..
Module is not available even after installation!</div>
I tried installing php4-mysql but that comes back saying nothing to do?
How can I get this to work
Thanks
Will
Hey Will,
I'm going to take a stab at your distro here -- are you running CentOS 5.x?
Assuming it's something along those lines, lets verify that you have the PHP4 MySQL module installed. You can do that with:
rpm -qa | grep php4-mysql
Does that return a match?
Also, for my own amusement -- this shouldn't be related at all (in theory!), could you run this too (this tells us if the PHP5 MySQL module is installed):
rpm -qa | grep php-mysql
And then, we'll work from there :-) Thanks!
-Eric
Did you rename all instances - try to find string "wordpress" in your plogger.pl file and check that you got right catetgory and right name in functions you have written (or changed). Myself I am doing scripts by batch substitution of "wordpress" to "plogger" and than check install process and modifie it to fit new OS software. Or you attache your script here and I will check it for you. ;o)
Hi Eric
I cant run the commands until I get home.
Yes it is a Centos box its running in the Amazon EC2 coloud its the paid for VM Pro AMI
I will post back as soon as I get home and run the commands
Thanks
Will
Ok when I ran [code:1]rpm -qa | grep php4-mysql[/code:1] I got php4-mysql-4.4.8-1vm
and when I ran [code:1]rpm -qa | grep php-mysql[/code:1] I got php-mysql-5.1.6-15.e15
I hope this means something to you :)
Cheers
Will
Hello
I still cant get PHP nuke to install from the install scripts :(
I have also tried the PHPmyadmin install scrip and it says the same
<div class='quote'>PHP module mysql is required ..
Module is not available even after installation!</div>
Hi Will,
Yeah, I'm not sure what that is.
It sounds like you have a good CentOS install, and you have both PHP4 and PHP5, along with the related MySQL modules.
I think I might recommend filing a bug so Jamie can take a look. Be sure to mention the versions of everything you have installed (Virtualmin, PHP, etc).
-Eric
I have the exact same problem as above and I also have CentOS 5. I did the yum install php4 and it install, I then tried to install the Nuke 8.0 and it went through the scrpt and finished by saying it was not fully loaded. What is up with this. It is also very important to add content management to my websites. In all Virtualmin is incredible but I really need this.
Damien
Hi Damien,
Are there any other errors that you saw along the way that might suggest why it thinks it's not fully loaded? Are there any errors in the Apache error_log for that domain?
If you have PHP4 and MySQL installed, in theory it should be able to install PHP-Nuke for you. So that sounds awfully "bug-like", as Joe would say :-)
I don't see any references to Will's problem above in the bug tracker, so if the problem isn't clear after poking in the error logs and such, you might want to go ahead and file a new one.
-Eric
I opened ticket: FS#4645 - Nuke 8.0 Script Failure
hope this will help to figure out what is going on here. I cant install nuke 8.0, I cant install Ziluka because of a bug with it. I dont care much for Mambo or Joomla if I have a choice. Does not seem like I do? I love this product and would not trade it for anything else but I hope to get a fix for nuke or Ziluka soon.
Damien
Okay, sounds good.
They want Virtualmin to work well, so I'm sure they'll do what they can to resolve those issues ;-)
Just to be sure -- you do have "MySQL Login Enabled" in Edit Virtual Server -> Enabled Features, right?
-Eric