Having Trouble Setting Up a Web Server on My PC

Started by rabbithutch, October 16, 2006, 09:36:45 PM

Previous topic - Next topic

rabbithutch

I've posted about this in the Installation and Upgrade board; so if it's bad form for me to cross post here, please let me know. 

Background:  I'm a retired IT puke who cut his teeth on a mainframe back in the '60s.  Haven't done any real coding in a long time, though.  About a year ago an old friend asked me to put up a website for our high school class.  That took me to learning HTML and a little CSS and eventually to SMF.  Now I want to learn PHP and develop code on my own web server before hosting stuff publicly.

I learned about Apache and tried to install it but was not successful - primarily because I didn't know what I was doing, not even enough to ask questions.  Someone then suggested WAMP which I tried to install and kept having problems getting to MySQL thru phpmyadmin.  This is what I posted about over on the other board.  I was reading support on themes and mods again and was reminded of the Parham PHP tutorials.  I started reading them and got as far as installing Easyphp.  I have it installed, but when I followed the instructions to point my browser to http://127.0.0.1/mysql/ I ran into errors again.  I DID run the phpinfo.php file successfully from the Easyphp subdirectory.  Before I go any further with my PHP education, I figured I better get my server running.  That's why I'm here.

Does Parham show up here still?  He wrote some dynamite tutorial information.  I'm looking forward to completing them then reading Rasmus Lerdorf's O'Reilly book on PHP.  I also have another book on basic PHP, but figured that a little 'hands on' beats book learnin' any day.

I'm attaching a screenshot of the errors I got when trying to view the mysql stuff in Parham's Installing a Web Server lesson.  I would really appreciate any suggestions for getting over this hurdle so I can continue my journey.

TIA
rabbit
--------------------
Just because you can doesn't mean you should!

kegobeer

Yes, crossposting is frowned upon.  It tends to double the support staff's workload, as we're basically answering the same question twice.  Configuring a webserver isn't really about how to program in PHP, which is what Parham's tutorials cover.

The easiest way to set up a test web server is to install all items separately.  Start with Apache (not CGI), then install PHP (use the zip, not the installer), and then add MySQL.  Apache is a no-brainer - download the Windows installer and run it.  PHP is easy - just follow the PHP installation instructions in the online manual at php.net.  MySQL is also easy - download the Windows installer and run it.
"The truth of the matter is that you always know the right thing to do. The hard part is doing it." - Norman Schwarzkopf
Posting and you (Click "WATCH THIS MOVIE")

rabbithutch

Sorry about the faux pas!  It won't happen again.  I should have realized that the Support Staff was doing most of the responding to my posts, not other forum members.  I posted in this Board because I was having trouble following Parham's tutorial instruction.

rabbit
--------------------
Just because you can doesn't mean you should!

Advertisement: