Re: Premature end of script headers: php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



gw:/usr/local/php-4.3.10/bin # ./php -v
PHP 4.3.10 (cli) (built: Feb  3 2005 17:58:19)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

Your guess was correct...

after a new configure without axp2s...

gw:/usr/local/php-4.3.10/bin # ./php -v
PHP 4.3.10 (cgi) (built: Feb  3 2005 22:59:02)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

now it runs... PHP4 as CGI and PHP5 as module
Thanks!!

"Marek Kilimajer" <lists@xxxxxxxxxxxxx> schrieb im Newsbeitrag 
news:42028B2F.60503@xxxxxxxxxxxxxxxx
> Claudio wrote:
>> Maybe... What is the diference?
>>
>> In /usr/local/php-4.3.10/ I have 5 files after "make install"
>>
>> (pear php php-config phpextdist phpsize)
>>
>> What should I do? How can I "make" the cgi-executable?
>>
>> "Marek Kilimajer" wrote:
>>
>>>My guess cli binary is executed instead of cgi.
>
> Try
>
> $ /usr/local/php-4.3.10/php -v
>
> If the output is
>
> PHP 4.3.10 (cli) (built: .....
> ------------^^^
>
> it's CLI and CGI version was installed somewhere else. Try to locate it, 
> or check the output of make install. cgi version is installed by default 
> unless you include --disable-cgi in ./configure arguments 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux