executing PHP script in bash

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

executing PHP script in bash

Postby rrodrigueznt » 15. October 2006 17:42

Hi all.

Running two XAMPP releases in Suse Linux Enterprise Server 9.0 boxes.

Xampp for Linux 1.5.2-beta8

I can execute php scripts in the bash command line, for instance, maxtla:/opt/lampp/htdocs/wikitcp/maintenance # php stats.php works without a glitch

Xampp for Linux 1.5.4a

I can not execute the same script...

mire:/opt/lampp/htdocs/mediawiki/maintenance # php stats.php
-bash: php: command not found

Please, could you point me in the right direction to work out this problem? Thanks!

Best,

Ricardo
rrodrigueznt
 
Posts: 8
Joined: 16. April 2006 11:59

Postby Wiedmann » 15. October 2006 18:30

"/opt/lampp/bin" is not in your $PATH. (or use the complete path for the script execution)
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby rrodrigueznt » 15. October 2006 18:53

Wiedmann wrote:"/opt/lampp/bin" is not in your $PATH. (or use the complete path for the script execution)


Thanks. Now I am able to run the required script.

Best,

Ricardo
rrodrigueznt
 
Posts: 8
Joined: 16. April 2006 11:59


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 69 guests