Permission denied on wampp
Posted by: Heman (102.112.78.---)
Date: March 29, 2023 11:56AM

Dear Team,
I trust you are doing well

Whenever i click on add to virtual host , the following errors are being display :
- Permission denied in C:\wamp64\www\add_vhost.php on line 429
- ) Warning: fwrite() expects parameter 1 to be resource, bool given in C:\wamp64\www\add_vhost.php on line 432
- Warning: fclose() expects parameter 1 to be resource, bool given in C:\wamp64\www\add_vhost.php on line 434
- ) Notice: Undefined variable: fp2w in C:\wamp64\www\add_vhost.php on line 435


Can anyone please advised me what can be done?


Thank you

Options: ReplyQuote
Re: Permission denied on wampp
Posted by: Otomatic (Moderator)
Date: March 29, 2023 02:03PM

Hi,

This means that the file C:\Windows\System32\drivers\etc\hosts is blocked by your anti-virus or anti-spyware software.

Put this file as an exception in your anti-virus and/or anti-spyware software.

In addition, it would be necessary to read and apply item 09 of TROUBLESHOOTING TIPS

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.