ID: 35186 User updated by: samm at os2 dot kiev dot ua Reported By: samm at os2 dot kiev dot ua Status: Open Bug Type: Apache2 related Operating System: FreeBSD 6 PHP Version: 5CVS, 4CVS (2005-11-11) (snap) New Comment:
Just to make you absolutely sure i repeat this tests with latest php5 cvs snapshot (php5-200511170930). Configure string was "./configure --with-apxs2=/usr/local/sbin/apxs". $ grep php httpd.conf LoadModule php5_module /usr/home/samm/src/php/php5-200511170930/libs/libphp5.so DirectoryIndex index.php index.html index.html.var AddType application/x-httpd-php .php .phtml test.php content: <? echo "getcwd() output='".getcwd()."'"; phpinfo(); ?> You can see result of this script, which i uploaded to my server: test.php output when requested as test.html: http://www.uba.ua/test/phptest/test.html.out.html test.php output when requested as test.php: http://www.uba.ua/test/phptest/test.php.out.html I hope, this help you and you will not ask me again if i use latest php ;-) Previous Comments: ------------------------------------------------------------------------ [2005-11-17 10:59:45] samm at os2 dot kiev dot ua Yes, i tried with latest PHP too. See "I check this with php5-200511102130 - the bug is still present.". ------------------------------------------------------------------------ [2005-11-17 09:41:59] [EMAIL PROTECTED] You're using the PHP 4 snapshot. Did you or did you not try the 5.1 snapshot I asked you?! ------------------------------------------------------------------------ [2005-11-14 20:51:57] adsh at univ dot kiev dot ua I have blank reply in 5 attempts with instructions in the 1-st message. telnet www.server.kiev.ua 80 Trying 193.xxx.xxx.xxx... Connected to www.server.kiev.ua. Escape character is '^]'. GET http://www.server.kiev.ua/test/test.html HTTP/1.0 HTTP/1.0 200 OK Date: Mon, 14 Nov 2005 19:42:58 GMT Server: Apache/2.0.55 (FreeBSD) X-Powered-By: PHP/4.4.2-dev Content-Length: 0 Connection: close Content-Type: text/html; charset=windows-1251 Connection closed by foreign host. php4-STABLE-200511131945, FreeBSD 4.11 ------------------------------------------------------------------------ [2005-11-11 08:04:02] samm at os2 dot kiev dot ua I played with different version of the sapi_apache2.c and found that last working version was 1.1.2.40 and first failed was 1.1.2.40.2.5 . I was unable to check versions between this, because they failed to work with mod_rewrite giving no output at all. I hope, this help you. ------------------------------------------------------------------------ [2005-11-11 06:27:55] samm at os2 dot kiev dot ua HAVE_BROKEN_GETCWD is undefined /* Define if system has broken getcwd */ /* #undef HAVE_BROKEN_GETCWD */ And i used last LoadModule item for the php4_module in the httpd.conf: LoadModule php4_module /usr/home/samm/src/php4-STABLE-200511101949/libs/libphp4.so Also i have AddType application/x-httpd-php .php .phtml to enable parsing of php. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/35186 -- Edit this bug report at http://bugs.php.net/?id=35186&edit=1