Re: Forum displays PHP code, not website [message #177387 is a reply to message #177385] |
Fri, 23 March 2012 17:13 |
M. Strobel
Messages: 386 Registered: December 2011
Karma:
|
Senior Member |
|
|
Am 23.03.2012 05:37, schrieb Gordon Burditt:
>>>> Hmm - shure? He said "PHP application on the server was missing or
>>>> defective?".
>>>
>>>> Missing not, the code was displayed.
>
> If PHP itself is missing, not turned on, or incorrectly configured,
> you can get that result. I take it here that "PHP application"
> refers to PHP *as* an application, not an application that *runs*
> under PHP.
>
You say *PHP is* the application, the philosopher said the web server is the application.
I find both statements technically speaking true, but when the OP asked if the
problem was the application he was talking quite clearly about the forum software,
i.e. the *PHP script*.
Agreed that the main executable is the web server, which calls the PHP module. But
when you say "I write my application in python/perl/php" you are writing a script,
not an interpreter!
/Str.
|
|
|