ispCP - Board - Support
Upgrade PHP 5.3 RC1? - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Update/Upgrade (/forum-44.html)
+--- Thread: Upgrade PHP 5.3 RC1? (/thread-6433.html)

Pages: 1 2


Upgrade PHP 5.3 RC1? - kwutzke - 04-17-2009 04:03 AM

Hello,

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

Karsten


RE: Upgrade PHP 5.3 RC1? - BeNe - 04-17-2009 06:12 AM

Update your Linux iteself with the new Version. ispCP will use it then Wink

Greez BeNe


RE: Upgrade PHP 5.3 RC1? - kwutzke - 04-17-2009 06:51 AM

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


RE: Upgrade PHP 5.3 RC1? - BeNe - 04-17-2009 04:00 PM

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-rc1-packages-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


RE: Upgrade PHP 5.3 RC1? - kwutzke - 04-17-2009 06:36 PM

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_content&view=article&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


RE: Upgrade PHP 5.3 RC1? - BeNe - 04-17-2009 06:45 PM

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-rc1-packages-for-lenny/

Greez BeNe


RE: Upgrade PHP 5.3 RC1? - kwutzke - 04-17-2009 10:13 PM

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


RE: Upgrade PHP 5.3 RC1? - BeNe - 04-17-2009 10:23 PM

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


RE: Upgrade PHP 5.3 RC1? - kwutzke - 04-18-2009 02:44 AM

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


RE: Upgrade PHP 5.3 RC1? - BeNe - 04-18-2009 07:46 PM

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