LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 06-24-2004, 06:58 AM   #1
vijayind
Member
 
Registered: Feb 2004
Distribution: Debian Sarge
Posts: 33

Rep: Reputation: 15
Question MySQL/PHP on workstation


hi,

I just leaned a bit of PHP/MySQL and i want to do a college project on my workstation running Fedora 1.But since i have a workstation without internet connection....
How do i install and work MySQL,PHP server and client on the same computer ???
I just want to write php/mysql pages and view them in real time.
 
Old 06-24-2004, 07:20 AM   #2
linuxxed
Member
 
Registered: Feb 2004
Posts: 273

Rep: Reputation: 30
Re: MySQL/PHP on workstation

Quote:
Originally posted by vijayind
hi,

I just leaned a bit of PHP/MySQL and i want to do a college project on my workstation running Fedora 1.But since i have a workstation without internet connection....
How do i install and work MySQL,PHP server and client on the same computer ???
I just want to write php/mysql pages and view them in real time.

Copy the rpms to a CD, install it and work on it locally using http://localhost or http://127.0.0.1. Or is it something else you're after.
 
Old 06-30-2004, 10:16 PM   #3
vijayind
Member
 
Registered: Feb 2004
Distribution: Debian Sarge
Posts: 33

Original Poster
Rep: Reputation: 15
Thanks for that, i want to know that since i have a workstation do i have do any config changes to install php. Do i need APACHE too?
Plus any config changes(other than the one already told) to make it appear that i am on the server, fortesting my php pages ?
 
Old 07-01-2004, 12:59 AM   #4
BlueOrb
Member
 
Registered: Feb 2004
Distribution: Debian 3.1 "sarge"
Posts: 31

Rep: Reputation: 15
yes you need apache, but i dont know if apache will work without internet.... i seem to remember something wouldn't install without it on my machine, might not have been that but it was a couple of hours ago so i forgot
 
Old 07-01-2004, 04:15 AM   #5
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 33
hi,

the whole lot will work just fine without an internet connection.

what you need is apache web server set up and running, with php support. check your distro disks - you should find apache and the mod_php module.

you will then need mysql server, at the very least, set up and running correctly.

then, you write your web page(s), and save them into a special directory that apache uses to access the files - you'll want to check the apache configuration for more details.

then, to access those web pages on your local machine, you'd use the 'localhost' ip address (which every machine has) - 127.0.0.1, or simply 'localhost', ie
http://localhost/mypage.html
http://localhost/myphp.php
etc..

sitepoint has some good tutorials for setting up php / mysql/ apache -

http://www.sitepoint.com/article/dri...-php-amp-mysql
 
  


Reply



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
mysql-server4.1 and mod php-mysql conflig kernelvn *BSD 0 06-18-2005 11:52 AM
Problem getting PHP to recognize MySQL, Using PHP 4.0 and MySQL 4.0.20 d2army Programming 4 06-27-2004 08:54 PM
php4 mysql, installation, php-pages with mysql info stay empty dnla Linux - Software 2 03-14-2004 02:54 PM
Installing MySQL.4.0.17 and php support for Mysql on RedHat 9.0 Neha Linux - Software 13 12-29-2003 12:06 AM
Apache Mysql Php: mysql with php doesn't work breakerfall Linux - Networking 6 12-27-2003 08:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:59 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
Open Source Consulting | Domain Registration