Page 1 of 1

cant execute php files

PostPosted: 23. January 2009 19:53
by k.ravi
I installed xampp for linux. no error has reported on installing and started successfully. but also i cant able to execute my php files. while executing my php files iam getting that php command not found. Did i need to configure any files in xampp to run the xampp package successfully?

Re: cant execute php files

PostPosted: 23. January 2009 20:26
by Wiedmann
iam getting that php command not found.

You are using PHP in the shell?

Re: cant execute php files

PostPosted: 24. January 2009 20:15
by k.ravi
yes on using shell to execute php files i got php command not found. To execute php files in command shell should i need to install php separately or xampp is enough.

Re: cant execute php files

PostPosted: 24. January 2009 23:38
by Wiedmann
Did i need to configure any files in xampp to run the xampp package successfully?

Learning how to use the Linux shell should be the first step.

i got php command not found

Put "/opt/lampp/bin" in your $PATH, or call php with "/opt/lampp/bin/php".

Re: cant execute php files

PostPosted: 29. January 2009 19:30
by k.ravi
since Iam new to linux environment. doesn't know all commands. so can you please specify the actual command i should give on terminal to set path to php permanently.