Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Computer Forums > Programmers Lounge > Programming Discussions » PHP/Apache/MYSQL help needed
Closed Thread
Old 07-12-2005, 07:14 AM   #1 (permalink)
 
Junior Techie

Join Date: Feb 2005

Posts: 50

foxhound

Default PHP/Apache/MYSQL help needed

ok hope this is in the right forum but its mainly about PHP. I'm on a vacation job here and received the assignment to create a form wich links to a database (mysql database) in php. i've created a little local database and have started creating some test pages in php (never even seen the language before so you can guess this isnt quite easy for me. I received a big fat book on php and will need to manage with that.

Now my problem is : I dont know how to host the files localy, i was told to use apache but its quite vague on how you actually start hosting files and then look at them.
could anyone give me more explanation on what i need to do to host the files and be able to look at them(all localy on the same computer).

thanks in advance

Foxhound.
foxhound is offline  
Old 07-14-2005, 08:10 AM   #2 (permalink)
 
Ultra Techie

Join Date: Jul 2005

Posts: 530

TheHeadFL

Send a message via AIM to TheHeadFL
Default

What operating system is this on?

Apache is just a web server software that supports PHP. After you install it, you would have a directory somewhere on your machine called 'htdocs' probably, where you put your php files. Then you would go to http://localhost/myphpfile.php to view them. Apache may have to be configured to recognize php files, depending on your setup and version, etc etc.

I would actually reccommend that you get a cheap little shared hosting plan and website for like $30 a year or whatever they cost, and do your development on there. That way all the hard configuration stuff is all taken care of for you.
__________________
Desktop machine: 2 x Opteron 246, Asus K8N-DL, 2GB PC3200 ECC Reg., XFX GeForce 6600GT, 74gb WD Raptor, 2 x 19\" LCDs, Windows XP x64
Server machine: Intel P4 3.0GHz 2MB EM64T, ECS i865pe, 1GB PC3200, 36gb WD Raptor, Windows Server 2003
Laptop: Dell Inspiron 9100 (Intel P4 3.2GHz 1MB Prescott, i865pe, 512MB PC3200, Mobility Radeon 9700, DVD+R/DL Burner), Windows XP
Linux: P3 450Mhz, 386MB ram, Slackware 10.1 (Running mySQL/Apache)
TheHeadFL is offline  
 
Closed Thread

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On