Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bbpress is slow like godaddy says?


_ck_
Participant

@_ck_

vannak, 10 seconds is very bad (the time is independent of where you access it from)

chrishajer, something’s not right there, Windows must think you don’t have access rights to write to the directory. Whatever Windows’s equal to chmod has to be done.

According to php.net the chmod in php actually does do something on some windows setups.

So try replacing this line, like so:

$file=dirname(__FILE__)."/test.txt"; $h=fopen($file, "wb"); fclose($h); chmod($file, 0777 );

Skip to toolbar