Create New Project: Add Local Server
The page opens if you have selected the Add new local server option on the
Create New Project: Specify Local Server page.
On this page, define a new local Web server access configuration.
|Name||In this text box, type the name of the new configuration.|
|Web server root URL||
In this text box, type the URL address of the server configuration root.
Both the HTTP and the HTTPS protocols are supported.
To access a server through HTTPS, you need to acquire a certificate file
<certificate_name>.cert signed by a recognized authority
and import this certificate in the truststore/keystore
of the Oracle JRE (Java Runtime Environment) on which PhpStorm runs. Note that self-signed certificates are rejected as unsafe.
To import a certificate in Oracle JRE:
Learn more at Java6 and
Open the embedded Terminal and type the following command:
If you are using the Oracle JRE bundled with PhpStorm, the default path to the truststore/keystore is
<jre_home>/bin/keytool.exe -importcert -keystore <path to jre truststore/keystore> -file <full_path_to_<cert_name>.cert>
Otherwise it is
When asked to enter a password for the truststore/keystore, specify the default one
PhpStorm.exe.vmoptions file in the
<PhpStorm_installation_folder>/bin and add the following line to it:
-Djavax.net.ssl.keyStore=<path to keystore>
Click this button to open the page at the specified URL address in the default browser and make sure that the URL actually points at the
server configuration root.
Last modified: 7 August 2015