ID: 9446
User Update by: [EMAIL PROTECTED]
Status: Closed
Bug Type: *Configuration Issues
Description: CGI version echos first line

there are encoded files on that machine too.  By disabling optimizer, all encoded 
files stop running.

Previous Comments:
---------------------------------------------------------------------------

[2001-03-06 11:59:55] [EMAIL PROTECTED]
Putting this:

zend_optimizer.enable_loader=0

in the php.ini should help you.

---------------------------------------------------------------------------

[2001-03-06 11:52:32] [EMAIL PROTECTED]
Yes, I use Zend Optimizer.  Is it causing the problem ?

---------------------------------------------------------------------------

[2001-03-06 06:34:04] [EMAIL PROTECTED]
Do you use Zend Optimizer, probably?

---------------------------------------------------------------------------

[2001-02-25 15:37:41] [EMAIL PROTECTED]
using PHP 4.0.4pl1 under Linux

I configured php as:
./configure --with-mysql=/usr/local/mysql --with-pgsql=/usr/local/posgresql 
--enable-track-vars --enable-gd=../gd1.8.3 --enable-ftp --enable-discard-path

now.. the problem is simple... i create script to run from the shell containing the 
following:

#!/usr/local/bin/php
<?
        echo "asdf";
?>

the problem: PHP prints #!/usr/local/bin/php on top of all output.. i tried to use 
output buffering to suppress it, but it doesnt catch it, without the 
#!/usr/local/bin/php I cant run the script from shell properly ... 

I noticed this issue since version 4.0.3pl1 (I think) .. but it was not existant in 
past versions (4.0.2 ,  etc)

---------------------------------------------------------------------------


Full Bug description available at: http://bugs.php.net/?id=9446


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to