LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-27-2003, 06:58 AM   #1
jefx
LQ Newbie
 
Registered: Apr 2003
Posts: 26

Rep: Reputation: 15
PHP/MySQL/httpd


Ok..I got everything up and running fine wrote a few scripts the come up ok
checked all MySQL no probZ ...everything works well enough online...now tell me, can I run all this offline? because when I go offline half of it doesnt work anymore...I know im doing something perhaps a little wrong here..right?


 
Old 05-27-2003, 07:39 AM   #2
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Offline? You mean on a local intranet type setup? Sure, as long as httpd and mysql are running you shouldn't have a problem... I think you might need to give us a bit more info.

Cool
 
Old 05-27-2003, 09:17 AM   #3
jefx
LQ Newbie
 
Registered: Apr 2003
Posts: 26

Original Poster
Rep: Reputation: 15
as above..

Yes..im just starting to learn about PHP MySQL for school and have 3 PCs connected to a hub ..so I guess I`ll need to set up an intranet right?...how do I set it all up for this?....

So far Ive worked through all the repective sites on how to configure it all now I got to learn how to use it all !

thanks

Jeff
 
Old 05-27-2003, 07:47 PM   #4
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Well if your hub allows port forwarding, then set it up to forward port 80 (the normal http port) to the box that will be hosting apache/mysql/php From there each box can access the "server" on the same network by using the internally assigned IP's OR by using the name's created in /etc/hosts if you have done so.

Cool
 
Old 05-27-2003, 10:58 PM   #5
Rick422
Member
 
Registered: Apr 2003
Location: Arizona
Distribution: Red Hat Linux 9
Posts: 158

Rep: Reputation: 30
A hub would not be capable of interferring with what you want to do on port 80 (the HTTP port) or any other port. All they do is regenerate the signal and send it on. Only a router looks at IP information such at what ports are being used and could act like a firewall and either allow or not allow using that port. The built in iptables firewall in Linux could also be set allow or not allow incoming or outgoing packets being sent to port 80.

Jeff, you seemed a little unsure about what was working or not working on your network? Could you clarify what you ment? By the way, my network at home consists of two computers hooked together with just a crossover Ethernet cable and no hub. The old computer has RH8, SuSE, Slackware and DOS 6.22 on it. The new computer has RH Linux 9, RH 8, RH 7.2, PC DOS 2000, Win ME and Win 2K all on it. I have only done a few crude (but successful) experiments with sharing folders between the two with Samba and in one case using NFS instead. So far I have only used MySQL on my new computer and did not try to share anything.

I am probably at about the same stage in learning to use MySQL and not yet even tried to use any kind of midde-ware such PHP or Pearl. However, I did have a database course in the mid-1990s and we learned how to tell if a database in third normal form. We also learned to use SQL commands which were only an optional alternative way of doing things under Microsoft Access. I hope you find your MySQL class interesting!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem getting PHP to recognize MySQL, Using PHP 4.0 and MySQL 4.0.20 d2army Programming 4 06-27-2004 09:54 PM
How to uninstall httpd & PHP dhammika Linux - Software 4 04-28-2004 12:30 AM
HTTPD won't start with PHP 4.3.4 BarkingBonefish Linux - Software 0 03-03-2004 01:20 PM
Apache Mysql Php: mysql with php doesn't work breakerfall Linux - Networking 6 12-27-2003 09:59 PM
PHP and httpd.conf adcripps Linux - Newbie 8 05-18-2002 05:23 PM


All times are GMT -5. The time now is 01:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration