Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8856227
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:18:40+00:00 2026-06-14T14:18:40+00:00

Hi I just installed PHPStorm 5 for the first time to give it a

  • 0

Hi I just installed PHPStorm 5 for the first time to give it a try and I seem to be having a problem in running PHP applications.I have installed xampp and the path to the PHP interpretator has been set to:

D:\Program Files\xampp\php\php.exe

When I try to run I php file I get this error:

"D:\Program Files\xampp\php\php.exe" D:\Program Files\xampp\php\php.exe "D:\Program Files\xampp\htdocs\PHPStorm\Project\index.php"

Could not open input file: D:\Program

Process finished with exit code 1

For some reason it seems that PHPStorm does not read the rest of the path and it stops at D:\Program.

How can I correct this problem besides changing the name of the folder because that would require me to reinstall almost everything on my computer again?

EDIT RUN CONFIGURATION

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T14:18:40+00:00Added an answer on June 14, 2026 at 2:18 pm

    Look the full command-line:

    "D:\Program Files\xampp\php\php.exe" D:\Program Files\xampp\php\php.exe ⤦ 
      "D:\Program Files\xampp\htdocs\PHPStorm\Project\index.php"
    

    You are using the command:

     "D:\Program Files\xampp\php\php.exe"
    

    With the following three parameters:

    1. D:\Program
    2. Files\xampp\php\php.exe
    3. “D:\Program Files\xampp\htdocs\PHPStorm\Project\index.php”

    You php.exe then tries to open the “file”

    D:\Program 
    

    and naturally fails. Instead your command should be:

    "D:\Program Files\xampp\php\php.exe" c:\path\to\your\script.php
    

    Obviously you did enter the text D:\Program Files\xampp\php\php.exe into too many textboxes as it belongs to. If you’re new to PHPStorm I suggest you read the online manual:

    • Interpreters – PhpStorm 5.0 Web Help
    • Run/Debug Configuration: PHP Script – PhpStorm 5.0 Web Help

    It’s also available by pressing F1 when you’re in a dialog.


    Edit: Clear the field named Interpreator Options

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just installed socket.io for the first time, and at the end it gave
Just installed EE everything seems clear however I can't seem to find a solution
Just installed MySQL 5.5 on mac os x 10.6 and am having a strange
Just installed Nagios 3.2 and have it monitoring 4 or 5 windows hosts as
I just installed drupal-7.16. I would like to have following functionality: As a non-admin
Just installed MonoDevelop for Android 2.8.6.5 on Windows XP. When I try to run
Just installed Ubuntu 10.10. Previously I had Ubuntu 10.04. I have a shared partition
just installed XAMPP on my Mac. When I was trying to modify the upload
I just installed Aptana Studio 3 and I'm testing out PHP. I tested to
I just installed AnkhSVN to have subversion support from within Visual Studio 2010. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.