php-osx available for OS X 10.10 Yosemite

Apple released OS X Yosemite as a public beta release last week and it of course comes with updated utilities, eg. Apache httpd 2.4 and PHP 5.5

Since httpd 2.4 is not API compatible for modules, the php-osx packages didn’t work and we needed to recompile the packages. That’s what I did and now you can install php-osx also for OS X Yosemite with the usual simple command.

I couldn’t compile libmemcached yet, will try to figure that out when everything settled a little. Also the iodbc extension had some problems, so that’s not in the package yet.

There was also a compile problem with 5.3, so that’s not available yet for 10.10

With all this, I have some questions about future support of all the possible versions:

  • Are you still using OS X 10.6/10.7 and would like to have updates on those platforms?
  • Do you need upcoming PHP versions like 5.6 on 10.6/10.7?
  • Do you need PHP 5.3 on OS X 10.10 (Yosemite)?
  • Do you need iodbc?
  • Anything else missing?

If you answer one of those questions with yes, please leave a comment (I also will analyse the logs to see how many times the different versions are downloaded). Or file an issue on the github project. We won’t remove any of the available packages today, the question is more about future support and if it’s worth to put some effort to eg. get PHP 5.3 running on 10.10 or PHP 5.6 on 10.6/10.7 (both currently fail for me)

You can also see what PHP version we support for what OS X version and when we last updated it at the bottom of php-osx.liip.ch. And if you didn’t notice, we also have packages for PHP 5.6beta since quite some.

Having said all that, we at Liip mostly use vagrant boxes nowadays, our operating-systems-used landscape got much more diverse and it’s much easier with vagrant to ensure a common working environment on all systems. Stuff like imagemagick is also much easier to install in a linux vagrant box and HHVM anyway (where the support on OS X is quite limited right now. It works, but still a little bit of a pain, homebrew on the other hand helps a lot as well in this regard)

hi, i have installed yosemite beta but my iPhoto is missing, how do i access my photos now.

thanks

This blogpost is totally not about iPhoto and I have no idea where that went. It’s a developer preview, so well possible they left some things out for now

Have you had any issues with 403 Forbidden? I’m unable to fix this.

I need a PHP 5.3 on Yosemite because some of old projects that I maintain are hosted on old shared servers where PHP 5.3 was the hi-tech. And now I have only one way – to use Virtual Machine…

Yeah, 5.3 for yosemite won’t come soon from me. Still not sure, if I will ever do it, depends how easy it is to make it compile again.

So yes, Virtual Machine for you for now

Hello, i installed the public beta 2 of yosemite and tried to run symfony2 websites with the php5.5.16 package,
Does someone know a solution for this problem?

Thanks
Best regards Thomas

Appache error log
[Thu Aug 28 10:16:22.102564 2014] [auth_digest:notice] [pid 4821] AH01757: generating secret for digest authentication …
[Thu Aug 28 10:16:22.103192 2014] [ssl:warn] [pid 4821] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Aug 28 10:16:22.103238 2014] [lbmethod_heartbeat:notice] [pid 4821] AH02282: No slotmem from mod_heartmonitor
[Thu Aug 28 10:16:22.104253 2014] [mpm_prefork:notice] [pid 4821] AH00163: Apache/2.4.9 (Unix) PHP/5.5.16 OpenSSL/0.9.8za configured — resuming normal operations
[Thu Aug 28 10:16:22.104286 2014] [core:notice] [pid 4821] AH00094: Command line: ‘/usr/sbin/httpd -D FOREGROUND’
[Thu Aug 28 10:42:01.764752 2014] [core:notice] [pid 4821] AH00052: child pid 4877 exit signal Segmentation fault (11)
[Thu Aug 28 10:42:01.764810 2014] [core:notice] [pid 4821] AH00052: child pid 4826 exit signal Segmentation fault (11)
[Thu Aug 28 10:42:03.770903 2014] [core:notice] [pid 4821] AH00052: child pid 4884 exit signal Segmentation fault (11)
[Thu Aug 28 10:42:03.770944 2014] [core:notice] [pid 4821] AH00052: child pid 4882 exit signal Segmentation fault (11)
[Thu Aug 28 10:42:03.770953 2014] [core:notice] [pid 4821] AH00052: child pid 4881 exit signal Segmentation fault (11)
[Thu Aug 28 10:42:04.771123 2014] [core:notice] [pid 4821] AH00052: child pid 4885 exit signal Segmentation fault (11)
[Thu Aug 28 10:42:08.779607 2014] [core:notice] [pid 4821] AH00052: child pid 4887 exit signal Segmentation fault (11)
[Thu Aug 28 10:42:08.779673 2014] [core:notice] [pid 4821] AH00052: child pid 4886 exit signal Segmentation fault (11)
[Thu Aug 28 10:42:09.780693 2014] [core:notice] [pid 4821] AH00052: child pid 4894 exit signal Segmentation fault (11)
[Thu Aug 28 10:42:10.853069 2014] [core:notice] [pid 4821] AH00052: child pid 4895 exit signal Segmentation fault (11)
[Thu Aug 28 10:42:14.002365 2014] [core:notice] [pid 4821] AH00052: child pid 4899 exit signal Segmentation fault (11)
[Thu Aug 28 10:42:14.002425 2014] [core:notice] [pid 4821] AH00052: child pid 4896 exit signal Segmentation fault (11)
[Thu Aug 28 10:42:15.076382 2014] [core:notice] [pid 4821] AH00052: child pid 4902 exit signal Segmentation fault (11)
[Thu Aug 28 10:42:15.076436 2014] [core:notice] [pid 4821] AH00052: child pid 4901 exit signal Segmentation fault (11)
httpd(4903,0x7fff7dd43300) malloc: *** error for object 0x7fcfb5a22338: incorrect checksum for freed object – object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
[Thu Aug 28 10:42:16.076627 2014] [core:notice] [pid 4821] AH00052: child pid 4903 exit signal Abort trap (6)

Where I work a lot of our projects require php 5.3. Making 5.3 compile on Yosemite would be an amazing help to us.

I would love to see PHP 5.3.* to work under 10.10 Yosemite. Your hard work has made our development environment setup easy for myself and my team. Please feel free to email me if you need help. Thank you and looking forward to 5.3 for 10.10.

Made 5.3 compile on 10.10, can you reinstall it and try it out.

First, thanks for all your work – this php you all compile has been a lifesaver. Yes to iODBC. We do a lot of integration and it’s necessary.

Thanks!

iodbc extension for Yosemite would be great. I missed the ODBC functions in Apple’s PHP package, and was very happy with your compilation for Mavericks. Anyway, thanks a lot for your work!

Any news on iodbc? Thank you.

This is a really great job, thank you.
Do you think you’ll be able to provide iODBC support ?
I tried to compile it without success