26

Mysql, Php, Apache – Getting Started Making Websites

Posted January 28th, 2007 by Jeremy Schoemaker

I have a question. Lets say I want to make a database that is search able. I don’t really want to get much into exactly but how would someone get started?

Well… if you are talking about makin a website that is searchable then you are talking LAMP (Linux, Apache, Mysql and PHP).

Linux – This is the operating system that your server will be running

Apache – This is the webserver that runs and serves the pages to your users.

Mysql - This is the database that will store and report your information contained.

PHP- This is the programing language which will tie it all together.

So you really have 2 options here. Hire a good LAMP programmer or learn it yourself.

If you are going to hire out a programmer be prepared to pay a lot of money. I have paid 40-120$ a hour for development. Its REALLY hard to find a well rounded programmer and when you do they get pretty good money.

If you are going to do it yourself I would recommend buying just about every book possible
on lamp programing and start on your project. You do not have to be a master or even close to get started. I learn more by trial and error then I do from actually reading but I have them all as a reference.

Good Luck!


Each Monday I am going to try to take some questions asked to me in email and here on the blog and answer them. I call the answer part the “Shoemoney answer� mainly because I do not know if its right or wrong but its what I think based on my experience so far.

Disclaimer

Before acting on this post, be sure to read my Disclaimer.

- Comment Likes - Comment Dislikes

26 comments. What say you?

  1. Good Comment?
    tredinertok

    Hello

    Very interesting information! Thanks!

    G’night

  2. Good Comment?
    krillz

    I offer some security topics when it comes to these things =D

  3. Good Comment?
    WAMP, Apache

    You can also develop under Windows with Apache, PHP, and MySQL.

    Take a look at the Web-Developer Server Suite.

  4. Good Comment?
    Greg G.

    If you can program in Java, Lucene is an excellent open source search engine library. It’s very flexible and scales well for big sites, as well as works really well for small sites.

  5. Good Comment?
    Lee Bandoni

    Funny you posted this Shoe because it was your previous posts that inspired be to learn about everything you posted about above. I used to spend hundreds of dollars every month on freelancer sites when now I spend less than $50. Programming and design was never my thing but I think its important to have basic skills.

  6. Good Comment?
    Freezer003

    Well Shoe. I think it’s a good idea to write some tips.. you are good teacher ;) I’m using LAMP since summer 2006 and I’m still learning it.. I would like to read some tips made by someone I feel familiar with.

  7. Good Comment?
    Mike

    I needed the same thing developed (I have no programming experience). I went to http://www.scriptlance.com and posted a project. The tough part about this is that you go through a lot or programmers before you find one that is responsible and good. I finally found one to build me my site http://www.recipematcher.com It is a pretty complicated database and i am very happy with my programmer.

    Mike

  8. Good Comment?
    Kris

    Besides LAMP you could also have a look at Ruby on Rails or Django.
    Both of those framework should be easier to setup (not to mention that they have very good tutorials with video).
    Just do a google on those two…

  9. Good Comment?
    andre

    Looking forward to the weekly write ups. Maybe you can share of your secrets that have worked for you in the past. :)

  10. Good Comment?
    webprofessor

    because mysql has mindshare

  11. Good Comment?
    roeinstein

    I didn’t hear him say it was the only option :-)

    LAMP can be extremely n00b friendly, is free, and is widely supported on the web and irc.

  12. Good Comment?
    Chris

    You can get the free excerpt from SitePoint for its PHP/MySQL book (it is the 1st 4 chapters for free). This does a good job of explaining how to install both PHP and MySQL as well as explaining how they tie together.

  13. Good Comment?
    tony rocks

    Oh yeah! I’m married to the whole Express package from Microsoft. Such a great suite of programs…plus works with its own locally contained webserver. dig it…feel free to email me if you have any questions about it.

  14. Good Comment?
    Tim

    Why do people not consider LAPP or why do people stick so much to MySQL rather than PostgreSQL?

  15. Good Comment?
    Global Investor

    I keep getting errors with my MySQL software. Is there a good tutorial to explain how it all ties into php?

  16. Good Comment?
    Mikkel deMib Svendsen

    Shoe, you should of all know that LAMP is just one out of many options to build a searchable dynamic website. In fact, just about any OS/DB/Script enviroment that I have worked with can be made as searchable as you want.

    The majority of clients I have at the moment are on .NET. No problem at all (OK, a little more work, but definately not a problem!). I also do a lot of sites on Windows/Apache/MySQL/PHP and some on Windows/IIS/MySQL/PHP or Windows/IIS/MSSQL/PHP and Windows/IIS/MSSQL/ASP

    Basically, whatever setup you chose really have very little impact on how searchable your website turns out. All it takes is knowledge about the limitations of searchengines combined with good skills in the enviroment you are working.

    In my many years working with optimizing dynamic websites I have only found very few that was close to impossible to deal with (such as Broadvision , before the cookie-hack came out, and some Domino-apps)

  17. Good Comment?
    TMS

    Doing it yourself is fun; just make sure you have the time to devote to your project. One thing I suggest is to read a few chapters of a PHP/MySQL book then outline your project. After that, start programming and teach yourself as you go along. Be sure to keep code samples for things you might do frequently in a text file for easy copy and pasting too.

    As for your data architecture, if you want your content to be searchable plan and map out a single table for all of your content. This takes some thought and creativity up front, but when you get to writing those search queries you will be happy you did so.

  18. Good Comment?
    Sean

    “Searchable” could mean anything. Throw up a static web site and configure ht://dig… No programming required. It even works on dynamic pages, presents a far better interface, and probably has better performance than the full table scans that a beginner developer can knock out.

    Sean

  19. Good Comment?
    weneedsound

    My school started some programs based around LAMP.. it really is about time for class like this to start popping up.

  20. Good Comment?
    SEO Loser

    Hey, while on this topic, I was wondering if you’d maybe consider making a post about the most important things you’d recommend learning for beginners starting out w/dedicated servers. I’d be interested to hear any basic tips coming from you with a background as a systems admin. I feel kind of stupid knowing PHP/MySQL/xHTML/CSS/javascript/etc. but having little or no knowledge of what’s actually happening on the server.

    Maybe it’s too off topic for this blog but if not I’d love to hear your recommendations.

  21. Good Comment?
    Brent

    I noticed a lot of affiliate marketers, lean toward LAMP and other free tools. These can be tough to get a grip on for some. New programmers will most likely find .NET easier to begin with. For free, you can get Microsoft Visual Web Developer Express as well as Sql Server 2005 Express. They are free and very powerful. You can code much quicker with these tools than you can with PHP.

  22. Good Comment?
    Frank

    http://www.apachefriends.org/en/xampp.html

    XAMPP is a great tool to easily get started on LAMP development.

  23. Good Comment?
    Eric Lander

    In my experience learning the LAMP process on your own is key to the cliched process of thinking outside the box. You learn so much so quickly that you begin to find ways to use the LAMP components to further your “content generating” (slash: spamming) abilities.

  24. Good Comment?
    fusion

    Well I guess if you wanna be a successful webmaster, you should learn at least the MP part of the LAMP… cookies, databases (Data mining, warehouses) are a must to know in order to satisfy your visitors/clients…

    there are plenty of free php/mysql ebook u can find, and I would recommend u install any CMS (MediaWiki, Joomla, Wordpress…) and try editing it, this way you’ll learn syntax much faster!

    Good luck

  25. Good Comment?
    Bluefur

    Well LAMP is one option.

    There are a lot of free search tools you can w/o paying anyone anything at http://www.hotscripts.com if you look.

  26. Good Comment?
    elephant

    Waste of time! click on that RECs button and send Tom Fuller a message.

Join the Discussion

*Discount rate good on new registrations only. Credits or refunds cannot be issued on previous registrations. Discount rate good through February 6, 2010, prevailing rate applies after that.