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,766
    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,766
    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,681
    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 | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

Posting Permissions

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