note 67912 deleted from function.fopen by bjori
| From: | bjori@php.net | Date: | Fri, 08 Dec 2006 07:19:58 +0000 |
| Subject: | note 67912 deleted from function.fopen by bjori | ||
| References: | 1 | Groups: | php.notes php.notes |
| Request: | Send a blank email to php-notes+get-120425@lists.php.net to get a copy of this message | ||
Note Submitter: info at netmines dot gr
----
Some of you might have permission problems using fopen, fwrite, uploading images, and generally
creating files using IIS or Apache server on Win XP.
Here is the solution to the problem:
1) Apache: Go to Services, right click on Apache Service and choose properties. Click the Log On tab
and switch from Local System Account to This Account; Using the browse choose a local account, and
enter the password. Click OK, restart apache service and you're done.
2) IIS: Open the Internet Information Services console and right click on the "Default web
site" (unless you renamed it to "my local server" or something. Click on properties
and then Directory Security. Press the Edit button and switch from the IUSR_yourPcName to a local
account (by clicking on the Browse button). Un-tick the Allow IIS to control password and in the
password field enter the pass for the account you chose. Click OK and you're done.
And a final note: On Desktop machines I never had any problems, but I always had that problem on
Laptops