How to install PHP and Apache

A few days ago I crossed a book with a fascinating title “Beginning PHP6, Apache, MySQL 6 Web Development” edited by wrox  about creating dynamic web sites and I couldn’t refrain from buying it.

First it teaches you how to install the three programs starting with Apache downloaded from http://www.apache.org. Following the instruction it worked fine then it was the turn of PHP downloaded from http://www.php.net Things didn’t work so I went on to the “Beginning PHP6, Apache, MySQL 6 Web Development” web support were I found many people with the same problem and yet no answer. I have found my way to the answer through one of the posts that linked to this fine article inside sitepoint web site. Here you get the right hint about thread-safe vs. non-thread-safe PHP5.3  installation and moreover you get the link to the other sitepoint article How to install PHP on Windows where it tells how to configure PHP5 editing php.ini and above all how to configure Apache2.2 to load PHP as a module editing Apache2.2\conf\httpd.conf

All in all it’s not too different from what said the book but this works and that doesnt!

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s


%d bloggers like this: