Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 8th November 2011, 06:22
anroswell anroswell is offline
Junior Member
 
Join Date: Nov 2011
Posts: 2
Thanks: 2
Thanked 0 Times in 0 Posts
Default Install apche, phpand mysql centos 6.0 with version specific each one

How can i install in centos 6.0, the version of apache 2.2, php 5.3.0 and mysql,

Centos 6.0 come with the version of apache 5.3.8 and that not work for me, i need apche 5.3.0, how can i do for install it.

Than for the answer and sorry for my bad english.
Reply With Quote
Sponsored Links
  #2  
Old 8th November 2011, 09:40
nbhadauria nbhadauria is offline
Member
 
Join Date: Aug 2010
Location: New Delhi, India
Posts: 79
Thanks: 1
Thanked 13 Times in 13 Posts
Send a message via Skype™ to nbhadauria
Default

You can use yum ..

First you need to allow downgrade for yum and for that you need to install yum-allowdowngrad utility program, but its very easy to install, Just issue the following command:

#yum install yum-allowdowngrade

Now add a line to your yum.conf file, its located in /etc/yum.conf
#vi /etc/yum.conf
showdupesfromrepos=1


After that list all php packages:

yum list php

If php 5.3.0 is available, remove new one:

yum remove php

and install an old one:

yum --allow-downgrade install php-5.3.0 php-cli-5.3.0 php-common-5.3.0
Reply With Quote
The Following 2 Users Say Thank You to nbhadauria For This Useful Post:
anroswell (8th November 2011), anroswell (8th November 2011)
  #3  
Old 8th November 2011, 14:37
anroswell anroswell is offline
Junior Member
 
Join Date: Nov 2011
Posts: 2
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Hellou thank for you answer, i try your instruction but i couldn't,

No package yum-allowdowngrade available
Error: Nothing to do


i can't install

i download the package apache2, mysql and php 5.3.0, all .tar.gz and going to try install manually.
Reply With Quote
Reply

Bookmarks

Tags
apache 2.2.15, mysql, php, web server

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Companion Script #2 for The Perfect Server - Fedora 13 x86_64 [ISPConfig 3]" MrCompTech Tips/Tricks/Mods 0 10th July 2010 05:11
squirrelmail and postfix witoszek General 12 1st December 2009 18:07
How to install OpenOficeOrg 3.0.0 in Ubuntu 8.04 ernesthagger HOWTO-Related Questions 43 23rd December 2008 14:42
Install ISPConfig on CentOS Server, in brief gfts Tips/Tricks/Mods 11 4th April 2006 08:29
Notes for CentOS 4.1 install felipegeek Installation/Configuration 6 19th December 2005 10:21


All times are GMT +2. The time now is 19:04.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.