Re: [PHP4BETA] I give up. PHP4 CGI goes boom.
| From: | Chad Cunningham | Date: | Wed, 21 Jul 1999 22:33:11 +0000 |
| Subject: | Re: [PHP4BETA] I give up. PHP4 CGI goes boom. | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-2478@lists.php.net to get a copy of this message | ||
I'm not having much luck either... On Solaris, the first time I tried, all I
got was "No input file specified". So I recompiled and tried again, and now
all I get is an Internal Server Error with the logs saying the php binary
has a premature end of script headers... I'm also running php3 as a module
on this server, but I assume there's no problem running a php4 cgi and a
php3 module on the same machine since they use different mime types, right?
Anyone gotten a cgi to work?
Brian Moon wrote:
> I have it going on Windows (ironic eh?)
>
> ScriptAlias /php4/ "c:/internet/apps/php4/"
> Action application/x-httpd-php "/php4/php.exe"
> AddType application/x-httpd-php .php
>
> Works like a charm. But on my FreeBSD:
>
> ScriptAlias /php4/ "/usr/local/bin/"
> Action application/x-httpd-php "/php4/php4"
> AddType application/x-httpd-php .php
>
> gives me:
>
> Parse error: parse error in /usr/local/bin/php4 on line 117
>
> Has anyone really tried it?
>
> Brian Moon
> -------------------------------------------------------------------------
> Phorum Dev Team - http://www.phorum.org
> Making better forums with PHP
> -------------------------------------------------------------------------
>
> --
> PHP 4 Beta