I purchased your book from Amazon on Thursday, and while waiting for it to arrive I thought I would setup the environment that listed in Appendix A. I placed these two lines of code in the httpd.conf file at line 115 LoadModule php5_module c:/php/php5apache2.dll AddType application/x-httpd-php .php But when I start the apache server I receive an error, which says there is a syntax error on line 115 and when I try to run the test.php program in my browser, the program prints as text and does not display the PHP Version display. Do you have any idea why this might happen? Thanks for your thoughts�.. WBR
posted 13 years ago
I should show you the full error message I received:
httpd.exe: Syntax error on line 115 of C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/php/php5apache2.dll into server: The specified module could not be found. Note the errors or messages above, and press the <ESC> key to exit. 8....
Cristian: Thanks for taking the time to respond. This is the name of the file I downloaded from the Apache website, "apache_2.2.3-win32-x86-no_ssl.msi". In my php folder I have the file "php5apache2.dll".
A search of the php folder using the dir command in the following statement retruns these files: C:\php>dir php5apac*.dll Volume in drive C is DRIVE_C Volume Serial Number is 8CBF-361B
Directory of C:\php
Are there some other things I should look for? Thanks for your attention WBR