Results 1 to 6 of 6
Thread: resinstalling php
-
06-29-2005, 12:30 AM #1WHT 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?
-
06-29-2005, 12:36 AM #2Retired Moderator
- 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
-
06-29-2005, 12:48 AM #3WHT Addict
- Join Date
- Oct 2001
- Posts
- 161
i use webmin.
-
06-29-2005, 04:22 AM #4WHT Addict
- Join Date
- Mar 2005
- Posts
- 164
what kind of errors did you get ?
-
06-29-2005, 04:24 AM #5Retired Moderator
- 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
-
06-29-2005, 12:23 PM #6Problem Solver
- 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