Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 06-01-2005, 08:23 AM   #1
Registered: Apr 2005
Posts: 63

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
Registered: Jun 2004
Location: Lithuania
Distribution: FreeBSD, Arch, Ubuntu
Posts: 145

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

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


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 04:12 AM.

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