In the part one of this article, I explained you about things to do before installing a PHP development environment for Dreamweaver. After installing XAMPP and launching, you will see a screen with a short menu. To start the XAMPP Control Panel type ’1′ and press Enter. After this type X and press Enter. This will close the command prompt window.
Starting the servers
You need to go to the Windows Start Menu and launch the XAMPP Control Panel to start the Apache and MySQL servers. Then, click the Start button alongside Apache and MySQL. You will get a confirmation that you have successfully started them. After this you can view that the label on the Start buttons changes to Stop.
If you get a Windows Security alert, which asks you whether to keep blocking MySQL/ Apache, then choose Unblock for both the programs.
In case of errors note the following points:
If you are unable to start Apache, first ensure that you are logged into your computer with an Administrator account. Just selecting the Run As Administrator option may not give enough privileges to start the web server.
If you get an error while starting up, double-click the file C:\xampp\apache\logs\error.log in Windows Explorer, and scroll to the end of the file. It is at this place that you can read any error messages.
The error log for MySQL is located in the C:\xampp\mysql\data folder. It is usually present in a file that uses the same name just as your computer followed by an .err file name extension. If you want open it, you can double-click its icon. When you are prompted to select a program to use, you can choose Notepad.
To enable Apache or MySQL as Windows services so that they start automatically, you must go for the Svc check box alongside each one.
FileZilla and Mercury are File Transfer Protocols and mail programs, which are usually not indispensable for PHP Programming Long Beach in Dreamweaver. Hence, I would not be describing anything in detail about them.
To secure the database please note the following points.
If the installation process is error free and all files have been installed properly, then you can view a web page that asks you to select a language which you are comfortable with.
The menu on the left side of the home screen allows you to access different parts of XAMPP and also other security configuration options.
From the left menu click Security. This takes you to a new browser window or tab which gives a report on the present security status. Click on the link below the report.
You can now see the security console (see Figure 4), which prompts you to create a password for the MySQL superuser, root.