homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / WebmasterWorld / Webmaster General
Forum Library, Charter, Moderators: phranque

Webmaster General Forum

Making My Own PHP+Apache+MySQL Website-- Help?
New Guy Needs Help

5+ Year Member

Msg#: 3919346 posted 1:09 pm on May 24, 2009 (gmt 0)


Before I start, I'd like to give you guys an idea of who I am and what I am capable of. I'm Adam, I'm new here. I have only been using my computer for gaming for the past 5 years. I know my way around hardware stuff and have an above-average understanding of networking as well as troubleshooting Windows. I have made websites with HTML and I claim to have a thorough understanding of HTML and some basics on CSS.

I have only recently begun to understand my plight when I noticed that my peers seem to know ASP, Apache, SQLs, and everything else I happen to not know while I was busy gaming and wasting 5 years of my life. Back then, I was like their mentor with HTML and hardware stuff and now I seem find myself too embarassed to ask for help in real life. So I turn to books and Online help for a means to get myself acquainted back on par with how programming and webmastering... Hopefully some of you good people here would find the time to help me and answer some questions during my stay here. :)

So thats the situation. Also, please refrain from using deep techy lingo and abbreviations unless you explain what that is...

So what exactly do I need help with? Well for one thing I have recently downloaded PHP, Apache, And MySQL. From what I know PHP is a server-side transaction language that helps ease up traffic? Apache is a server... and MySQL is a database maker. And during my installation of Apache, it looked for a domain name, from what I know, I'm supposed to have a domain name that I actually payed for from, lets say no-ip.com? Since I'm still learning, I figured I could have all of this installed on my system wtihout a domain name so I can start learning PHP first.

Any idea on what I should do?
Sites that could point me to the right direction?
Email exchange buddy?




10+ Year Member

Msg#: 3919346 posted 1:39 pm on May 24, 2009 (gmt 0)

Why would you make your own? There are hundreds of open source PHP-MySQL scripts out there to base your site on, and since you are new to this why not learn from the pre-existing packages?

You will learn plenty by poking around under the hood of Wordpress, or Drupal, or any of the others. Just Google "open source CMS" and you will get 10,000,000 results.


5+ Year Member

Msg#: 3919346 posted 1:49 pm on May 24, 2009 (gmt 0)

Well you have a point, thank you. The reason I would want to make my own isn't because I want to have one. But because I want to learn how to make one. And, granted, in the future, I'd love to actually know how to make one. Your suggestion is good but it undermines the reason of my wanting to learn how. In the end if I keep 'poking' through Wordpress or Drupal I'd have the tendency to 'copy-paste' their work which I would not rather do.

Besides, I'm already having trouble recognizing if I have installed PHP and Apache at the moment, learning how to do the rest comes after this little stone in my path. I'd appreciate it if you could help me with the question before. Is there a way to install all of these without having a domain name and server name which I would later might get. My reason for installing these is for learning purposes and not simply because I want to have a website.

Baruch Menachem

5+ Year Member

Msg#: 3919346 posted 2:02 pm on May 24, 2009 (gmt 0)

The downloads were probably a bad idea. I think you would have been better off going to the bookstore first. Lots of the tools are on your computer already. And there is lots of really good hosting for reasonable prices out there. I think you can get what you need for about $60 in the way of hosting for a year.

If you get yourself a mac running leopard (which will run on used macs from 5 years ago.) you have php5 and apache pre installed. MySql is an extra download, but there are lots of good tools for installation.

Anyway, I like Larry Ulman's book on PHP-mySQL, I think he does a good job of getting you up to speed. Wrox Books has a very good book by five different authors called PHP5, mySQL and Web development is also a good resource.

I can't say enough nice things about CSS the missing manual.

Also Firefox has been a big help as a web browser, as there are plug in tools that you can add on that do lots of really helpful things, among other things validate the HTML code. HTML is pretty forgiving, but only within limits, and when things break, they break really badly, and the Firefox validation tools are really good for a beginner like us. Firebug is also really great. You can step through the CSS with it and see how the CSS code interacts with itself.


WebmasterWorld Senior Member 5+ Year Member

Msg#: 3919346 posted 2:31 pm on May 24, 2009 (gmt 0)

I love your take on things, and I think it's the right way.

I'd always recommend to start that way, looking at a finished product like wordpress will be an overdose for a beginner, and you need some experience with common concepts to profit from things like that.

to answer your question: yes, you don't need a domain to work with php and apache.

just install apache on your local machine and add php (should be easy enough), or download xampp, which is preconfigures with apache, php, mysql and perl and should "just work".
fire up your browser and go to [] to access your local installation. find the htdocs (that's the directory where all the files live that apache can serve to your browser) and throw in a file that ends in .php, let's say test.php, that contains
<? phpinfo(); ?>

back to the browser, navigate to [] and you should see alot of information.
now you can start to work with php. if you feel save around html-forms and how to work with the data entered in a php-script, add mysql-functionality. just check back here when you're ready.


WebmasterWorld Senior Member g1smd us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 3919346 posted 6:06 pm on May 24, 2009 (gmt 0)

There are hundreds of open source PHP-MySQL scripts out there, many of which have significant flaws and limitations.


10+ Year Member

Msg#: 3919346 posted 6:18 pm on May 24, 2009 (gmt 0)

as janharders says, yes you can run it on your local machine. If you have a windows machine, search for WAMP (windows, apache, mysql, php) and you will find a package to install on your desktop.


5+ Year Member

Msg#: 3919346 posted 9:21 pm on May 24, 2009 (gmt 0)

Yes, thank you everyone for your thoughts, I'll try things on my end and come back if I have any problems.


WebmasterWorld Administrator phranque us a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

Msg#: 3919346 posted 10:42 pm on May 24, 2009 (gmt 0)

welcome to WebmasterWorld [webmasterworld.com], Aedym!

be sure to look at the WebmasterWorld forums in your specific disciplines of interest (PHP, Apache, Databases, etc)


WebmasterWorld Senior Member 10+ Year Member

Msg#: 3919346 posted 10:48 pm on May 24, 2009 (gmt 0)

Books work best for me. Whenever I want to learn something new, I pick up an O'Reilly series book on whatever it is... I know the same information is scattered around the net for free, but books just work for me.


10+ Year Member

Msg#: 3919346 posted 8:07 am on May 26, 2009 (gmt 0)

Besides, I'm already having trouble recognizing if I have installed PHP and Apache at the moment

Take a look at XAMPP - apache, php and MySQL preconfigured and ready to go!

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Webmaster General
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved