Installing Virtual Min on Fresh CentOs 6.7

Hi there,

I just purchased a server with CentOs 6.7 32 bit installed on it

I am planning to install virtualmin on it.

Do I need to install PHP and Apache before virtualmin installation ?

Earlier I installed virtualmin and get it working successfully however it had PHP 5.3. I tried to update it to 5.5 by following a tutorial but failed and messed up whole thing.

I need PHP 5.5 for my project.

So can someone guide me how to do this and what is the best way for this?

Regards

hi
try this guide can help u
https://www.virtualmin.com/documentation/web/multiplephp#Installing_PHP_5.5_on_CentOS_6

you noneed to install any PHP and Apache before installing virtualmin. only install on freshly installed minimal server

thanks for the reply. I found that tutorial but it says

“Note that the repository providing these packages currently only provides 64 bit packages. If you are using 32 bit CentOS, there are unfortunately no PHP packages for that.”

i am using a 32 bit CentOS

Howdy,

You mentioned that you just got this particular server… would it be possible to switch to a 64 bit server?

Then you’d be able to run multiple PHP versions very easily.

Alternatively, you could also install a distribution that comes with PHP 5.5 out of the box.

-Eric

thank you very much. I went with 64 bit and follow that tutorial and it was a piece of cake :slight_smile:
i am running 5.5 now :slight_smile:


pk so i just checked via php -v command and i got following status

PHP 5.3.3 (cli) (built: Jul 9 2015 17:39:00)
Copyright © 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright © 1998-2010 Zend Technologies

although virtualmin is showing 5.5.21 in PHP versions

also can you please point me for updating php to 5.6. The stupid developer of script keep increasing php requirements with every update.