Hello Bob,
Regarding the "MSI" file, it seems that you have downloaded the Apache
'source code' used for compiling into executable binaries. I believe that
you want the precompiled Win32 binaries available at this link:
http://apache.tradebit.com/pub/httpd/binaries/win32/apache_2.2.6-win32-x86-n
o_ssl.msi
Delete the Apache files that you have now and install the .msi file from the
link above; ensure that the lines below are in your httpd.conf file.
Hopefully that will get you going in the right direction.
These lines should be present in your Apache httpd.conf file:
In the section:
<IfModule mime_module>
AddType application/x-httpd-php .php .html
</IfModule>
# Other PHP-specific parameters at the end of httpd.conf:
# the path to PHP on your machine may be different
PHPIniDir "C:/PHP/"
# again your path may be different
LoadModule php5_module "C:/PHP/php5apache2_2.dll"
Jeff
-----Original Message-----
From: rjdani [mailto:[EMAIL PROTECTED]
Sent: Monday, October 15, 2007 3:36 PM
To: [email protected]
Subject: [PHP-WIN] PHP Install problems
I'm trying to work my way through the "Beginning PHP5, Apache, MySql Web
Development" book by Elizabeth Naramore, et. al. -- i.e. a newbie. I'm
having trouble getting Apache to recognize my php code files on my HP
Windows XP machine. It has service pack 2 and is current with updates.
I followed the examples in the book and added a documentroot line and a
directory line to the httpd.conf file. The index.html file worked witn IE7
but not with Fire Fox when I used the http://localhost URL. Next I created
the second check which had me create a php testing file phptest.php in the
same directory as the index.html file. Which included the following code: --
<HTML>
<HEAD>
<TITLE>PHP Testing</TITLE>
</HEAD>
<BODY>
<?php
echo "If this works, we <i>really<-i> did it!";
?>
</BODY>
</HTML>
When I used the http://localhost/phptest.php a 404 url not found message
resulted.
was when I unzipped the httpd-2.2.6-win32-src-r2.zip file I do not see the
MSI file mentioned in Appendix I of the book. Can any one help me.
RJD (bob daniels)
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php