homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

How to update PHP installed from source
PHP beginner install

5+ Year Member

Msg#: 4310544 posted 9:40 pm on May 10, 2011 (gmt 0)

Hello, I would like if someone answered what they recommend to do. I want to install PHP in an Ubuntu 11, but I can't figure out if it's better to compile it from source or to simply install a package. I would greatly appreciate info on how to update PHP once it is installed, cause I know it will be harder to update it if I compile it on the machine. Does anybody know if there's a way to configure it, or what additions it must be set up to come with during the compilation. (I mean the configuration before actually making the install). Is there a way to choose from the options namely --with and so, (of course --with MySql, since Postgre is not free of charge), so that it upgrades automatically. The fact is that I can't make my mind about what's best, to install it using apt-get or to install it from source, since I've read that people say it's harder to upgrade if its compiled, and others say the exact opposite (http://bit.ly/974AkV). Please help me make up my mind and thanks for reading anyway.



5+ Year Member

Msg#: 4310544 posted 2:03 am on May 17, 2011 (gmt 0)

IMHO I would install from the package manager for php also PostGreSQL is absolutely free and opensource, I am not sure who told you that or where you read that but it is false.

apt-get update
apt-get upgrade world
apt get install php mysql perl etc etc

then in the future all you need to do is apt-get update then upgrade again and your existing versions will be upgraded by the package management system and keep all dependencies in line for you
wash rinse repeat ;)


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved