Cody
Cody

Reputation: 2649

Unable to use XAMPP's Apache server in PhpStorm

I am configuring PhpStorm according to this guide, but still when I open any php file using the browser links(see the image below) it still opening under http://localhost:4799/project_name.

enter image description here

I was expecting to open it under http://localhost/project_name.

What's the problem?

Upvotes: 1

Views: 2087

Answers (1)

Thornview
Thornview

Reputation: 151

I have the same setup (xampp with PHPStorm). Make sure you have the project deployment set correctly. Go to Settings > Build, Execution, Deployment > Deployment. The web server root URL should be http://localhost/project_name and it should be selected as the default server for the project.

Upvotes: 2

Related Questions