I'm so confused. I'm at this page: http://www.apache.org/dist/httpd/ what do I need to download? I know there's been many threads lately about setting up Apache, PHP, and MySQL. So I thought I'd give it a try.
Printable View
I'm so confused. I'm at this page: http://www.apache.org/dist/httpd/ what do I need to download? I know there's been many threads lately about setting up Apache, PHP, and MySQL. So I thought I'd give it a try.
*assumes you're using Windows*
http://www.apache.org/dist/httpd/binaries/win32/
So....do I download all of them? :confused:
no you need only one
apache_2.0.36-win32-x86-no_ssl.msi
or if you want SSL and no source you get this one
apache_1.3.24-win32-x86-no_src.msi
but that is an older version so it is up to you.
I advise you get this one
http://www.apache.org/dist/httpd/bin...x86-no_ssl.msi
you could download PhpTriad it installs apache, mysql, and php for u :)
http://prdownloads.sourceforge.net/p...1.exe?download
It's installed. Now what do I have to do? Is there any configuration that has to be done?Quote:
Originally posted by chrisjk
I advise you get this one
http://www.apache.org/dist/httpd/bin...x86-no_ssl.msi
*stuck*
woo! I got Apache going. Now I'm gonna work on PHP.
do the PHP files have to be in the htdocs folder for them to execute?
I got this error when trying to run a simple PHP script:
??Quote:
Error message:
Premature end of script headers: php.exe
try running phpinfo() in a script
<?php
phpinfo()
?>
try that and see if it will run. if not you don't have apache configured to run php
Nope, same error. Should the line in the httpd.config file be "Action application/x-httpd-php /php/php.exe" or "# Format: Action application/x-httpd-php /php/php.exe" ??
I'm following the tutorial you have linked on your site btw, lameindustries.org or something like it.
http://64.21.160.2/~filburt1/forums/...&threadid=2625 (http://www.liquid2k.com/filburt1/part1.html if the link doesn't work)
filburt, that even takes me farther down a dead end road.
I have this in mine
Action application/x-httpd-php4 "/php/php.exe"
Action application/x-httpd-php4 "/php4/php.exe"
Action application/x-httpd-php4 "/php3/php.exe"
I think it just tells apache what to look for in extensions.
I'm still dead. I restarted the .conf file from the default and went through that tutorial and the one on scouts site and both end up dry. :confused: