PHP 5.0 Released!

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Deemo
Forum Contributor
Posts: 418
Joined: Sun Jan 18, 2004 11:48 am
Location: Washington DC

PHP 5.0 Released!

Post by Deemo »

:D :D :D
First stable release has been released :)

so far i have had no problems with my old version, i was wondering what you guys think...is it a big boost from 4.3.2 or do you think its ok to hold off for a little while :?:
User avatar
EvilWalrus
Site Admin
Posts: 209
Joined: Thu Apr 18, 2002 3:21 pm
Location: Springmont, PA USA

Post by EvilWalrus »

Correction...

PHP5RC1 is not a stable release. It's still considered beta quality, and may have problems. It is not recommended to use on production machines, until at least the *final* release is issued.
d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post by d3ad1ysp0rk »

php.net wrote:[18-Mar-2004] The first Release Candidate of PHP 5 is finally here! The move from Beta stage to RC stage means that PHP 5 is now feature complete, and is quite stable - stable enough for everyone to start playing with. Note that it is still not recommended for mission-critical use.
Stable enough, but not enough for a "final release" label.
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

LiLpunkSkateR wrote:
php.net wrote:[18-Mar-2004] The first Release Candidate of PHP 5 is finally here! The move from Beta stage to RC stage means that PHP 5 is now feature complete, and is quite stable - stable enough for everyone to start playing with. Note that it is still not recommended for mission-critical use.
Stable enough, but not enough for a "final release" label.
Indeed.

But there is still reason to be excited because this is just a step closer to the first stable release! :)

I challenge you guys to go and test this thing and help the community find the bugs and suggest some last minute tweaks! :D
d3ad1ysp0rk
Forum Donator
Posts: 1661
Joined: Mon Oct 20, 2003 8:31 pm
Location: Maine, USA

Post by d3ad1ysp0rk »

I had a hard enough time getting php4 on my machine (im a n00b to apache/php installation), so I'll probably mess this up.. but i'll try..

What folders should i make copies of incase i mess up?
Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Post by Nay »

Hey can PHP5 and PHP4.3.3 run togeather on one server? And say PHP5 only reads the .php5 extenstion while PHP4 reads the usual .php and .php4 extensions. Anyhow, can anyone point me out to a PHP5 installation guide? I'm scared to replace my old files and lead me to other problems.

I've never went around pasting files in the past - always have used the installer.

-Nay
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

nay, where did you get the .php5 extension being what php 5 will use? i haven't really read that much up on it, but from what i have i didn't actually see that. Not saying you aren't correct, i'm sure you are, I would just like to read up on it myself. Sounds interesting and .. very, very bad at the same time ..
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

I hope nobody else incorperates a new number behind the .php extension.

But then again people use custom ones all the time...I used .sami for a while, but then relized it would be stupid because if I ever uploaded the file to the web, I'd have to beg my host to add me a personalized line in the web server config. :P

Nay: I think it is possible. Though I have not done this, in theory by the looks of this http config it can be done.

Code: Select all

ScriptAlias /php/ "e:/php/"
   AddType application/x-httpd-php .php
   Action application/x-httpd-php "/php/php.exe"
That is what I got in my httpd.conf file for PHP4 right now.

So say I installed PHP5 in e:/php5/, In theory if I added these lines:

Code: Select all

ScriptAlias /php5/ "e:/php5/"
   AddType application/x-httpd-php5 .php5
   Action application/x-httpd-php5 "/php5/php.exe"
It should work. :wink:

Give it a try and see what happens.
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

PHP Startup: : Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=1
PHP compiled with module API=20040316, debug=0, thread-safety=1
These options need to match
That message comes up in a warning box. No PHP is shown.. No can do, Sami.
Image Image
Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Post by Nay »

In theory.......how about the php.ini? we only have ONE C:\Windows\System32 folder 8O...

-Nay
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

That sucks. Oh well... :?
User avatar
Pyrite
Forum Regular
Posts: 769
Joined: Tue Sep 23, 2003 11:07 pm
Location: The Republic of Texas
Contact:

Post by Pyrite »

I don't know about Windows, but in Linux php3 and php4 can exist at the same time, each using .php3 and .php4. I assume the same can be done on Linux with php4 and php5 .
Nay
Forum Regular
Posts: 951
Joined: Fri Jun 20, 2003 11:03 am
Location: Brisbane, Australia

Post by Nay »

But it's also a mystery how PHP4 and PHP3 can run on the same server O.o. I've read it can be done, but eh......lost it. Maybe that theory can be applied to PHP4 and 5?

But I think 'maybe' it's because they're was little change with PHP4 and 3 therefore both can run with one php.ini. But we all know PHP5 and 4 are totally different creatures I suppose.

Edit: Note the post time between me and Pyrite ;)

-Nay
User avatar
patrikG
DevNet Master
Posts: 4235
Joined: Thu Aug 15, 2002 5:53 am
Location: Sussex, UK

Post by patrikG »

It's an Apache server setting via http.conf - see Sami's post above. For what it's worth, you could call your PHP-files myphpscript.gargle if you set in the http.conf.

It has nothing to do with PHP in that sense. PHP gets handed the pages/scripts it's supposed to interpret by Apache, and this is where the extension needs to be specified. And yes, you could have multiple extensions being parsed by PHP.
gobzo
Forum Newbie
Posts: 2
Joined: Fri Mar 26, 2004 8:22 am

What happened to MySQL in PHP5?

Post by gobzo »

I find it strange that a changelog mentioned this:

* Removed the bundled MySQL client library. (Sterling)

for the beta1. The build in MySQL support is gone with rc1 and when I uncomment the mySQL extension, it fails to load the library... Is that just me? :oops:
Basically, if I upgrade from 4 to 5, mySQL stops working. Very confusing - is it the way it is supposed to be?
Post Reply