New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mavericks 10.10 error: unixd_config #117

Closed
nexflo opened this Issue Jun 3, 2014 · 9 comments

Comments

Projects
None yet
3 participants
@nexflo
Copy link
Contributor

nexflo commented Jun 3, 2014

I get a:
httpd: Syntax error on line 527 of /private/etc/apache2/httpd.conf: Syntax error on line 8 of /private/etc/apache2/other/+php-osx.conf: Cannot load /usr/local/php5/libphp5.so into server: dlopen(/usr/local/php5/libphp5.so, 10): Symbol not found: _unixd_config\n Referenced from: /usr/local/php5/libphp5.so\n Expected in: /usr/sbin/httpd\n in /usr/local/php5/libphp5.so

for 5.4,5.5 & 5.6
seems the homebrew guys had something similar:Homebrew/homebrew-php#533

@nexflo

This comment has been minimized.

Copy link
Contributor Author

nexflo commented Jun 3, 2014

Lookin at the Apache docs http://httpd.apache.org/docs/2.4/developer/new_api_2_4.html

unixd_config
This has been renamed to ap_unixd_config.

Seems one can just uncomment the native php5 module loader in httpd. Works as expected...

@chregu

This comment has been minimized.

Copy link
Member

chregu commented Jun 3, 2014

10.10 has rather low priority to me right now, will certainly change in a few weeks when release is nearer.

But patches are always welcome ;)

@chregu

This comment has been minimized.

Copy link
Member

chregu commented Jun 9, 2014

Really looks like Apple upgraded to httpd 2.4, can't find a way than needing a recompile and separate binaries. Maybe I'll drop 10.6/10.7 support in return (or don't update them that often)

@chenfanggm

This comment has been minimized.

Copy link

chenfanggm commented Jun 9, 2014

@nexflo so, how things go with the issue now? where's the "native php5 module loader". still have the unixd_config issue.

@nexflo

This comment has been minimized.

Copy link
Contributor Author

nexflo commented Jun 9, 2014

Well i didnt use Liip in 10.10 - just went into httpd.conf and used native PHP - #LoadModule php5_module libexec/apache2/libphp5.so
2nd option is to use homebrew and install it and then use LoadModule php5_module /usr/local/opt/php54/libexec/apache2/libphp5.so

till its fixed.

@chregu

This comment has been minimized.

Copy link
Member

chregu commented Jun 9, 2014

Yosemite comes with PHP 5.5.9, so I hope there's no totally urgent need for php-osx. (And I hope you didn't install a Apple Developer Preview Version 1 on your "production" machine)

But to get rid of it, do what @nexflo said, just use the one Apple provides (didn't compare what extensions are missing)

@chregu

This comment has been minimized.

Copy link
Member

chregu commented Jun 9, 2014

Ok, I have a build for 5.5 on 10.10, please test

iodbc and memcached are missing, couldn't compile them yet

@nexflo

This comment has been minimized.

Copy link
Contributor Author

nexflo commented Jun 9, 2014

Awesome, will test it out once I got some time.
@chregu : Would be great to put in mcrypt as well - many current frameworks/tools require it atm.

@chregu

This comment has been minimized.

Copy link
Member

chregu commented Jun 9, 2014

mcrypt is there, since quite some time, if it doesn't work for you, tell me ;)

I close this issue now, I will also upload packages for the other PHP versions soon

@chregu chregu closed this Jun 9, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment