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, 09:23 AM   #1
Registered: Apr 2005
Posts: 189

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, 09: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, 06:43 AM   #3
Registered: Apr 2005
Posts: 189

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 09:09 AM
execute php script from /etc/ppp/ip-up tomcontr Programming 1 11-12-2004 02:19 AM
execute php script automatically? brandnewbie Linux - Newbie 1 08-14-2004 06:42 AM
PHP -- How to execute a shell script from PHP using FTP functions?? zoonalex Programming 3 07-29-2004 12:51 PM
execute pkzip.exe from a php script cuboctahedron Linux - General 7 04-24-2003 09:14 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:52 PM.

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
Open Source Consulting | Domain Registration