You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'have tried to install aop extension on mac OSX 10.7.5 using PECL and following instructions given here http://aop-php.github.io/ :
#Clone the repository on your computer
git clone https://github.com/AOP-PHP/AOP
cd AOP
#prepare the package, you will need to have development tools for php
phpize
#compile the package
./configure
make
#before the installation, check that it works properly
make test
#install
make install
Everything goes right except that the extension loading failed on Apache server starting.
#Clone the repository on your computer
git clone https://github.com/AOP-PHP/AOP
cd AOP
#Setup compilation variables
MACOSX_DEPLOYMENT_TARGET=10.7
CFLAGS="-arch i386 -g -Os -pipe -no-cpp-precomp"
CCFLAGS="-arch i386 -g -Os -pipe"
CXXFLAGS="-arch i386 -g -Os -pipe"
LDFLAGS="-arch i386 -bind_at_load"
export CFLAGS CXXFLAGS LDFLAGS CCFLAGS MACOSX_DEPLOYMENT_TARGET
#prepare the package
phpize --with-php-config=/usr/local/zend/bin/php-config
#compile the package
./configure --with-php-config=/usr/local/zend/bin/php-config
make
#before the installation, check that it works properly
make test
#install
make install
The text was updated successfully, but these errors were encountered:
I'have tried to install aop extension on mac OSX 10.7.5 using PECL and following instructions given here http://aop-php.github.io/ :
#Clone the repository on your computer
git clone https://github.com/AOP-PHP/AOP
cd AOP
#prepare the package, you will need to have development tools for php
phpize
#compile the package
./configure
make
#before the installation, check that it works properly
make test
#install
make install
Everything goes right except that the extension loading failed on Apache server starting.
I found the following solution to my issue (http://artur.ejsmont.org/blog/content/how-to-compile-php-52-extensions-on-mac-106-snow-leopard-with-mamp) :
#Clone the repository on your computer
git clone https://github.com/AOP-PHP/AOP
cd AOP
#Setup compilation variables
MACOSX_DEPLOYMENT_TARGET=10.7
CFLAGS="-arch i386 -g -Os -pipe -no-cpp-precomp"
CCFLAGS="-arch i386 -g -Os -pipe"
CXXFLAGS="-arch i386 -g -Os -pipe"
LDFLAGS="-arch i386 -bind_at_load"
export CFLAGS CXXFLAGS LDFLAGS CCFLAGS MACOSX_DEPLOYMENT_TARGET
#prepare the package
phpize --with-php-config=/usr/local/zend/bin/php-config
#compile the package
./configure --with-php-config=/usr/local/zend/bin/php-config
make
#before the installation, check that it works properly
make test
#install
make install
The text was updated successfully, but these errors were encountered: