Problem in wamp

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ADQUSIT
Forum Newbie
Posts: 1
Joined: Wed Feb 22, 2012 6:24 am

Problem in wamp

Post by ADQUSIT »

Hi, I have installed latest version of WAMP from wamp website, when i write the code and execute it so it says no permission Why its happening? please assist me.
nithinkk
Forum Commoner
Posts: 55
Joined: Sat Nov 28, 2009 7:57 am

Re: Problem in wamp

Post by nithinkk »

First of all you must install WAMP using Administrator user.

Here is what you can do
- login as an administrator;
- Install wamp
- Download subinacl.exe from microsoft: [tinyurl.com]
- grant permissions to the regular user account to manage the WAMP services: (subinacl.exe is in C:\Program Files (x86)\Windows Resource Kits\Tools\)

subinacl /SERVICE \\MachineName\wampapache /GRANT=domainname.com\username=F
subinacl /SERVICE \\MachineName\wampmysql /GRANT=domainname.com\username=F

5) logout and log back in as the user.

If you wanna change file permission in Windows

- Right click on the file and go to Properties. There should be a Security tab where you can change the permissions.
Post Reply