LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-15-2009, 09:47 PM   #1
jerel4565
Member
 
Registered: Jun 2009
Distribution: Red Hat/ Centos
Posts: 33

Rep: Reputation: 16
Upgrading PHP via source code


Hello All,

I have a server with php version 5.1.6 but to install certain software I need to have php version 5.3.

I was going to just install it via source code but was wondering do I need to uninstall php version 5.1.6 that was installed via yum.

Thanks for any help.
 
Old 10-15-2009, 10:23 PM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Not a yum user but I think it's "yum remove <pkg>". You might want to check the options enabled for your current php version before doing that, so you can compile the next one using the same exact configuration switches. You can use phpinfo() for example if you are not sure, just put a file called test.php in your server with this:

Code:
<?php

phpinfo();

?>
It shows lots of info, but the most important bit for this purpose is the "configure command", which is on the top.
 
  


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
Yesterday PHP worked just fine and today it wants to serve up the php code. orsty9001 Linux - Server 10 12-12-2008 10:48 AM
LXer: Oracle Contributes Breakthrough PHP Code to Open Source Community LXer Syndicated Linux News 0 10-09-2007 05:10 PM
merge ASP code with PHP code.. possible ?? ALInux Programming 7 12-30-2005 08:40 AM
Have installed PHP for Apache2 but source code showing Tomo3000 SUSE / openSUSE 4 08-04-2005 07:14 PM
URGENT: Problems recompiling C++ source code when upgrading to Linux 9 ldsimon Linux - General 7 09-22-2004 08:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:19 AM.

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