apache2.4 + php >= 5.3 #375

Shine-neko opened this Issue Nov 16, 2012 · 3 comments


None yet

2 participants


I have a weird bug when I import the module in apache php

httpd: Syntax error on line 163 of /usr/local/Cellar/apache24/2.4.3/conf/httpd.conf: Cannot load /usr/local/Cellar/php54/5.4.11/libexec/apache2/libphp5.so into server: dlopen(/usr/local/Cellar/php54/5.4.11/libexec/apache2/libphp5.so, 10): Symbol not found: _unixd_config\n  Referenced from: /usr/local/Cellar/php54/5.4.11/libexec/apache2/libphp5.so\n  Expected in: /usr/local/Cellar/apache24/2.4.3/bin/httpd\n in /usr/local/Cellar/php54/5.4.11/libexec/apache2/libphp5.so

Brew doctror https://gist.github.com/4616500

OS X Version: ex. 10.8.2
Homebrew Version: 0.9.3
PHP Version in use: homebrew-php stable
XCode Version: 4.5.2

Output of gcc -v
    sing built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~67/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~67/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)

Output of php -v
 PHP 5.4.11 (cli) (built: Jan 24 2013 01:39:56) 
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies

Output of brew install -V /usr/local/Library/Formula/php53.rb --with-pgsql --with-mariadb --with-intl --with-suoshin --without-apache --with-fpm
    Error: php53-5.3.18 already installed

Output of brew doctor (not within a gist)
    Your system is raring to brew.

Please include all the debugging info I ask for in the readme. Thanks!


Closing because no information requested was included. Feel free to recomment on this with what I ask for in the project readme.


@josegonzalez you can reopen the issue or i create a new ?

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