Note:
Please direct all future questions to Stackoverflow.com.
MAMP PRO customers can direct their questions to support.appsolute.de.
Hinweis:
Bitte posten Sie ab jetzt Ihre Fragen bei Stackoverflow.com.
Unseren Support für MAMP PRO erreichen Sie unter support.appsolute.de.

PHP 5.4 Support

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

Moderator: severin

PHP 5.4 Support

Postby slimandslam » Thu Mar 01, 2012 11:11 pm

PHP 5.4 is out: http://php.net/releases/5_4_0.php

It would be nice if the next version of MAMP supported it so we could all get started
playing with the new features.

J
slimandslam
 
Posts: 6
Joined: Tue Jan 12, 2010 12:29 am

Re: PHP 5.4 Support

Postby tdlm » Fri Mar 02, 2012 5:18 pm

slimandslam wrote:PHP 5.4 is out: http://php.net/releases/5_4_0.php

It would be nice if the next version of MAMP supported it so we could all get started
playing with the new features.

J


Agreed. At least a way to make php 5.4 work with MAMP would be nice.
tdlm
 
Posts: 1
Joined: Fri Mar 02, 2012 5:14 pm

Re: PHP 5.4 Support

Postby Handyman » Mon Mar 05, 2012 9:09 pm

Compiling instructions would be fantastic! That way would could compile different versions of software to work with MAMP if needed.
http://startrekguide.com Testing, support and mods for phpBB3 and future home of StarTrekGuide
Handyman
 
Posts: 21
Joined: Tue Jun 20, 2006 7:20 am

Re: PHP 5.4 Support

Postby cillyRabbit » Thu Mar 08, 2012 2:38 am

I'm going to second this, or third it, or fourth it. 5.4 takes php to a new level. On that note, I wish there was a third party software like MAMP or AMPPS that would make installing the latest version of php easy, or prior versions for that matter. I do not have an efficient way of doing this locally at this point and it usually ends in me spending half my week debugging whatever I installed wrong :P Whoever makes that leap first get's my vote... and my donations :)
cillyRabbit
 
Posts: 3
Joined: Mon Jan 16, 2012 1:42 am

Re: PHP 5.4 Support

Postby Handyman » Thu Mar 08, 2012 5:04 am

cillyRabbit wrote:I'm going to second this, or third it, or fourth it. 5.4 takes php to a new level. On that note, I wish there was a third party software like MAMP or AMPPS that would make installing the latest version of php easy, or prior versions for that matter. I do not have an efficient way of doing this locally at this point and it usually ends in me spending half my week debugging whatever I installed wrong :P Whoever makes that leap first get's my vote... and my donations :)


I just asked AMPPS about that yesterday and they seemed extremely interested! They also promised me 5.4 in AMPPS is coming very soon, so we'll see which software gets updated first :)
http://startrekguide.com Testing, support and mods for phpBB3 and future home of StarTrekGuide
Handyman
 
Posts: 21
Joined: Tue Jun 20, 2006 7:20 am

Re: PHP 5.4 Support

Postby cillyRabbit » Thu Mar 08, 2012 6:33 pm

Handyman wrote:I just asked AMPPS about that yesterday and they seemed extremely interested! They also promised me 5.4 in AMPPS is coming very soon, so we'll see which software gets updated first :)


AWESOME! My money is on AMPPS but I love being proven wrong :)
cillyRabbit
 
Posts: 3
Joined: Mon Jan 16, 2012 1:42 am

Re: PHP 5.4 Support

Postby saverio » Thu Mar 08, 2012 10:56 pm

Yes, PHP 5.4 support is ABSOLUTELY needed. It's a huge step forward for PHP in a lot of areas and given how big some of the changes are, testing is 100% needed!
saverio
 
Posts: 1
Joined: Thu Mar 08, 2012 10:53 pm

Re: PHP 5.4 Support

Postby TrevStuff » Sat Mar 10, 2012 8:24 pm

It looks like BitNami has updated their Mamp stack to include php 5.4.

Check this out...
http://blog.bitnami.org/2012/03/updated ... tnami.html

I am excited to get started with the new features in php 5.4.
TrevStuff
 
Posts: 1
Joined: Sat Mar 10, 2012 8:07 pm

Re: PHP 5.4 Support

Postby Philipp Börckel » Mon Mar 12, 2012 12:54 pm

The upcoming version of MAMP and MAMP Pro will Support PHP 5.4
Philipp Börckel
Site Admin
 
Posts: 6
Joined: Fri Mar 18, 2011 10:17 am

Re: PHP 5.4 Support

Postby nrogers64 » Mon Mar 12, 2012 3:34 pm

Philipp Börckel wrote:The upcoming version of MAMP and MAMP Pro will Support PHP 5.4


Awesome! Is there a rough estimate as to when the upcoming version might be released? Also, is there a plan to support Apache 2.4 any time soon?
nrogers64
 
Posts: 2
Joined: Mon Feb 27, 2012 6:18 pm

Re: PHP 5.4 Support

Postby cillyRabbit » Tue Mar 13, 2012 3:04 am

TrevStuff wrote:It looks like BitNami has updated their Mamp stack to include php 5.4.

Check this out...
http://blog.bitnami.org/2012/03/updated ... tnami.html

I am excited to get started with the new features in php 5.4.


Never even realized this was an option. I traditionally have used Marc Liyanage's stuff but have recently got interested in MAMP. On that note is BitNami always this fast? I'm a bit surprised that they came out with a MAMP stack before MAMP came out with a MAMP version.
cillyRabbit
 
Posts: 3
Joined: Mon Jan 16, 2012 1:42 am

Re: PHP 5.4 Support

Postby deth4uall » Tue Mar 20, 2012 3:25 pm

If we could get the admins of MAMP to tell us generally what they did to compile the Open Source side of the MAMP, I could easily provide new versions of PHP, etc. However I have only seen resistance or ignorance of my requests. I know I need to have a folder named /MAMP_src but other than that I am stumped because I haven't found out the rest or had time to. :(

Additionally, I like how those others have some features that MAMP has but so far MAMP is the easiest to use, and I would like to see more of it available soon! :)
deth4uall
 
Posts: 4
Joined: Mon Mar 19, 2012 2:12 pm

Re: PHP 5.4 Support

Postby mmjaeger » Tue Mar 20, 2012 6:08 pm

as the MAMP communication doesn't seem to improve I have been looking for some alternatives like: http://www.eosgarden.com/en/ (Webstart) - I was wondering whether anybody is familiar with it - it looks very promising - Let me know what you think if you give it a try.
mmjaeger
 
Posts: 13
Joined: Wed Mar 26, 2008 7:51 am

Re: PHP 5.4 Support

Postby deth4uall » Wed Mar 21, 2012 9:42 pm

mmjaeger wrote:as the MAMP communication doesn't seem to improve I have been looking for some alternatives like: http://www.eosgarden.com/en/ (Webstart) - I was wondering whether anybody is familiar with it - it looks very promising - Let me know what you think if you give it a try.

Wow, that looks pretty impressive. It has more options too! :P
deth4uall
 
Posts: 4
Joined: Mon Mar 19, 2012 2:12 pm

Re: PHP 5.4 Support

Postby arzynik » Tue Mar 27, 2012 6:35 pm

i was able to successfully compile php 5.4 for use with the built in apache for osx, as well as the cli, but somehow am unable to get it to work with MAMP. im not sure if theres something special i need to do other than copy my libphp5.so over.

heres kinda how i did it

download the mamp components
http://sourceforge.net/projects/mamp/fi ... p/download


install xslt
go into mamp components
extract it
cd into it
./configure
make

install mcrypt
go into mamp components
extract it
cd into it
./configure
make

install imap
go into mamp components
extract it
cd imap-2007e/
make osx EXTRACFLAGS="-arch i386 -arch x86_64 -g -Os -pipe -no-cpp-precomp"
sudo mkdir /usr/local/include
sudo cp c-client/*.h /usr/local/include/
sudo mkdir /usr/local/lib
sudo cp c-client/*.c /usr/local/lib/
sudo cp c-client/c-client.a /usr/local/lib/libc-client.a


you may find that you need to install more libs than i did, as i have xcode installed which installs some, including libpng.

configure
here is my configure

Code: Select all
./configure \
--with-mysql \
--with-apxs2=/usr/sbin/apxs \
--with-gd \
--with-jpeg-dir=/Applications/MAMP/Library \
--with-png-dir=/usr/X11 \
--with-zlib \
--with-freetype-dir=/usr/X11 \
--prefix=/Applications/MAMP/bin/php/php5.4 \
--exec-prefix=/Applications/MAMP/bin/php/php5.4 \
--sysconfdir=/Applications/MAMP/bin/php/php5.4/conf \
--with-config-file-path=/Applications/MAMP/bin/php/php5.4/conf \
--with-config-file-scan-dir=/Applications/MAMP/bin/php/php5.4/conf/php.d \
--enable-bcmath \
--enable-ftp \
--enable-gd-native-ttf \
--with-bz2=/usr \
--with-ldap \
--with-mysqli \
--with-t1lib=/Applications/MAMP/Library/lib \
--enable-mbstring=all \
--with-curl=/Applications/MAMP/Library \
--enable-sockets \
--enable-bcmath \
--with-openssl \
--with-imap=/Applications/MAMP/Library/lib/imap-2007e \
--with-imap-ssl \
--with-kerberos \
--enable-calendar \
--with-pgsql=shared,/Applications/MAMP/Library/pg \
--enable-exif \
--with-libxml-dir=/Applications/MAMP/Library \
--with-gettext=shared,/Applications/MAMP/Library \
--with-xsl=/Users/me/Downloads/MAMP_components_2.0.2/libxslt-1.1.26 \
--with-pdo-mysql \
--with-pdo-pgsql=/Applications/MAMP/Library/pg \
--with-mcrypt=/Users/me/Downloads/MAMP_components_2.0.2/libmcrypt-2.5.8/lib \
--enable-zip \
--without-iconv



make and install
make
sudo make install
this will show you the paths of where it is going

at this point php 5.4 is working on the built in apache

attempting to get to work with mamp
for some reason it keeps trying to load up some php modules complaining about mismatched api versions. i honestly could not figure out where it was loading these from.

with display startup errors on i was getting a fatal error this is because allow_call_time_pass_reference is now disabled in php 5.4

the next error i got was this
These options need to match in Unknown on line 0

i read something about this being thread safety issues, but honestly once i realized i could just copy over my mamp httpd.conf to the default apache, i gave up.


here are some sites that helped me on the way
http://articles.serenity.de/compiling_php_with_oracle/
http://www.activecollab.com/forums/topic/5844/
http://www.davidgolding.net/cakephp/upg ... -mamp.html


hopefully someone else will have more luck!
arzynik
 
Posts: 1
Joined: Tue Mar 27, 2012 6:10 pm

Next

Return to List of wishes

Who is online

Users browsing this forum: Google [Bot], Google Feedfetcher and 1 guest

wager-taxi