LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-01-2008, 12:25 PM   #1
dmbfansim
LQ Newbie
 
Registered: May 2008
Posts: 2

Rep: Reputation: 0
Recompile PHP after installing with yum


Hello,

I've recently upgraded my PCRE library from 6.6 to 7.6. I now need PHP to recognize the upgrade. It seems PHP needs to be recompiled for this to happen. My system is CentOS 5, and I used yum to install PHP. Therefore, I don't have any of the original source files. Can someone please provide a suggestion or steps to recompile PHP?

Thanks.
 
Old 05-02-2008, 07:49 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
So download the PHP source code from the PHP website http://us2.php.net/
 
Old 05-06-2008, 11:00 AM   #3
dmbfansim
LQ Newbie
 
Registered: May 2008
Posts: 2

Original Poster
Rep: Reputation: 0
yum remove php
yum install php

-- the newly installed version of php recognized the PCRE upgrade.
 
Old 05-06-2008, 11:29 AM   #4
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Is there not an "install --reinstall" sort of action for yum, like there is for apt, that would shorten that to one command?
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to recompile PHP? griffey Linux - Software 4 02-18-2009 06:52 PM
Recompile PHP dominodivine SUSE / openSUSE 3 08-02-2005 03:49 PM
Recompile PHP for Slackware? [GOD]Anck Slackware 12 03-15-2005 05:08 PM
recompile php on redhat 9 v4su Linux - Software 3 10-03-2003 07:01 AM
php recompile te_conway Linux - General 1 01-17-2002 07:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration