TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 03-02-2009, 07:12 PM   #1 (permalink)
The Gregarious
 
allworknoplay's Avatar
 
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
allworknoplay is on a distinguished road
Default upgrading PHP

Ok, here's kind of an embarrassing question.

so let's say I have my Apache and PHP working together. Apache built with static modules instead of DSO.

Let's say my PHP version is say: 5.1.1

And now that 5.2.8 is out, how exactly do you upgrade the PHP to 5.2.8 with your existing Apache?


Secondly, say Apache is built as DSO, what are the changes in procedure for upgrading PHP when Apache is DSO?


I've always just built a new webserver and migrated everything over but that's not always a possible scenario so I've never actually just done an upgrade...
allworknoplay is offline  
Reply With Quote
Old 03-03-2009, 01:54 PM   #2 (permalink)
Jim
The Addict
 
Jim's Avatar
 
Join Date: Nov 2007
Location: the Netherlands
Posts: 281
Thanks: 2
Jim is on a distinguished road
Default

Unix I assume? What are the additional packages, is your server (for example) managed via DirectAdmin?

@Question; You can just recompile PHP and have nothing to do with Apache, PHP is just a module thats loaded at startup.
__________________
Nunchaku! Who doesn't like martial arts? =)
Send a message via MSN to Jim Send a message via Skype™ to Jim
Jim is offline  
Reply With Quote
The Following User Says Thank You to Jim For This Useful Post:
allworknoplay (03-03-2009)
Old 03-03-2009, 05:01 PM   #3 (permalink)
The Gregarious
 
allworknoplay's Avatar
 
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
allworknoplay is on a distinguished road
Default

Quote:
Originally Posted by Jim View Post
Unix I assume? What are the additional packages, is your server (for example) managed via DirectAdmin?

@Question; You can just recompile PHP and have nothing to do with Apache, PHP is just a module thats loaded at startup.
Hmm, I don't think I've ever really built my LAMP with anything special. I always compile my packages myself, I don't use RPM's.
(is that bad not to use RPM's??)

And yes it is Linux, sorry for not being detailed....

I always assumed it was somehow more than just recompiling PHP ontop of the old one.....is it really that straightforward?
allworknoplay is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't get PHP 5. to work? Newbie windows PHP guy DotNetTim Absolute Beginners 11 02-01-2013 11:02 AM
10 PHP Myths Dispelled Wildhoney General 9 06-15-2009 06:55 AM
PHP Compressor Kalle Script Giveaway 8 05-28-2008 12:14 AM
Pure PHP template class. abiko Advanced PHP Programming 1 04-02-2008 05:45 PM
what are all the subjects in php? sarmenhb General 7 01-21-2008 05:41 PM


All times are GMT. The time now is 05:47 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design