[PHP-DEV] #3364 solved (outsider) From: Shevek (shevek <email protected>)
Date: 02/01/00

This solves bug #3364, possibly #1884, #3030 and other similar. I am not a
PHP developer, so I hope someone picks up on this, I have submitted it to
Apache people.

Synopsis:
> I get permission denied every time I try to read a page. An error is
> logged: 'Cannot read .htaccess' when the .htaccess does not exist.

Solution:

errno is being misdefined, edit apache_1.3.11/src/include/ap_config.h and
put

#include <pthread.h>

before <stdlib.h>

to get the MT version of errno (*__errno_location())

I do not know (and I would like to know) why PHP triggered the problem. I
have not looked in too much depth.

More details on request, I have written about 5 pages of debugging.

Ta.

S.

--
Shevek
GM/CS/MU -d+ H+>++ s+: !g p2 au0 !a w+++ v-(---) C++++$ UL++++$ UB+
US+++$ UI+++$ P++>++++ L++++$ 3+ E--- N K- !W(-----) M(-) !V -po+ Y+
t+ 5++ !j !R G' !tv b+++ D++ B--- e+ u+* h++ f? r++ n---- y?
Recent UH+>++ UO+ UC++ U?+++ UV++ and collecting.

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>