You are here: Re: PHP4->PH5 tutorial « PHP Programming Language « IT news, forums, messages
Re: PHP4->PH5 tutorial

Posted by ELINTPimp on 08/03/07 05:32

On Aug 1, 3:04 am, FFMG <FFMG.2um...@no-mx.httppoint.com> wrote:
> ELINTPimp;84364 Wrote:
>
>
>
> > > ELINTPimp;84307 Wrote:
>
> > > > hurray, google!
>
> > > Really? When I looked I found 2 million useless tutorials.
>
> > Yes, but it got them to you in 1.2 seconds! =)
>
> Yes, Google is not as fast as I remember :)
>
> ELINTPimp;84364 Wrote:
>
>
>
> > What exactly are you looking for as far as the migration goes? The
> > actual migration of the core PHP4 to PHP5 on the server...or making
> > sure your existing code will play nicely under PHP5?
> > ...
>
> Sorry I wasn't clear enough earlier.
> What I want to do is 'upgrade' my site from PHP4 to PHP5.
>
> But my site is busy(ish) and I don't want to take the site down any
> longer than I need to.
>
> With that in mind I would like to run the site on a test server for a
> couple of months, (maybe not that long), to make sure that it works on
> PHP4 and PHP5.
> This is why I would need to run both version on one server, (I could
> use more than one server but it is a bit of a pain to develop that
> way).
>
> Once I am confident that everything is running fine then I can
> 'briefly'<sic> take the site down, and upgrade to PHP5.
>
> And...TADA... everything should be fine.
>
> FFMG
>
> --
>
> 'webmaster forum' (http://www.httppoint.com) | 'webmaster Directory'
> (http://www.webhostshunter.com/) | 'Recreation Vehicle insurance'
> (http://www.insurance-owl.com/other/car_rec.php)
> 'Free URL redirection service' (http://urlkick.com/)
> ------------------------------------------------------------------------
> FFMG's Profile:http://www.httppoint.com/member.php?userid=580
> View this thread:http://www.httppoint.com/showthread.php?t=18932
>
> Message Posted via the webmaster forumhttp://www.httppoint.com, (Ad revenue sharing).

Ah, ok. You want info on how to run 4 & 5 concurrently on a
webserver...what is your OS and web server? I can point you in the
direction for server-specific information on how do to this.

As far as a tutorial on how to make your code work, I really can't
help you there. Best I can suggest is do exactly what you
planned...stand up that php5 server (using it on your current server
is not only convent and cost effective, but it really can't get any
more of the "production-like" environment). There are negative
aspects and you must weigh them, too. You'll probably have two code
bases then, since you'll want/need to maintain you current site and a
second code base to make the necessary changes to work with PHP5. If
you're a single programmer/maintainer, shouldn't be TOO bad, but if
not you may want to invest some time in research a solution to
maintain changes in the two separate bases (versioning software, etc).

I really stress, though, that the PHP manual should give you
everything you need (although, it is a bit dry unlike a (typical)
tutorial). Read through it and if you still don't feel comfortable,
perhaps you may invest in getting a PHP consultant to do an assessment
for you.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация