cant execute php files

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

cant execute php files

Postby k.ravi » 23. January 2009 19:53

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?
k.ravi
 
Posts: 3
Joined: 23. January 2009 19:45

Re: cant execute php files

Postby Wiedmann » 23. January 2009 20:26

iam getting that php command not found.

You are using PHP in the shell?
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: cant execute php files

Postby k.ravi » 24. January 2009 20:15

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.
k.ravi
 
Posts: 3
Joined: 23. January 2009 19:45

Re: cant execute php files

Postby Wiedmann » 24. January 2009 23:38

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".
Wiedmann
AF Moderator
 
Posts: 17102
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Re: cant execute php files

Postby k.ravi » 29. January 2009 19:30

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.
k.ravi
 
Posts: 3
Joined: 23. January 2009 19:45


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 18 guests