Update the PHP version.

Any wishes or suggestions for MAMP?
Post here what functions you are still missing for MAMP.

Moderator: severin

Post Reply
tonythor
Posts: 12
Joined: Thu 9. Oct 2008, 01:27

Update the PHP version.

Post by tonythor » Thu 9. Oct 2008, 01:41

This one particular PHP bug is really killing me right now.

http://bugs.php.net/bug.php?id=41528

Basically, when I have an object, like a collection, with children in it, like a collection object, the whole serialize thing just doesn't work at all. I tried rewriting the methods by implementing the interface, everything. Nothing works, and this bug is accurate.

Is there a way to get PHP5.3 binaries or something to drop into MAMP?

Or is there an ETA of when we can beta test 5.3 mamp?
Sign me up if there is, I'm all over it.



tony fraser

User avatar
Highway of Life
Posts: 46
Joined: Wed 25. Apr 2007, 19:07
Location: In my brain
Contact:

Re: Update the PHP version.

Post by Highway of Life » Thu 9. Oct 2008, 02:32

I don’t think it would be logical to compile PHP 5.3 into MAMP until PHP 5.3 is stable.
I noticed that bug was fixed in late 2007, is the fix not included in PHP 5.2.6?
5.2.6 was recently released and MAMP just released 1.7.2 which includes this update.
- Highway of Life
MAMP Forums Moderator - If you see spam, please use the “report post” button at the top right of the post.

Software Engineer

tonythor
Posts: 12
Joined: Thu 9. Oct 2008, 01:27

Re: Update the PHP version.

Post by tonythor » Thu 9. Oct 2008, 12:56

Well, give I just downloaded a fresh copy of mamp last week, no, it does not seem to be fixed. And logical, you probably couldn't logically make that statement w/o knowing the all the factors involved, right? Not only is it logical, but it's what I have to do.

As it turns out, it's really rather easy to recompile PHP for mamp.

Basically, download from snaps.php.net
Go into the downloaded directory.
Cut an paste the compile from mamp's phpmyadmin.
add in ''without-iconv'. (or find out how to fix that yourself)
make/make install.
and add on entry to php.ini.

tonythor
Posts: 12
Joined: Thu 9. Oct 2008, 01:27

Re: Update the PHP version.

Post by tonythor » Fri 10. Oct 2008, 21:51

And change:

'--with-pdo-mysql=shared,/Applications/MAMP/Library'

To

'--with-pdo-mysql=/Applications/MAMP/Library'

krause
Posts: 15
Joined: Fri 3. Nov 2006, 20:18

Re: Update the PHP version.

Post by krause » Wed 18. Feb 2009, 16:57

PHP 5.2.8 is stable since December 2008.

It would be nice to get this in MAMP. Moodle 2.0 does not work with MAMP 1.7.2 so I have to build Moodle4Mac with XAMPP 1.0.0 if I can't get a new MAMP version. XAMPP 1.0.0 comes with PHP 5.2.8.

Best regards, Ralf Krause

Moodle4Mac - http://download.moodle.org/macosx

loslatas31
Posts: 1
Joined: Mon 2. May 2011, 03:34

Re: Update the PHP version.

Post by loslatas31 » Sat 7. May 2011, 00:18

If I update my PHP version of my website, will it cause errors because I have some customization done to my template. My brother told me that if I copy my website and place it on a test server. Then update my PHP version I can test it for bugs without messing up my forum. Is that step really necessary, or do you think I won't have any issues?
What major cities besides seo chicago, and new work can I find an affordable SEO option that uses English speaking link builders? Anyone on the forum grow a plant called kratom or believe there is a need to own an survival seed bank in the society we live in today?

alexis_jones
Posts: 1
Joined: Sat 11. Aug 2012, 05:48

Re: Update the PHP version.

Post by alexis_jones » Sat 11. Aug 2012, 05:56

tonythor wrote:This one particular PHP bug is really killing me right now.

http://bugs.php.net/bug.php?id=41528

Basically, when I have an object, like a collection, with children in it, like a collection object, the whole serialize thing just doesn't work at all. I tried rewriting the methods by implementing the interface, everything. Nothing works, and this bug is accurate.

Is there a way to get PHP5.3 binaries or something to drop into MAMP?

Or is there an ETA of when we can beta test 5.3 mamp?
Sign me up if there is, I'm all over it.



tony fraser
Hi Tony,

Did you figure out the solution to this problem? I have recently downloaded mamp and I have the same bug. Did you ever figure out how to fix it? Thanks in advance for your help.
Image

peter212
Posts: 1
Joined: Mon 15. Apr 2013, 06:12

Re: Update the PHP version.

Post by peter212 » Mon 15. Apr 2013, 06:18

I updated the version and didnt faced any problem.I guess the trick is to do the upgradation carefully.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests