php-install Digest 17 Mar 2002 16:07:10 -0000 Issue 748
Topics (messages 6386 through 6386):
Re: parse error in /usr/local/php/php on line 8088
6386 by: Andreas Grabmüller
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hi,
I installed php as cgi into /usr/local/bin (standard path). Then I created a
link in /usr/local/php so you can call php as /usr/local/php/php (for
security reasons). That works fine on the console.
Then I tried to integrate php into Apache. I did it the following way:
--
ScriptAlias /cgi-php/ "/usr/local/php/"
--
That works fine, calling www.domain.tld/cgi-php/ gives me back the security
error.
--
AddHandler php-script .php .php3 .php4
Action php-script /cgi-php/php
--
That is what I found in some manuals on the internet. Calling any php script
(this can be a empty file or a complex script) gives me back the following
error:
--
Parse error: parse error in /usr/local/php/php on line 8088
--
Does anyone know what's the problem here? I have tried many different
things, I also tried to use /usr/local/php but it's the same error. Calling
the script via console works fine...
--
MFG GameCrash
Webmaster Let'z Play
@ http://www.letzplay.de
Webmaster Sharp-Forum.de
@ http://www.sharp-forum.de
--- End Message ---