I just downloaded PHP, MySQL and Apache (latest versions of each). I'm using a book "PHP Fast and East Web Development" to learn PHP5. So far I've had nothing but trouble with the book.. i.e. not helping much. But I think its because the versions I am trying to install are different then the books versions.
I have MySQL and Apache installed and as far as I can tell they are both working. I can access MySQL with MySQL Administrator, and the Apache service is running near the system clock.
The book wants me to test the installation of PHP/Apache and informs me to make the following change in httpd.conf. The line I added is in bold.
Code: Select all
#
# Dynamic Shared Object (DSO) Support
#
...
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
...
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule ssl_module modules/mod_ssl.so
[b]LoadModule php5_module C:/php// php5apache2.dll[/b]
# 'Main' server configurationWhen I use Apache Service Monitor to start Apache, it starts up fine. I stop the service, add that line, and then try to start the service and it fails to start. I removed the line and then it started again.
The book is telling me to add that line to install the Apache Module version of PHP. Can someone tell me why this line is failing, am I doing it incorrectly? I've tried with several combinations but I can't get it to start with that line.
BTW: Bold isnt working, so the line I'm adding is just tagged
Thanks.