XAMPP, Php, Xdebug, Apache Server and MySQL Server Settings in PhpStorm 2

XAMPP, Php, Xdebug, Apache Server and MySQL Server Settings in PhpStorm 2

by Admin November 03, 2017

PhpStorm in XAMPP Settings 2

3-a to integrate Apache Server PhpStorm

File | Choose settings

Build, Execution, Deployment (old WordPress version in Project Settings) click on the link to go to the Deployment and Deployment.

To add a new server, click the Add button from the toolbar.  The Add Server dialog box, you can specify a name for the XAMPP server and deployment type. XAMPP’s Apache server to select the type of Local or mounted folder.

After clicking OK, the Apache web root directory folder (C:xampphtdocs) and http://localhost the URL of the web server. These settings, through the XAMPP Apache configuration file C:xamppapacheconfhttpd.conf depending on how you configure the server, remember that there may be different.

Using the Open button we can confirm the settings. When we’re done, we should be able to see the main page of XAMPP.

4-a MySQL server to integrate PhpStorm

PhpStorm us database plugin (installed and enabled by default) using the XAMPP MySQL to connect to the database server. First of all, from the control panel XAMPP MySQL server to make sure it is working. 

  1. Database tool window (View | Tool Windows | Database) and Data Sources and Drivers dialog to open the window in the fourth from the start on the left click on the icon to the wrench icon.
  2. (+) by clicking on the icon, select MySQL.
  3. The resulting page, you can Download at the bottom of the window if there is a missing driver files warning click on the Download link.
  4. Database connection settings and select your user account information
    • Host: If you database server is on a different computer, replace localhost with the FQDN or IP address of the server host, e.g. example.com or 172.20.240.163.
    • Port: The default MySQL server port is 3306. If your server uses a different port, specify that port.
    • Userand These are your database user name and password.
  5. If necessary, edit the name of the data source.
  6. To connect via SSH, SSH proxy settings (specify the SSH proxy settings).
  7. To ensure that your settings, click Test Connection.

    My settings are:

    Click on OK to
    Now, execute a few queries as a final check.
  8. From the list at the top right of the console, select the default schema.
  9. YazınCREATE your query TABLE mytesttable (myfield INT);
  10. Run query: Green Play button or Ctrl + Enter.
  11. If necessary, run another query. For example; DROP TABLE mytesttable

Then all the settings required to configure XAMPP with PhpStorm so.

-LAST-

Yasin N

Social Shares

E-Posta Bültenine Kayıt Ol

Sitede çıkan son yazılardan haberdar olmak için e-mail adresinizi bırakın

Leave a Comment

Your email address will not be published. Required fields are marked *