#92 [NEW]: DOS line endings cause errors on Linux
| From: | mroch@php.net | Date: | Mon, 13 Oct 2003 06:19:58 +0000 |
| Subject: | #92 [NEW]: DOS line endings cause errors on Linux | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-22626@lists.php.net to get a copy of this message | ||
From: mroch@php.net
Operating system: Unix
PHP version: Irrelevant
PHP Bug Type: Auth
Bug description: DOS line endings cause errors on Linux
Description:
------------
Manfred Rebentisch wrote:
> Hello,
> I found some messages with Auth-problems, but no solutions. I did run
into
> the same problem: The Auth package shows the login window again and
again.
> getAuth() always seems to return false.
>
> I found the solution on my system ( Linux / SuSE 8.2, Apache 2.0.46,
PHP
> 4.3.2):
>
> changing all the "\r\n" to "\n" in the auth-package.
>
> for $i in *.php do dos2unix $i;
> for $i in *.php do chmod a+rw $i;
>
> I do it in /usr/share/php/Auth/ and in /usr/share/php/Auth/Container.
http://marc.theaimsgroup.com/?l=pear-general&m=106602463430507&w=2
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=92&edit=1
--