#3343 [Opn->]: Files on Win 98 Apache

From: Date: Tue, 01 Oct 2002 19:06:45 +0000
Subject: #3343 [Opn->]: Files on Win 98 Apache
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-21051@lists.php.net to get a copy of this message
ID: 3343 Updated by: hholzgra@php.net Reported By: Decoy_69s@hotmail.com -Status: Open +Status: Won\'t fix Bug Type: Other Operating System: Windows 98 PHP Version: 3.0.14 New Comment: We are sorry, but can not support PHP 3 related problems anymore. Momentum is gathering for PHP 5, and we think supporting PHP 3 will lead to a waste of resources which we want to put into getting PHP 5 ready. Ofcourse PHP 4 will will continue to be supported for the forseeable future. i'd guess some invisible windows control character slipped into that file that confuses the parser on unix ... Previous Comments: ------------------------------------------------------------------------ [2000-01-29 00:52:35] Decoy_69s@hotmail.com I programmed a webforum in PHP and ran it on my linux system in which it ran fine. I then moved the system to win 98 without changing the code and am having problems with writing and reading to files. I do not suspect the code. To check this I created the following code to test it: <html> <head> <title>PHP Test</title> </head> <body> <?php $filePointer = fopen("test.txt","w") echo "\$filePointer=$filePointer<br>"; if($filePointer) { fwrite($filePointer,"this is a test"); fclose($filePointer); } ?> </body> </html> I received the following error: Parse error: parse error in c:\program files\apache group\apache\htdocs\php\test.php3 on line 9 I suspect a configuration in apache that disallows the php code to write to files. I'm using Apache 1.3.6. Are there any known issues with it or is there a setting I have to change? Any help is appreciated. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=3343&edit=1

« previous php.bugs (#21051) next »