XAMPP PHP PECL OAuth MacBook Pro Retina Maverick

Here
Missing the php.h file which can be fixed using the following command: 

xcode-select --install

It is the mac xcode command line developer tools

Who knew that xcode carries so much weight into XAMP Mac installations.

Tried it on my local macbook pro and it was another mad house. Keep getting issues with php.h missing.

What I changed was my bin dir for pecl configurations.

sudo PECL config-set bin_dir /usr/bin

It worked like a charm.

Finding that there is an issue installing OAuth with PHP 5.5 and above running XAMPP 1.8.3-4

I had to downgrade to XAMPP 1.8.2-5 running PHP 5.4.27 and it worked like a charm.

Reason was I was having issues saying mismatch builds. 20121212 and 20010525 between the oAuth and PHP. For some reason the oAuth version had to be newer than the PHP build. I tried compiling from source but it didn't work either.

The config used for the source code build was:

sudo ./configure MACOSX_DEPLOYMENT_TARGET=10.9 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"

*Still confused*

Comments

Popular posts from this blog

Chat Tu Chak Market

Rainy Saturday