How To Setup Php ,Mysql And Apache To Run On Windows And Linux
- Last Updated On: April 19, 2013
- By: Scriptcrunch Editorial
Setting up the Php, Mysql and Apache environment on windows and Linux is not a hard thing to do. Either you can install everything separately or you can install it as a package. For windows it is called WAMP server (Windows Apache Mysql Php) and for linux it is called LAMP server (Linux Apache Mysql Php).
1)Installing WAMP on windows:
- Download Wamp server from here . Downoad WAMP
- Once the file is downloaded, click and install it.
- You will find the wamp server icon on the task bar.
- Right click the icon and you will see all the installed services. ie, php, MySQL, Apache and phpmyadmin.
- Phpmyadmin is the GUI tool for managing Mysql databases.
- By default the username of the MySQL database will be “root”. and there will be no password. You can set user name and password using command line interface of Mysql.
- Using wamp server you can run your php and mysql websites on your localhost.
2)Installing LAMP server on Linux:
- Open linux terminal and type the following code to install LAMP server in Linux.
sudo apt-get install Lamp-server^
Scriptcrunch Editorial
ScriptCrunch is your go-to website for all things DevOps. We specialize in helping engineers master Kubernetes and other essential DevOps tools. Our main goal is to provide easy-to-follow tutorials and valuable resources, with a special focus on the Cloud Native Computing Foundation (CNCF). Additionally, we offer insights into Linux Foundation Training and its various initiatives.
Other Interesting Blogs
[50% OFF] Kubernetes Certification Coupons (CKA, CKAD, CKS, KCNA and KCSA)
Looking for CKA coupon and other Kubernetes certification coupon codes? You have come to the right place. Following are the list of
[80% OFF] Linux Foundation Coupon for December 2024
Looking for CKA Coupon and other Linux Foundation certifications coupons? We got you covered. With the latest Linux Foundation Coupon, you can
[65% OFF] Linux Foundation LFCA, LFCS & LFCT Exam Voucher Codes
Linux Foundation has announced up to a $284 discount on its Linux certification programs Linux Foundation Certified IT Associate (LFCA) and Linux