php command not found

Problems with the Linux version of XAMPP, questions, comments, and anything related.

php command not found

Postby manlux » 09. January 2009 15:28

I just installed xampp and when i am trying to write just php i got
Code: Select all
BORYS ~ # php
-bash: php: command not found

same thing when i am runnng ./ with php command on it.
Sites in htdocs folder are working fine.
Posts: 1
Joined: 09. January 2009 15:17

Re: php command not found

Postby Wiedmann » 09. January 2009 20:31

-bash: php: command not found

Maybe "man bash" can give you a hint, how the shell is working an can is finding programs...

"/opt/lampp/bin/php" should work.
AF Moderator
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 14 guests