Web Development using PHP on Mac OSX

I have always been a big fan of PHP, now that I am trying to code an app using PHP, I decided to install a PHP module for the Apache webserver running in OSX.

The Entropy package seemed to be a good option. I downloaded the module for Apache 2 and after installation my Apcahe webserver would not even start (personal web sharing would not turn on in System Prefernces>>Sharing>>Services). I started googling and found this article.

I typed in sudo apachectl configtest in terminal and this is what I got:

Syntax error on line 8 of /private/etc/httpd/users/+entropy-php.conf:
Cannot load /usr/local/php5/libphp5.so into server: (reason unknown)

I tried reinstalling the Entropy module and that came with an error, I probably missed the error message when I was installing it the first time. I then tried a different package for Apache 1.3 and it worked perfectly, so I am assuming I have Apache 1.3 running.

Anyway everything seems to be fine now and MySQL seems to be working as well.So it is time to code!

Leave a Reply

Your email address will not be published. Required fields are marked *