SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    Patience... bronze trophy solidcodes's Avatar
    Join Date
    Jul 2006
    Location
    Philippines
    Posts
    936
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Arrow XAMPP on Windows 7?

    Hi guys

    I installed XAMPP on windows 7.
    But I have a little problem, on DOS prompt.
    When I execute c:\php while XAMPP is running it says,

    Code:
    "php is not recognized as internal or external command, operable program or batchfile"
    By the way I already set the path variables into this below and restarted my computer.
    Code:
    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Trend Micro\AMSP;c:\xampp\php\php.exe;
    Thanks in advanced.

  2. #2
    . shoooo... silver trophy logic_earth's Avatar
    Join Date
    Oct 2005
    Location
    CA
    Posts
    9,013
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    You set your path wrong. "php.exe" should not be part of the path.
    Logic without the fatal effects.
    All code snippets are licensed under WTFPL.


  3. #3
    SitePoint Member
    Join Date
    Jul 2011
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    XAMPP control Panel Application is working?

  4. #4
    SitePoint Enthusiast
    Join Date
    Aug 2010
    Location
    Perundurai, Tamilnadu, India
    Posts
    72
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your Environment variables is wrong
    It must point to folder level only, like below
    c:\xampp\php\

    After changing Environment variables it is not required to restart computer.
    Just open new command prompt and try it

  5. #5
    SitePoint Enthusiast praveenkv1988's Avatar
    Join Date
    May 2011
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can edit your PATH by Mycomputer -> Properties -> Environment Variables.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •