23d92 PHP 5.3.2 (was: php 5.3.0) - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Closed Thread
 
Thread Tools Display Modes
  #1  
Old June 30th, 2009, 18:08
MissileSilo MissileSilo is offline
Junior Member
 
Join Date: Feb 2009
Posts: 29
Thanks: 2
Thanked 0 Times in 0 Posts
Default PHP 5.3.2 (was: php 5.3.0)

Hi,

Can someone submit a request so that PHP is updated to 5.3.0?

It was just released today. http://us.php.net/

Thanks ,

David
  #2  
Old June 30th, 2009, 20:28
Voltar Voltar is offline
Member
 
Join Date: Dec 2008
Location: Bakersfield, California, US
Posts: 191
Thanks: 9
Thanked 23 Times in 17 Posts
Default

You'd be better off emailing the maintainer of the port, however the 5.2.9 -> 5.2.10 change was released in about 5-6??? days. However I could speculate that it could take longer due to it being a major upgrade.
  #3  
Old June 30th, 2009, 22:21
MissileSilo MissileSilo is offline
Junior Member
 
Join Date: Feb 2009
Posts: 29
Thanks: 2
Thanked 0 Times in 0 Posts
Default

OK I sent him an e-mail. I can't wait to use PHP 5.3.0!

Late Static Binding FTW!
  #4  
Old July 1st, 2009, 03:16
estrabd's Avatar
estrabd estrabd is offline
Member
 
Join Date: Nov 2008
Location: Houston, Tx
Posts: 155
Thanks: 36
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by MissileSilo View Post
OK I sent him an e-mail. I can't wait to use PHP 5.3.0!

Late Static Binding FTW!
There's no time like learning how to help upgrade a port
__________________
www/vee Tiny CLI blogging tool
lang/qore A scripting language designed for SMP scalability
  #5  
Old July 1st, 2009, 17:01
MissileSilo MissileSilo is offline
Junior Member
 
Join Date: Feb 2009
Posts: 29
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Is there something I can read to learn how?
  #6  
Old July 8th, 2009, 02:25
Voltar Voltar is offline
Member
 
Join Date: Dec 2008
Location: Bakersfield, California, US
Posts: 191
Thanks: 9
Thanked 23 Times in 17 Posts
Default

Quote:
Originally Posted by MissileSilo View Post
Is there something I can read to learn how?
Porter's Handbook might help.
  #7  
Old July 8th, 2009, 21:44
hydra hydra is offline
Member
 
Join Date: Nov 2008
Location: Slovakia
Posts: 272
Thanks: 18
Thanked 24 Times in 21 Posts
Default

Don't wait, act yourself. Read, learn and help. That is how this works
  #8  
Old July 16th, 2009, 06:42
CodeBlock's Avatar
CodeBlock CodeBlock is offline
Member
 
Join Date: Jul 2009
Location: United States
Posts: 218
Thanks: 21
Thanked 11 Times in 11 Posts
Default

I tried doing it, but didn't get anywhere past:
Code:
===> Setting user-specified options for php5-5.3.0 and dependencies
===>  Patching for php5-5.3.0
===>  Applying FreeBSD patches for php5-5.3.0
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to TSRM/threads.m4.rej
=> Patch patch-TSRM_threads.m4 failed to apply cleanly.
*** Error code 1

Stop in /usr/ports/lang/php5.3.0.
*** Error code 1

Stop in /usr/ports/lang/php5.3.0.
Basically there is no suhosin patch for 5.3, and if I compile without that, I run into that ^.

So.. that in mind, any news on if this is going to be ported soon?

Made a little progress.. moved files/ to patches/ so they wouldn't be used... which is probably very bad.. So.. not patches, and no suhosin patch because it's not released yet... But nonetheless, php 5.3 is compiling.. if it works, i'll tar up the port directory or something.. I wouldn't call it stable or anything but I just felt like messing around to see if I could hack up a php 5.3 port.

Anyway it's still compiling, lets see what happens.

YES! It appears to have worked. I'll post this here, but it's really not official or anything (I'm a complete freebsd newbie, just tried this for fun)... However I have tested it across two installs and it worked both times..

BIG NOTE: This is not official. I just did this for the sake of doing it (and am new to BSD so it's probably bad)

grab http://hexinary.net/dev/freebsd/ports/php5.3.0.tar.gz.
Untar it, and it will give you a php5.3.0 directory. Move this to /usr/ports/lang. (I'm not sure if location matters but.. this is where I put it)..
Then cd into it and compile as normal.. HOWEVER.. There is no suhosin patch for it, so make sure to not use that option.

After a bit it should work, I'm able to `php -v` and it says 5.3.0. I haven't tried this with a web server yet, but I assume it works.

Sorry for posting 4 times in a row (a mod can merge these if he/she so chooses)... However I want to note that php5-extensions installs php5.2.10 (probably as a dep of something else it's installing, because I can't find it in the Makefile anywhere).

So.. yeah I'll probably just wait for the official maintainer to release the port. Oh well

Last edited by DutchDaemon; July 16th, 2009 at 16:56.
The Following User Says Thank You to CodeBlock For This Useful Post:
raVen (July 19th, 2009)
  #9  
Old July 19th, 2009, 06:50
raVen raVen is offline
Junior Member
 
Join Date: Nov 2008
Location: Chelyabinsk, Russia
Posts: 8
Thanks: 5
Thanked 0 Times in 0 Posts
Default

pear don't want build with this port... any fixes?

Code:
Bootstrapping Installer……………….
Bootstrapping PEAR.php…………(local)
Deprecated: Assigning the return value of new by reference is deprecated in /tmp/go-pear/PEAR.php on line 563

Deprecated: Assigning the return value of new by reference is deprecated in /tmp/go-pear/PEAR.php on line 566
ok
Bootstrapping Archive/Tar.php…………
Warning: mkdir(): File exists in /usr/var/tmp/ports/usr/ports/devel/pear/work/pear-1.8.1/go-pear on line 673
(local) ok
Bootstrapping Console/Getopt.php…………
Warning: mkdir(): File exists in /usr/var/tmp/ports/usr/ports/devel/pear/work/pear-1.8.1/go-pear on line 673
(local) ok

Extracting installer………………
Signal 11
__________________
too much raVen over paradise...
  #10  
Old July 19th, 2009, 19:24
CodeBlock's Avatar
CodeBlock CodeBlock is offline
Member
 
Join Date: Jul 2009
Location: United States
Posts: 218
Thanks: 21
Thanked 11 Times in 11 Posts
Default

I honestly don't know Like I said I just did that to see if I could. . You might be better off waiting for the official port.

Sorry
  #11  
Old July 22nd, 2009, 16:48
CodeBlock's Avatar
CodeBlock CodeBlock is offline
Member
 
Join Date: Jul 2009
Location: United States
Posts: 218
Thanks: 21
Thanked 11 Times in 11 Posts
Default

I wrote to the php5 port maintainer, he said that he'll probably be upgrading the port in late August. That's the latest.
  #12  
Old July 23rd, 2009, 15:45
MissileSilo MissileSilo is offline
Junior Member
 
Join Date: Feb 2009
Posts: 29
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Well, I can't wait that long. What I did was I downloaded the source code for PHP 5.3.0 and I compiled it manually.

Here is my configure command:

Code:
'./configure' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--disable-all' '--enable-libxml' '--with-libxml-
dir=/usr/local' '--enable-reflection' '--program-prefix=' '--enable-fastcgi' '--with-apxs2=/usr/local/sbin/apxs' '--with-regex=php' '--with-
zend-vm=CALL' '--prefix=/usr/local' '--mandir=/usr/local/man' '--infodir=/usr/local/info/' '--enable-pdo=shared'
Then to compile and install:
Code:
make && make install
Now, I was using php5-extensions but since that is only for version 5.2.10, you have to compile those manually too. Simply cd to the ext directory of the PHP source code, and go into each one of the extensions you want to compile and type:

Code:
phpize
./configure
make && make install

Last edited by DutchDaemon; September 29th, 2009 at 17:25.
  #13  
Old August 24th, 2009, 16:02
Seeker's Avatar
Seeker Seeker is offline
Member
 
Join Date: May 2009
Location: Europe/Croatia/Zagreb
Posts: 832
Thanks: 13
Thanked 11 Times in 10 Posts
Default

Quote:
Originally Posted by CodeBlock View Post
....php5 port maintainer, he said that he'll probably be upgrading the port in late August...
He died or what?
  #14  
Old September 1st, 2009, 17:25
MissileSilo MissileSilo is offline
Junior Member
 
Join Date: Feb 2009
Posts: 29
Thanks: 2
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by CodeBlock View Post
...he'll probably be upgrading the port in late August.
  #15  
Old September 2nd, 2009, 02:46
CodeBlock's Avatar
CodeBlock CodeBlock is offline
Member
 
Join Date: Jul 2009
Location: United States
Posts: 218
Thanks: 21
Thanked 11 Times in 11 Posts
Default

Quote:
Originally Posted by MissileSilo View Post
Sent him another email a few days ago, no response... sigh.
__________________
Proud FreeBSD 8-RELEASE user.

CodeBlock on irc.freenode.net and irc.eighthbit.net.
  #16  
Old September 2nd, 2009, 07:21
Perl Perl is offline
Junior Member
 
Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Perhaps the repoman came for a visit and took his hardware.
  #17  
Old September 2nd, 2009, 11:58
Seeker's Avatar
Seeker Seeker is offline
Member
 
Join Date: May 2009
Location: Europe/Croatia/Zagreb
Posts: 832
Thanks: 13
Thanked 11 Times in 10 Posts
Default

Quote:
Originally Posted by CodeBlock View Post
Sent him another email a few days ago, no response... sigh.
Me too, but with no response...
  #18  
Old September 3rd, 2009, 21:41
neildarlow neildarlow is offline
Junior Member
 
Join Date: Jul 2009
Location: United Kingdom
Posts: 13
Thanks: 1
Thanked 0 Times in 0 Posts
Default

PHP-5.3.0 is not a trivial update. Existing applications will require modification in order not to break when used with it.

I am certain that Alex is aware of this and is exercising caution in doing any update which could have far-reaching consequences for users.

I know from experience, with the ports I maintain, that some users always want the latest version but often overlook the quality status or incompatibilities introduced of these newer versions. As port maintainers we often have to consider the big picture.
  #19  
Old September 4th, 2009, 11:18
Mel_Flynn Mel_Flynn is offline
Member
 
Join Date: Nov 2008
Location: Drachten, Netherlands
Posts: 379
Thanks: 7
Thanked 74 Times in 57 Posts
Default

Also, ports tree is in feature freeze, so major upgrades are out of the question. Unless 8.0 release is further delayed I wouldn't expect 5.3.0 until early october.
__________________
The core concept of freedom is the lack of rules, even those made to "protect freedom".
  #20  
Old September 4th, 2009, 15:15
CodeBlock's Avatar
CodeBlock CodeBlock is offline
Member
 
Join Date: Jul 2009
Location: United States
Posts: 218
Thanks: 21
Thanked 11 Times in 11 Posts
Default

Quote:
Originally Posted by Mel_Flynn View Post
Also, ports tree is in feature freeze, so major upgrades are out of the question. Unless 8.0 release is further delayed I wouldn't expect 5.3.0 until early october.
I didn't see anything on the mailing list about the freeze - when did that happen?
__________________
Proud FreeBSD 8-RELEASE user.

CodeBlock on irc.freenode.net and irc.eighthbit.net.
  #21  
Old September 11th, 2009, 17:35
Seeker's Avatar
Seeker Seeker is offline
Member
 
Join Date: May 2009
Location: Europe/Croatia/Zagreb
Posts: 832
Thanks: 13
Thanked 11 Times in 10 Posts
Default

Now that does it!
He "freezes", he doesn't reply, nor notify...

I came to the point where I really need this new PHP, as I code in it.

So, I've built latest php-5.3.1RC1 with almost all you can imagine.
Just no xmlrpc and PostgreSQL.

MySQL is set to utilize newest mysqlnd!

So after setting config, making it and finally installing it.
I've compressed it and you can download it here:
StarForce.biz
Speed is very high, as it is optical fibers with 5Mbit of upload

It is ment to be in /root
So after decompression, it should be /root/latestPHP

Then check it out with:
Code:
# /root/latestPHP/bin/php -v
# /root/latestPHP/bin/php-cgi -v
You link it to apache then.

And finally with:
Code:
# /root/latestPHP/bin/php -i

!!WARNING!!
You are using something that has been built against MINE ports, which were updated today and this php is LINKED against MINE ports binares.
SO if you do not have VERY SIMILAR port/app layout it might NOT work!


In that case the ONLY way is to built it by yourself.

PS: FreeBSD 7.2 with latest patches
PPS: I've messed up: --with-config-file-path==/usr/local/etc
and it was supposed to be: --with-config-file-path=/usr/local/etc
  #22  
Old September 12th, 2009, 07:09
CodeBlock's Avatar
CodeBlock CodeBlock is offline
Member
 
Join Date: Jul 2009
Location: United States
Posts: 218
Thanks: 21
Thanked 11 Times in 11 Posts
Default

Anyone hear anything back from the maintainer yet? This is kind-of annoying.
__________________
Proud FreeBSD 8-RELEASE user.

CodeBlock on irc.freenode.net and irc.eighthbit.net.
  #23  
Old September 12th, 2009, 15:01
aragon aragon is offline
Giant Locked
 
Join Date: Nov 2008
Location: Cape Town, South Africa
Posts: 2,031
Thanks: 68
Thanked 253 Times in 203 Posts
Default

Last time I saw him comment on the lists he alluded to waiting until there is a stable Suhosin patch for 5.3 until he upgrades the port.

I'm curious to know what the rush is... what major new features does 5.3 have that you're all depending on?
  #24  
Old September 12th, 2009, 18:40
MissileSilo MissileSilo is offline
Junior Member
 
Join Date: Feb 2009
Posts: 29
Thanks: 2
Thanked 0 Times in 0 Posts
Smile

Quote:
Originally Posted by aragon View Post
Last time I saw him comment on the lists he alluded to waiting until there is a stable Suhosin patch for 5.3 until he upgrades the port.

I'm curious to know what the rush is... what major new features does 5.3 have that you're all depending on?
I want to use 5.3's Late Static Binding feature ASAP so I can get rid of a ton of duplicated code. I also want to be able to use anonymous functions, which is a new feature in 5.3. And of course with 5.3 I will be able to namespace all my code.

Since there is no port yet, for testing purposes I compiled it from source on my virtual FreeBSD machine, and it works great.
  #25  
Old September 28th, 2009, 10:05
cmorg cmorg is offline
Junior Member
 
Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Patch is out

Hey

I found the following.

http://www.adaniels.nl/articles/suho...ch-for-php-53/

I think the port maintainer can start
Closed Thread

Tags
patches, pear, php5, php5.3

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Error dpalme Web & Network Services 11 December 20th, 2010 02:28
non-PHP CMS dougy Installation and Maintenance of FreeBSD Ports or Packages 3 January 20th, 2010 17:05
help! php won't build wonslung Installation and Maintenance of FreeBSD Ports or Packages 6 June 4th, 2009 12:40
[PHP][solved][/PHP] General question sossego General 0 April 9th, 2009 23:36
Php 5.2.9 MissileSilo Installation and Maintenance of FreeBSD Ports or Packages 8 March 8th, 2009 14:39


All times are GMT +1. The time now is 20:22.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0