hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Security and Technology : resinstalling php
Reply

Forum Jump

resinstalling php

Reply Post New Thread In Hosting Security and Technology Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old
WHT Addict
 
Join Date: Oct 2001
Posts: 161

resinstalling php


i am having some php errors, so i want to reinstall php. (i am running centos 4)

can i get away with yum remove php, and then yum install php, or will i need to uninstall/reinstall apache and mysql too?



Sponsored Links
  #2  
Old
Retired Moderator
 
Join Date: Sep 2004
Location: Flint, Michigan
Posts: 5,765
Any control panel?

__________________
Mike from Zoodia.com
Professional web design and development services.
In need of a fresh hosting design? See what premade designs we have in stock!
Web design tips, tricks, and more at MichaelPruitt.com

  #3  
Old
WHT Addict
 
Join Date: Oct 2001
Posts: 161
i use webmin.

Sponsored Links
  #4  
Old
WHT Addict
 
Join Date: Mar 2005
Posts: 164
what kind of errors did you get ?

  #5  
Old
Retired Moderator
 
Join Date: Sep 2004
Location: Flint, Michigan
Posts: 5,765
I believe (understand that I don't know this for a fact) that you should be able to just unisntall PHP and then reinstall it as mod_php is a module that is loaded by apache, not compiled right into it, and it is just a programming language that accesses mysql (mysql does not have php support, php has mysql support).

__________________
Mike from Zoodia.com
Professional web design and development services.
In need of a fresh hosting design? See what premade designs we have in stock!
Web design tips, tricks, and more at MichaelPruitt.com

  #6  
Old
Problem Solver
 
Join Date: Mar 2003
Location: California USA
Posts: 13,165
yum remove php and i suggest doing

yum install php php-mysql

or doing it from source

./configure --with-apxs=/usr/sbin/httpd --with-mysql --with-other-stuff
make
make install

for example.

__________________
Steven Ciaburri | Proactive Linux Server Management - Rack911.com
System Administration Extraordinaire | Follow us on twitter:@Rack911Labs
Managed Servers (AS62710), Server Management, and Security Auditing.
www.HostingSecList.com - Security notices for the hosting community.

Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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 Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
WHT Host Brief Email:

We respect your privacy. We will never sell, rent, or give away your address to any outside party, ever.

Advertisement:
Web Hosting News:
WHT Membership
WHT Membership



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?