PHP support on the server
php is available on the servers as a cgi. (The current version is 4.4.4.) )
This means that all of the steps that are necessary to run a perl script also apply to php scripts:
- The first line in the php file must be: #!/usr/local/bin/php
- The file must be executable (chmod 755)
- The file must be in the cgi-bin directory
If you want to run php scripts from a location other than the cgi-bin directory, you must do the following:
- Create a .htaccess file (or append an already exiting file) with the following directives:
<Files *.php> options execcgi SetHandler cgi-script </Files>We cannot help you with your php scripts. There are plenty of resources on the Internet for that. The best resource is the php website itself http://www.php.net
If you have a need to run php as an Apache module (ie mod_php), then you should contact a sales rep at sales@webstorage.com and ask them about a dedicated server.
Back to the Index© 1997-2003 Internet Quality Services Corporation. All rights reserved.