#38 php-cgi not work

closed-invalid
Jakub Vrána
Common (150)
5
2010-02-22
2010-02-20
Anonymous
No

Добрый день, помогите пожалуйста разобраться с проблемой.
В adminer.php добавил строчку #!/usr/bin/php-cgi
После чего стали появляться эти ошибки, Почему?

Warning: session_start() [function.session-start]: Cannot send session
cookie - headers already sent by (output started at /var/www/adminer.php:3)
in /var/www/adminer.php on line 72

Warning: session_start() [function.session-start]: Cannot send session
cache limiter - headers already sent (output started at
/var/www/adminer.php:3) in /var/www/adminer.php on line 72

Warning: Cannot modify header information - headers already sent by (output
started at /var/www/adminer.php:3) in /var/www/adminer.php on line 227

Warning: Cannot modify header information - headers already sent by (output
started at /var/www/adminer.php:3) in /var/www/adminer.php on line 227

Discussion

  • Jakub Vrána
    Jakub Vrána
    2010-02-22

    • status: open --> closed-invalid
     
  • Jakub Vrána
    Jakub Vrána
    2010-02-22

    You have probably added some other characters. #!/usr/bin/php-cgi line should not be necessary.