| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| What is PHP?; Are they related? | |
|---|---|
| Tweet Topic Started: Dec 4 2005, 03:22 AM (2,015 Views) | |
| Tom. | Dec 5 2005, 08:21 AM Post #16 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
I downloaded Apache HTTP server and extracted all the files from the .tar but I can't seem to find how to install the program, I can't find .exe program anywhere. |
![]() |
|
| ABeakyboy | Dec 5 2005, 09:17 AM Post #17 |
![]()
Computer wiz and freak
![]() ![]() ![]() ![]()
|
Yes, well if you are running linux, you will have to recompile the source I believe. If you are running Windows, then you didn't download the binary distribution. Go back to the web site and download the windows binaries. |
![]() |
|
| Tom. | Dec 5 2005, 08:05 PM Post #18 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Ok, thanks for that. |
![]() |
|
| Tom. | Dec 7 2005, 12:48 AM Post #19 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Ok, So all I need is apache? All I want to do at the moment is host some web pages. |
![]() |
|
| ABeakyboy | Dec 7 2005, 09:36 AM Post #20 |
![]()
Computer wiz and freak
![]() ![]() ![]() ![]()
|
If you are looking to host web pages, all you need is Apache. You only need PHP or MySQL if you want to use them. If you're not sure if you need PHP, check if you have .php files that you want to serve from your web server. If you don't have any .php files, Apache will do fine. Apache is the web server. Php is just the interpreter for php codes. If you don't have php codes, you don't need it. When you set up Apache, make sure you configure the web server. When I set it up on my computer, I turned off a bunch of virtual directories. You also should disable the directory listings feature. (In Apache, the default behavior is that if a person navigates to a folder being served and there is no Index.html, it will show all the files in the directory, which is unsecure in my opinion. That is, if I remember correctly, it does) Hope this help you. |
![]() |
|
| Tom. | Dec 7 2005, 09:49 AM Post #21 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Excellent, I won't be using php then, just going to host web pages for the time being. I already have set up a index.html in my directory, but I have a little problem. If I go to http://localhost it will show up what ever is on the index page, but what is the real url for this? I can access but others cannot. I hope that's not to confusing, as I make no sense. |
![]() |
|
| Sani | Dec 7 2005, 09:57 AM Post #22 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Your ip address would be url you need to give your friends.. http://www.whatismyip.com/
|
![]() |
|
| Tom. | Dec 7 2005, 09:59 AM Post #23 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
So would it just be http://my ip address? |
![]() |
|
| Sani | Dec 7 2005, 10:03 AM Post #24 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Yeap, Just like http://100.001.100.001 ![]() Note that the above is just some random numbers I put.. It doesnt go anywhere... Or does it? :ph34r: |
![]() |
|
| Tom. | Dec 7 2005, 10:04 AM Post #25 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Ok, thanks for your help, but i've tried this and when I click go it infact takes me to my ISP account. Which in away makes sense. |
![]() |
|
| ABeakyboy | Dec 7 2005, 01:53 PM Post #26 |
![]()
Computer wiz and freak
![]() ![]() ![]() ![]()
|
Well, first off, is your computer directly connected to the internet? That is, if you run IP config (click start then run. Enter "cmd" if you are running 2000/XP or "command" if you are running 98/ME. Type "ipconfig" and press enter) does the IP address reported match the one found by www.whatsmyip.com? If it doesn't, you will have to forward port 80 in your router (if you have one) to your computer. If you don't have one, then you might have a broadband modem that's acting like a router. Make sure your firewall is not blocking port 80. You should also be warned that every time you connect to the internet, your IP address will be different unless you buy a static IP address. I'm assuming you have some sort of always-on connection, so you probably aren't connecting/disconecting all the time, but your IP address will still probably change every so often. I've overcome this problem by using a free service like www.dyndns.org. My linksys router can interface with that site's service automatically, so it automatically keeps my IP address updated and referring to something like http://somename.dyndns.org |
![]() |
|
| Tom. | Dec 7 2005, 07:43 PM Post #27 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
One again thank you so much for your help. I have a DSL connection with a static IP address, I even checked to make sure it was the same IP today and sure was. I use to have a router connected, but it only had 4 ports, I don't even have any settings to change the router, it just came with a cd to enable the router. I have Windows Xp and I typed in "cmd" but all that came up was the following:
It doesn't show me an IP address. I pretty much spent all night contemplating on how to fix this, I've searched around but can't find my answers. |
![]() |
|
| Rory | Dec 7 2005, 07:57 PM Post #28 |
|
i;m a mess
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
to find your IP address from the CMD window, type:
|
![]() |
|
| ABeakyboy | Dec 7 2005, 10:30 PM Post #29 |
![]()
Computer wiz and freak
![]() ![]() ![]() ![]()
|
yeah that'd be key >_< Edit: Most routers can be accessed by typing 192.168.1.1 in your browser's address bar and hitting enter. If that doesn't bring up a password screen, try 192.168.0.1 also. |
![]() |
|
| Tom. | Dec 7 2005, 11:46 PM Post #30 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]()
|
Thank you both Rory and ABeakyboy. |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| Go to Next Page | |
| « Previous Topic · Technology Chat · Next Topic » |
| Track Topic · E-mail Topic |
4:26 AM Jul 11
|



![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)





4:26 AM Jul 11