Forums

PHP

This topic is locked

PHP on Shared Linux Server

Posted 10 Nov 2001 05:05:30
1
has voted
10 Nov 2001 05:05:30 Michael Davis posted:
I'm somewhat new at this, but on my server, all PHP scripts must have this string (#!/usr/local/bin/php) at the top of every PHP script. The only problem is, it screws up the look of the page in design view in UD. Everything works fine, it's just harder to visually design the page. Anyone else run into this?

Replies

Replied 10 Nov 2001 18:48:06
10 Nov 2001 18:48:06 Bruno Mairlot replied:
This looks very much like your Webserver is configured to serve PHP page as <b>CGI</b>.

If you have the possibility you should try to use PHP as an Apache module (or IIS ISAPI module).

You'll get tons of functionnality if you use PHP as a module instead of CGI...Though it might not be possible.

Bruno

--- Better to die trying, than never try at all ---
Replied 10 Nov 2001 19:26:29
10 Nov 2001 19:26:29 Michael Davis replied:
Unfortunaetly, my company is on a shared hosting server, and I don't have control over things like that. One question, what kind of functionality am I going to lose with my server conifigured as it is?

Reply to this topic