Problems with the Windows version of XAMPP, questions, comments, and anything related.
I have installed xampp on Windows 2008 R2 x64 with Apache, mySQL and PHP. The webserver runs fine but when I attempt to execute a php script or run a bat that calls a php Windows returns with 'php' is not recognized as internal or external command, operable program or batch file. It doesn't seem that I can run php from the command line. I have added the path to php.exe to my environment variables but that still doesn't seem to make any difference, I even manually associated php files with php.exe. Any ideas on how I can get php to work from the command line without installing php outside of xampp?
- Posts: 1
- Joined: 09. April 2013 15:17
- Operating System: Windows Server 2008 R2
acruns wrote:I have added the path to php.exe to my environment variables but that still doesn't seem to make any difference
work if done correctly.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!It's like porn for programmers
- AF Moderator
- Posts: 8044
- Joined: 17. August 2009 13:05
- XAMPP version: several
- Operating System: Windows 10 Pro x64
Return to XAMPP for Windows
Who is online
Users browsing this forum: No registered users and 34 guests