I have bought this book about 8 months ago and this week I started focus study it.
I have a very simple problem but have no skills yet to get along.
I installed: MySql, Apache and then Php
When loading the local page http://localhost/ I do see the It works! page just fine.
At this point I believe everything was properly installed.
After I wrote my first .Php file and called from the severside it’s show the code instead “Today’s date!”… However, after upload the same file in my web-host the server date showed just fine as you can see @ http://www.allaboutlawncare.net/today.php
My question will be: Why I see the .Php code instead the date from my local server?
I’m a new .Php user… I have a few a little bit of knowledge on .Php but would like to improve with this book as well MySql skills.
The book page 18-19 says “… All you need to do is add the following lines to the very end of the file”
LoadModule…
AddType …
This is not right… Those lines can not be enter in the very end of the file but in different part of the file such as:
LoadModule … after the last line of the loadmodule section
AddType … before the closing </IfModule> for mime_module
If following the book… the Apache will never interpret .php files.
Another major point that the book didn’t make any comment was about copy all .dll files at the root of your php directory into your system32 directory except those that is using php5*.dll
I hope this threads be alive for a while… Pretty sure will help others.