Welcome, Guest
Please Login or Register.
Lost Password?
Re:install scripts (1 viewing)
Post Reply

TOPIC: Re:install scripts

#15636
willrendell (User)
Posts: 26
graphgraph
install scripts 2008/08/13 10:53  
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
  The administrator has disabled public write access.
#15642
andreychek (Moderator)
Posts: 636
graphgraph
Re:install scripts 2008/08/13 13:45  
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
  The administrator has disabled public write access.
#15654
willrendell (User)
Posts: 26
graphgraph
Re:install scripts 2008/08/13 20:56  
Hello

I have installed php4 using
Code:

yum install php4

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 PHP module mysql is required ..

Module is not available even after installation!


I tried installing php4-mysql but that comes back saying nothing to do?

How can I get this to work



Thanks


Will
  The administrator has disabled public write access.
#15664
andreychek (Moderator)
Posts: 636
graphgraph
Re:install scripts 2008/08/14 05:00  
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
  The administrator has disabled public write access.
#15665
willrendell (User)
Posts: 26
graphgraph
Re:install scripts 2008/08/14 07:00  
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
  The administrator has disabled public write access.
#15673
willrendell (User)
Posts: 26
graphgraph
Re:install scripts 2008/08/14 08:36  
Ok when I ran
Code:

rpm -qa | grep php4-mysql

I got php4-mysql-4.4.8-1vm

and when I ran
Code:

rpm -qa | grep php-mysql

I got php-mysql-5.1.6-15.e15

I hope this means something to you :)


Cheers


Will
  The administrator has disabled public write access.
#15696
willrendell (User)
Posts: 26
graphgraph
Re:install scripts 2008/08/15 01:22  
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

PHP module mysql is required ..

Module is not available even after installation!
  The administrator has disabled public write access.
#15700
andreychek (Moderator)
Posts: 636
graphgraph
Re:install scripts 2008/08/15 09:45  
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
  The administrator has disabled public write access.
#16838
DamienMonk (User)
Posts: 7
graphgraph
Re:install scripts 2008/10/03 05:20  
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
  The administrator has disabled public write access.
#16839
andreychek (Moderator)
Posts: 636
graphgraph
Re:install scripts 2008/10/03 05:34  
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
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.