Results 1 to 6 of 6
  1. #1
    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?

  2. #2
    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. #3
    Join Date
    Oct 2001
    Posts
    161
    i use webmin.

  4. #4
    what kind of errors did you get ?

  5. #5
    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. #6
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,250
    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.

  7. Newsletters

    Subscribe Now & Get The WHT Quick Start Guide!

Related Posts from theWHIR.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •