The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> System Administration
> Apache Development
|
Accessing local host
Discuss Accessing local host in the Apache Development forum on Dev Shed. Accessing local host Apache Development forum discussing HTTP Server general topics, configuration, and modules. Apache is an open source web server that runs on multiple platforms.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

October 1st, 2000, 03:17 PM
|
|
Junior Member
|
|
Join Date: Oct 2000
Posts: 7
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Hello,
I have just set up the Apache/PHP/MySQL bundle and the test cleared. Apache starts no problem, but I seem not to be able to use PHP (and probably Mysql) unless I am connected to the internet. Can I access these with the localhost while not connected? If so, how?
Regards,
cjubenville@expressmail.net
|

October 1st, 2000, 06:49 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
>>Can I access these with the localhost while not connected?
Yes
>>If so, how?
Don't expect someone will giveyou instructions in full details. Instead of telling you how, you should provide us more details.
1) Can you access to html file?
2) How do you access to your site? What URL?
3) Does MySQL work fine without Apache?
4) How do you know your PHP is running fine if you are connected to the internet?
|

October 2nd, 2000, 03:13 PM
|
|
Junior Member
|
|
Join Date: Oct 2000
Posts: 7
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
I can access nothing. Apache, PHP and Mysql all start, but I wrote a PHP test script, and I don't know where to put it. I am doing this to learn, so everything is installed on my Windows 98 computer. I put the script in the www file, but no matter what I do it is saved as a .txt I am doing the web monkey tutorial and I can't say if Mysql works beyond what the dos window says, because I can't get the PHP to work. I hope this is enough.
Thanks,
cjubenville@expressmail.net
|

October 2nd, 2000, 04:32 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
>>I can access nothing
You need to put PHP and MySQL aside and get a simple HTML document to serve up in Apache in the first place. That is to say, you must start from the basic.
>>but no matter what I do it is saved as a .txt
Before saving your file, you need to select "All File (*.*)", then type the .php extension manually after the filename.
It seems you need to do some reading.
|

October 2nd, 2000, 05:55 PM
|
|
Junior Member
|
|
Join Date: Oct 2000
Posts: 7
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
I did this. I can write html, JavaScript and some perl. What file should the html be saved in? www?
cjubenville@expressmail.net
|

October 2nd, 2000, 09:06 PM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
What is a www file?
If it's a php file, then save it with your_file_name.php. If it turns out to be your_file_name.php.txt, that means you didn't select "All Files (*.*)". Still, you can always rename it to your_file_name.php.
Note, this is no longer a Apache problem, it should go to Beginner Forum.
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|