PHP on Xweb
We run PHP (version 5) on xweb as if it were a CGI script.
Put your PHP scripts into your cgi_bin directory.
The PHP script needs to be told where the interpreter is, do this by changing the start of your script to read "#!/usr/local/php5/bin/php-cgi";
Here's an simple example:
#!/usr/local/php5/bin/php-cgi
<?php
phpinfo();
?>
If you have problems please read this.
|