liane Site Admin


Joined: 18 Aug 2004 Posts: 53 Location: Canada
|
Posted: Fri Jan 21, 2005 8:52 pm Post subject: PHP 5 |
|
|
PHP5 scripts run as CGI scripts, so your scripts must be configured a particular way for them to be parsed by the php5 engine. This is not as difficult as it sounds!
For PHP5 scripts to run, they should have the following:
(1) They should have the file extension "php5".
(2) The permissions on the scripts should be set to 755.
(3) The script should start with the line:
#!/usr/local/bin/php5 |
|