LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 06-01-2005, 08:23 AM   #1
notooth
Member
 
Registered: Apr 2005
Posts: 48

Rep: Reputation: 15
How to Execute PHP Script?


Can anyone tell me how to execute a PHP script in Linux command mode?

 
Old 06-01-2005, 08:28 AM   #2
Cron
Member
 
Registered: Jun 2004
Location: Lithuania
Distribution: FreeBSD, Arch, Ubuntu
Posts: 145

Rep: Reputation: 15
Install PHP, and in terminal prompt do
Code:
php /path/to/your/script.php
.
 
Old 06-02-2005, 05:43 AM   #3
notooth
Member
 
Registered: Apr 2005
Posts: 48

Original Poster
Rep: Reputation: 15
Thank you. It works.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
shell script using /etc/cron.hourly to execute cron.php file? rioguia Programming 3 06-11-2008 08:09 AM
execute php script from /etc/ppp/ip-up tomcontr Programming 1 11-12-2004 01:19 AM
execute php script automatically? brandnewbie Linux - Newbie 1 08-14-2004 05:42 AM
PHP -- How to execute a shell script from PHP using FTP functions?? zoonalex Programming 3 07-29-2004 11:51 AM
execute pkzip.exe from a php script cuboctahedron Linux - General 7 04-24-2003 08:14 AM


All times are GMT -5. The time now is 09:21 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration