Apache 1.3/PHP4.2.3

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mrrobotto
Forum Commoner
Posts: 40
Joined: Thu Sep 26, 2002 9:30 pm
Contact:

Apache 1.3/PHP4.2.3

Post by mrrobotto »

:? I am just entering the PHP world and have been trying to configure and use apache 1.3.26 server to use for local testing and developing of web pages using PHP4. I have the server installed on Win98SE and have been following the procedures that I got from php.net and apache.org. So far everything is not going too bad I have been editing the httpd configuration file and still have a few gray areas in that area that I hope to work through.

So far when I run the test configuration I get the message syntax ok indicating to me that things are going ok for now. I would like to know that if I set up a folder to use the IP address 127.0.0.1 to loop back to the folder so that I can place my files in that folder and they will be picked up and processed by the server then sent to the browser for display. What I am trying to figure out is would this be the same as when you ftp your files to a web server that you may be renting that are already set up and it works your web site. I don’t rent one I’m just using that as an understanding as how to get mine to work internally.

So the folder method that I am referring to setting up on my machine would work on the same principle, as I understand it, if I understand it correctly. I have read what information I have been able to find on the web and any other sources of information that I have been able to find and extrapolating some to get to the point that I am at, at this point time.

I have very limited resources to this kind of information, knowledge, and experience due to the remoteness of the area that I live in. I have been relying on the help of a PhD college professor that has been helping me as much as he can when he has available time, which is very limited due to his class load.

The only way I can get any books or manuals on this subject is to order them, which is time consuming and time is something I don’t have much of. I need to get this up and running so I can do my work that I need to do. Any help or suggestions will be greatly appreciated. TIA
Last edited by mrrobotto on Thu Oct 03, 2002 7:34 pm, edited 1 time in total.
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

mrrobbotto:

view things:
1) sentence structure is a must. if we can't decypher through your explaination of what is going on, then it is litterally impossible to figure out how to help you.

2) First thing is first. READ THE INSTALL.TXT FILE! In it, it tells you EXACTLY how to install/configure PHP ( that is configuring the http.conf file, installing the dll's tot he required directories, etc. etc. ).

3) If you are setting up apache on windows 98se, then I would assume this is your only web server application on your computer.

Apache sets the HOME DIRECTORY for your web pages in c:\program files\apache group\apache\htdocs ( or something to that effect, occording to how you installed it ). The thing to keep in mind is, it is htdocs is set as default for your home directory for web pages, so any php scripts or web pages you want to access from http://localhost go into this directory...

Also make sure you are typing http://127.0.0.1/bob.php or http://localhost/bob.php to view the sites ( do not simply double-click the files as this was my biggest problem when fooling with this lol )..

Also, another problem could be is that you NEED to have a network card installed for TCP/IP setup, so that you will be able to type 127.0.0.1 and get a response...

Lastly, you also will need to make SURE that you download the files that PHP requires with use on a windows 98se box ( these files, again, are listed in the INSTALL.TXT file in your c:\php directory.. ).

Other then that, that is all I can recommend. Hope that helps!
Post Reply