The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > OS X (Apple)
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 07-16-2004
[MA]Flying_Meat [MA]Flying_Meat is offline
Registered User
 

Join Date: Sep 2002
Location: San Fran
Posts: 108
so, if you only type:
Code:
php
followed by a carriage return,
the cursor moves down one line without a prompt?

If so, this is normal. It means php is waiting for the code to execute.

In that case, enter:
Code:
<? phpinfo() ?>
followed by a cariage return and then "control+d".

If you get a long list of settings, then php command line is working as it should.

It just needs to be started, then script/command entered, and told when to process the script/command.
Reply With Quote