Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 1st, 2000, 03:17 PM
cjubenville cjubenville is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 7 cjubenville User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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

Reply With Quote
  #2  
Old October 1st, 2000, 06:49 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
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?

Reply With Quote
  #3  
Old October 2nd, 2000, 03:13 PM
cjubenville cjubenville is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 7 cjubenville User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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

Reply With Quote
  #4  
Old October 2nd, 2000, 04:32 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
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.

Reply With Quote
  #5  
Old October 2nd, 2000, 05:55 PM
cjubenville cjubenville is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 7 cjubenville User rank is Just a Lowly Private (1 - 20 Reputation Level) 
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

Reply With Quote
  #6  
Old October 2nd, 2000, 09:06 PM
freebsd
Guest
Dev Shed Newbie (0 - 499 posts)
 
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Accessing local host

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap