DeveloperSide.NET Forums
December 16, 2019, 02:05:54 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Building an Apache Server on win2K Professional  (Read 7444 times)
0 Members and 1 Guest are viewing this topic.
One Lost Admin
Guest
« on: November 10, 2003, 04:34:52 AM »

Ok, I have got most of my stuff to work: Apache runs nicely and my test website is running nicely too. BUT there's a twist in this happy fairy tale: none of my PHP stuff works. Nor can I access the phpMyAdmin folder...

I haven't done anything after installling the Apache + PHP + MySQL + etc. package on my machine. Oh, well, actually I added the test .html pages to see that it works from outside and I started a War FTP Server so that I can make changes remotely.

I'd love to understand the file / folder permission rules in win2k + apache world as it is not the same as in *nix world where I have used to operate in the past.

My "dream" is to get a chat room, BBS, and a webstore to run on my SSL enabled home server, but I am sure there's a lot of stuff I need to learn before that happens.

If you can help me out at all in this matter, I will be eternally thankful for that. I have spend hours and hours trying to figure this out, but to no avail.

Thanks! And bare with me if my questions are stupid or obvious. :)
Logged
admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #1 on: November 10, 2003, 05:52:01 AM »

Did you follow the instructions at http://www.devside.net , did you d/l our package, or is this something you did on your own?

As far as permissions goes, under httpd.conf its about exactly the same for win32 and linux.

If this is our package that you are talking about, it works...  The only reason PHP would not be functional is if you did not follow the directions under readme1st.txt or something is wrong with your system.

We need a bit more info...

When you enter http://localhost/phpinfo.php , what happens?

What is the output of Apache2/logs/error.log?
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
Anonymous
Guest
« Reply #2 on: November 10, 2003, 01:17:47 PM »

Quote from: "admin"
Did you follow the instructions at http://www.devside.net , did you d/l our package, or is this something you did on your own?


I downloaded and installed the Apache SSL + PHP + MySQL + Perl + etc. package.

Quote
As far as permissions goes, under httpd.conf its about exactly the same for win32 and linux.


Ah, ok. Thanks!

Quote
If this is our package that you are talking about, it works...  The only reason PHP would not be functional is if you did not follow the directions under readme1st.txt or something is wrong with your system.

We need a bit more info...

When you enter http://localhost/phpinfo.php , what happens?


All those worked when I tested them after the installation. Now I have deleted them as I put my test pages on there. Is it possible to download those test files again from somewhere (w/o downloadinf the whole package)?

War FTP Server, Mercury 32 Mail Server, and ZoneAlarm Firewall shouldn't affect anything, right? And they work beautifully.

Quote
What is the output of Apache2/logs/error.log?


I don't have that file in that specific folder: I have a whole bunch of .var files like HTTP_BAD_GATEWAY.html.var, etc.

When you mentioned the README1st.TXT, I went and read it again: I think I have forgotten the .dlls from the System Path. Would that be the problem? And if so, what is the format to use to add them? Do I have to create an entry for each one of them separately or just one entry for the folder? I did add the things to the PATH from step 7 (Add to Path C:\www\Apache2\bin ; C:\www\mysql\bin ; C:\www\perl\bin ; C:\www\php\dlls ; C:\www\openssl\bin etc.)

I hope this helps to describe the situation.

And thank you for already answering to my call so quickly! I really appreaciate this!
Logged
Anonymous
Guest
« Reply #3 on: November 10, 2003, 06:50:27 PM »

Quote
War FTP Server, Mercury 32 Mail Server, and ZoneAlarm Firewall shouldn't affect anything, right? And they work beautifully.


Firewalls are known to sometimes prevent Apache2 and MySQL from not working.  Does http://localhost work? It should not be selective for .php only.  Disable it and see what happens.

Quote
I don't have that file in that specific folder: I have a whole bunch of .var files like HTTP_BAD_GATEWAY.html.var, etc.


Like it is stated, \www\Apache2\log\error.log(or error_log), not \www\Apache2\error\

Quote
I did add the things to the PATH from step 7


Then thats fine.

Quote

All those worked when I tested them after the installation.

Then it must be something you have done after the install.

Are you sure you did not do anything "extra" after the www install?  Now, you are putting those *.php files (not php3, php4, but just *.php) into \www\webroot?  And not \www\Apache2\htdocs, which is no longer the webroot.
Logged
Anonymous
Guest
« Reply #4 on: November 11, 2003, 01:31:53 AM »

Quote from: "AnonymousFirewalls are known to sometimes prevent Apache2 and MySQL from not working.  Does http://localhost work? It should not be selective for .php only.  Disable it and see what happens.[/quote


I can access the localhost normally - from within and from outside.

Quote
Like it is stated, \www\Apache2\log\error.log(or error_log), not \www\Apache2\error\


My bad. Ok, I have plenty of stuff in the error log and mostly it is stuff from my transferred webpages that aren't compatible with the new server as of yet.

Quote
Then it must be something you have done after the install.

Are you sure you did not do anything "extra" after the www install?  Now, you are putting those *.php files (not php3, php4, but just *.php) into \www\webroot?  And not \www\Apache2\htdocs, which is no longer the webroot.


Damn. That's it. Most of the .phps are .php3s... I got to rename those and try again.

Thanks! I didn't know the .php naming convention thing. It should work now.

As I said, I am eternally thankful. :)
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!