PHP How Can I Replace My Static Website with a Dynamic Website Using PHP & MySQL?

Click For Summary
SUMMARY

To replace a static website with a dynamic one using PHP and MySQL, ensure your hosting provider, such as Yahoo Small Business, supports PHP and MySQL. The discussion highlights the use of Apache as a web server and phpMyAdmin as a GUI for managing MySQL databases. Users can run their own servers but should consider the complexities of dynamic IP addresses and security. Transitioning to a dynamic site allows for enhanced functionality, such as online sales and user data management.

PREREQUISITES
  • Understanding of PHP programming language
  • Familiarity with MySQL database management
  • Knowledge of Apache web server configuration
  • Basic concepts of domain name management and dynamic DNS services
NEXT STEPS
  • Research how to configure Apache for dynamic websites
  • Learn to use phpMyAdmin for database management
  • Explore dynamic DNS services for managing IP addresses
  • Investigate security measures for hosting a personal server
USEFUL FOR

Web developers, small business owners transitioning from static to dynamic websites, and anyone interested in using PHP and MySQL for web applications.

Mike Phan
Messages
67
Reaction score
0
Hi,

I already have a static website, and now I am trying to design a dynamic website.
I used Apache, PHP, and MySQL and setup on my computer (hostname = localhost) and tested my member directory database. It worked fine that I can add, edit and delete, and update the data from table.

I am trying to public and test it from my current yahoo small bussiness host. What should I do? Anyone can help step by step how to do this?

Thanks for any help!


Mike
 
Technology news on Phys.org
The first thing you'll need to do is to make sure that the server you're moving it to supports php and sql. In college, they gave us folders to make personal websites and had php enabled, but sql was not.

Have you thought of just using your machine as a server? Assuming you can get the security locked down, there are dynamic dns services that you can get to point a static domain name to a dynamic ip address.
 
Thanks minger.

I called yahoo, he said that the host name is "mysql", so I think the MySQL will be supported. Normally, people use their own machines as servers, you meant?
I have account with Yahoo (small bussiness domain) and already posted my static website there. I am thinking of replacing it with the dynamic website. How do you think? Is it possible?

Mike
 
mySQL is a free, open-source sql implementation. I personally use it at home along with php to run a dynamic intranet (movies, recipes, etc). It is pretty easy to pick up and use. As a GUI, I use phpmyadmin which makes things a LOT easier.

As far as using your own computer, you can run apache (another free open source program) to serve websites. If you forward your ports correctly through your router, at any time, you could type in your external IP address and "see" your website.

The only problem is that internet companies change your IP address so frequently that it doesn't work. However, there are services (more free!) that can keep track of that dynamic ip and you can then just keep track of a single domain name.

But...if you have hosting, you might as well use it.
 
I bought a domain name from Yahoo small bussiness with HTML (static) web posted.
Now I want to replace it with a dynamic web so that I can sell my products online, and I want to keep all information (user infor and product infor) on my own machine instead of on Yahoo web server. Is it possible? Is it so complicated? What I need to do?

Thanks, minger!
 

Similar threads

  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 7 ·
Replies
7
Views
6K
  • · Replies 5 ·
Replies
5
Views
4K
Replies
4
Views
3K
Replies
6
Views
9K
Replies
5
Views
4K
Replies
1
Views
4K