Just have a question of how to run php through the terminal window. Any documentation I am reading assumes that simply typing php or typing the name of a php file, it should somehow run. Although all I am getting is 'Command not found'. In further reading there was mention of PHP Binary. Is this something I have to install or activate? If it matters I am running PHP 4.3 on Mac OS X.2.4 in Apache
Thanks in advance
php through the terminal/shell
Moderator: General Moderators
-
GalenScorer
- Forum Newbie
- Posts: 1
- Joined: Thu Feb 20, 2003 10:46 am
did you download the sources from http://www.php.net ?
If you (re-)compile php without any webserver-support you should get the commandline version, but read also:
http://www.php.net/manual/en/install.commandline.php
http://www.php.net/manual/en/install.macosx.php
If you (re-)compile php without any webserver-support you should get the commandline version, but read also:
http://www.php.net/manual/en/install.commandline.php
http://www.php.net/manual/en/install.macosx.php