[SOLVED] Apache help(it's setup but wont work)
Moderator: General Moderators
[SOLVED] Apache help(it's setup but wont work)
I started it, ahd no problems. The console opened and everything without error. However when I open the monitor it says that there are no servers. And when I opened a PHP file in the directory I specified in the httpd.conf file and it did not work. Anything I didn't do that i should have?
Last edited by HaVoC on Sat Aug 07, 2004 7:56 pm, edited 1 time in total.
http://www.cmairscreate.com/server.html is a good place for installation and general apache help!
-
d3ad1ysp0rk
- Forum Donator
- Posts: 1661
- Joined: Mon Oct 20, 2003 8:31 pm
- Location: Maine, USA
I will tell you exactly what I did, maybe you can find a problem.
I unzipped PHP5 to a directory.
I ran the Apache nstaller, filled in "localhost", "lang" , "joseph31_@hotmail.com"
Editted the httpdconf file:
DocumentRoot "D:/Server"
ServerRoot "D:/Server"
And the last three lines
LoadModule php5_module "d:/php/php-5.0.0RC2-Win32/php5apache2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Ran the apache exe in the bin folder
Opened up a php file in D:/Server...nothing happened
I unzipped PHP5 to a directory.
I ran the Apache nstaller, filled in "localhost", "lang" , "joseph31_@hotmail.com"
Editted the httpdconf file:
DocumentRoot "D:/Server"
ServerRoot "D:/Server"
And the last three lines
LoadModule php5_module "d:/php/php-5.0.0RC2-Win32/php5apache2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Ran the apache exe in the bin folder
Opened up a php file in D:/Server...nothing happened
-
d3ad1ysp0rk
- Forum Donator
- Posts: 1661
- Joined: Mon Oct 20, 2003 8:31 pm
- Location: Maine, USA
http://68.237.130.183:12/install.php
Steps 6,7,8.
Steps 6,7,8.
-
d3ad1ysp0rk
- Forum Donator
- Posts: 1661
- Joined: Mon Oct 20, 2003 8:31 pm
- Location: Maine, USA
-
d3ad1ysp0rk
- Forum Donator
- Posts: 1661
- Joined: Mon Oct 20, 2003 8:31 pm
- Location: Maine, USA
hmm..
Also, I checked my system folders, and the only place php5ts.dll is located is my php/ folder (where I unzipped it). So I'm still not sure why it didn't work for you..install.txt wrote: You need to ensure that the dlls which php uses can be found. The precise
dlls involved depend on which web server you use and whether you want to
run php as a cgi or as a server module. php5ts.dll is always used. If you are
using a server module (e.g. isapi or apache) then you will need the relevent
dll from the sapi folder. If you are using any php extension dlls then you
will need those as well. To make sure that the dlls can be found, you can
either copy them to the system directory (e.g. winnt/system32 or
windows/system) or you can make sure that they live in the same directory
as the main php executable or dll your web server will use (e.g. php.exe,
php5apache.dll).