Sponsored by Sony Pictures
Do you believe the 2012 Mayan Prophecy? view!
whowillsurvive2012.com - The Mayan Calendar predicts the end of time: 2012. See the trailer for 2012, opening November 13.
21 Comments
- t3hX, on 10/12/2007, -0/+0>>"PHP.. pathetic!"
>lol you are probably some rails freak, PHP kicks ass!
Or an ASP / .net microserf. - DietrichM, on 10/12/2007, -0/+0PHP using FastCGI is quite fast, I tested a forum application both on PHP 4 and 5 (both having about the same modules builtin) and PHP 5 on FastCGI was a bit faster on every request than mod_php 4.
- xtr3m, on 10/12/2007, -0/+0I guess they're just using different systems...
PHP3:
System: Linux infong 2.4.20 #4 SMP Wed Oct 2 10:54:32 CEST 2002 i686 unknown
Build Date: Mar 25 2003
PHP4:
Linux infong 2.4 #1 SMP Wed Jan 18 14:53:29 CET 2006 i686 unknown
PHP5:
Linux infong 2.4 #3 SMP Mon Feb 6 14:37:49 CET 2006 i686 unknown - ChrisSoutham, on 10/12/2007, -0/+0What's the point?
What does phpinfo() produce as output? - DietrichM, on 10/12/2007, -0/+0If you use Gentoo, check out http://www.gentoo.org/proj/en/php/php4-php5-configuration.xml
- inactive, on 10/12/2007, -0/+0xampp lets you switch between versions. I guess that isn't running them at the same time though is it? :P
- prazgod, on 10/12/2007, -0/+0PHP 5 improves on PHP 4 in three major areas:
Related Reading
Upgrading to PHP 5
Upgrading to PHP 5
By Adam Trachtenberg
Table of Contents
Index
Sample Chapter
Read Online--Safari Search this book on Safari:
Code Fragments only
* Object-oriented programming
* MySQL
* XML
These items have all been completely rewritten, turning them from limitations into star attractions. While these changes alone warrant a new version of PHP, PHP 5 also provides a plethora of other new features.
http://www.onlamp.com/pub/a/php/2004/07/15/UpgradePHP5.html - xtr3m, on 10/12/2007, -0/+0My host, 1and1, allows me to select between any of the three latest PHP generations by having different file extensions: .php3, .php, .php5. How do you think it's done?
- bigkm, on 10/12/2007, -0/+0dugg.
I've just been switching between 4 and 5 manually when i need to. - SleeperZ, on 10/12/2007, -0/+0Why dont you just run 2 apache instances listening on a different ip address? Each with their own conf file running PHP as a module?
Thats how I do it anyways. - DigitalCreators, on 10/12/2007, -0/+0phpinfo() returns server info or any other adapters i guess
- timdorr, on 10/12/2007, -0/+0Here's the same thing, but with a FastCGI so the CGI'ed PHP doesn't run slow as crap:
http://timdorr.com/archives/2006/02/php4_and_php4_s.php
We're running the same thing over at ASO (www.asmallorange.com) - colebarnes, on 10/12/2007, -0/+0"What's the point?
What does phpinfo() produce as output?"
well, if your page has a .php4 extension, then PHP 4 info would be displayed...
if your page has a .php extension, phpinfo() would display info for PHP 5...
I had to use something like this as a short-term hack in an environment that required some PHP 5 features but had a stock PHP 5 installation in on Windows with not MySQL support. A quick installation of PHP 4 gave me access to my database. - veracon, on 10/12/2007, -0/+0I did this (though a slightly different method) before my host installed PHP 5 as a module.
So PHP is not the most advanced or powerful language, but it's easy to learn and supported in many places. - GTPilot, on 10/12/2007, -0/+0Too bad you can't make an apache directive at the virtual level to tell it what PHP module to run.
- Snuffkin, on 10/12/2007, -0/+0PHP as CGI sucks, so no digg. I KNOW I've read about running both as a module on Linux involving some very tricky compiling or something, it just seems like noone knows how to do it and I never found the article again.
- hausmasta, on 10/12/2007, -1/+0Quite a lot tutorials from HowtoForge go into the HowtoForge newsletter which is read by a few thousand people. I'm sure the one or other reader also has a digg.com account - so please stop saying this is spam!
If you don't like it, don't digg it. - Windsinger, on 10/12/2007, -1/+0Even if the user is spamming, this is a useful digg. Much better than all the damn apple reposted ***** spamming the top.
- nexus, on 10/12/2007, -1/+0reported as spam (thanks aneeley)
- .Steven, on 10/12/2007, -3/+0"PHP.. pathetic!"
lol you are probably some rails freak, PHP kicks ass! - antigoogle, on 10/12/2007, -5/+0PHP.. pathetic!


What is Digg?