Current time: 12-23-2024, 04:22 PM Hello There, Guest! (LoginRegister)


Post Reply 
Upgrade PHP 5.3 RC1?
Author Message
kwutzke Offline
Junior Member
*

Posts: 38
Joined: Mar 2009
Reputation: 0
Post: #1
Upgrade PHP 5.3 RC1?
Hello,

how can I upgrade PHP in ispCP to version PHP 5.3.0RC1?

Karsten
(This post was last modified: 04-17-2009 04:35 AM by kwutzke.)
04-17-2009 04:03 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: Upgrade PHP 5.3 RC1?
Update your Linux iteself with the new Version. ispCP will use it then Wink

Greez BeNe
04-17-2009 06:12 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kwutzke Offline
Junior Member
*

Posts: 38
Joined: Mar 2009
Reputation: 0
Post: #3
RE: Upgrade PHP 5.3 RC1?
Yeah, but how do I find the right dir? In /usr/bin there's the php5-cgi file which is ~5MB, that seems to be the PHP "executable". But what about appropriate extensions? The versions should be compatible...

There are other files in a Windows PHP 5.3 release, where do they go on Linux?

What I found out so far is, there are no Linux/Unix binaries from the PHP community side

http://www.php.net/downloads.php

(top left). You might want to download the RC1 sources from

http://downloads.php.net/johannes/

instead of one of the daily snapshots.

I'll report what my trying will reveal...

Karsten
(This post was last modified: 04-17-2009 07:34 AM by kwutzke.)
04-17-2009 06:51 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #4
RE: Upgrade PHP 5.3 RC1?
I don´t really understand what you doing Rolleyes
Which OS is running on your Server ?
If you use Lenny the add dotdeb to your sources.list
--> http://www.dotdeb.org/2009/04/07/php-530...for-lenny/

But beware, it is a dotdeb source -> RC1

If you have anoter OS you can compile it with the Source on your own.

Greez BeNe
04-17-2009 04:00 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kwutzke Offline
Junior Member
*

Posts: 38
Joined: Mar 2009
Reputation: 0
Post: #5
RE: Upgrade PHP 5.3 RC1?
As I wrote, I'm trying to compile PHP 5.3.0RC1 on Debian Etch...

Does anyone know which packages to use with the ./configure script? I found

http://phpmelb.org/index.php?option=com_...icle&id=69

thus far, but it's over a year old and it doesn't explain the packages. Which ones are best practices?

Can I somehow find out which standard packages are in the PHP 5.3 Windows binaries or in the PHP 5.2.x installation currently on my Linux (Debian Etch) vServer?

Another thing I found out with the PHP 5.3.0RC1 release is that the two php.ini* files shipped have a missing semicolon on line 581 that prevents PHP from being configurable:

http://bugs.php.net/bug.php?id=47910&edit=1

Karsten
04-17-2009 06:36 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #6
RE: Upgrade PHP 5.3 RC1?
Quote:As I wrote, I'm trying to compile PHP 5.3.0RC1 on Debian Etch...
Ok, was not really clear in my eyes!
Quote:Does anyone know which packages to use with the ./configure script? I found
http://phpmelb.org/index.php?option=com_...icle&id=69
thus far, but it's over a year old and it doesn't explain the packages.
You run configure in the extracted folder, there should be a makefile in it.
Quote:Which ones are best practices?
Use a ready compiled Version like dotdeb if you are unsecure. Next is be sure you have all modules compiled in.
Quote:Can I somehow find out which standard packages are in the PHP 5.3 Windows binaries or in the PHP 5.2.x installation currently on my Linux (Debian Etch) vServer?
You mean PHPinfo ?

Quote:Another thing I found out with the PHP 5.3.0RC1 release is that the two php.ini* files shipped have a missing semicolon on line 581 that prevents PHP from being configurable:
Solved in the dotdeb package ?!
--> http://www.dotdeb.org/2009/04/07/php-530...for-lenny/

Greez BeNe
04-17-2009 06:45 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kwutzke Offline
Junior Member
*

Posts: 38
Joined: Mar 2009
Reputation: 0
Post: #7
RE: Upgrade PHP 5.3 RC1?
There's no 'Makefile' in it... only 'Makefile.frag', 'Makefile.gcov', and 'Makefile.global'.

I know you can get the extensions from the phpinfo(). But does that suffice for recompiling?

Did ispCP 1.0.0 Omega create the PHP on my system? I had installed a minimal server image without Apache and/or PHP etc...

Karsten
04-17-2009 10:13 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #8
RE: Upgrade PHP 5.3 RC1?
Quote:Did ispCP 1.0.0 Omega create the PHP on my system? I had installed a minimal server image without Apache and/or PHP etc...
No, we only use the Packages from the System itself, yum, rpm, apt ...

Can you tell my why you want to compile it on your own ?
What OS is running on your Server ?

Greez BeNe
04-17-2009 10:23 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kwutzke Offline
Junior Member
*

Posts: 38
Joined: Mar 2009
Reputation: 0
Post: #9
RE: Upgrade PHP 5.3 RC1?
I want to start using PHP 5.3 functionality... namespaces, late static binding, ternary operator, ...

My OS is Linux of course, vServer on Debian Etch. Need more info? It's a 64bit Athlon machine...

Do the Lenny binaries you posted work on that?

Karsten
(This post was last modified: 04-18-2009 02:45 AM by kwutzke.)
04-18-2009 02:44 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #10
RE: Upgrade PHP 5.3 RC1?
I´m not sure. Dotdeb is for stable only.
So why dont you upgrade from etch to lenny and use dotdeb ?
To compile php on your own without the needed knowledge is not the best in my eyes. So try to use precompiled packages. Maye there are some out there for debian etch...

Greez BeNe
04-18-2009 07:46 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)