Can't unset ReadOnly on php directory [RESOLVED]
Moderator: General Moderators
Can't unset ReadOnly on php directory [RESOLVED]
I've been successfully using PHP5 on Windows XP for over a year. When I recently installed shareware called MyDB Dump (I think this is when this happened), suddenly I couldn't start up PHP when I boot Windows XP. I got the dreaded "unable to load php_mysql.dll" error. But the file was where it was supposed to be, and php.ini was correct, and I even reloaded the dll to make sure it wasn't corrupted. Then I noticed that the directory it was in, C:\php\ext\ was ReadOnly! Then I noticed that practically my whole hard disk indicates that the directories are ReadOnly!! When I reset them, it appears to "take", but when I look at the Properties, they are ReadOnly again!
I suspect it's a registry issue. Anyone know what's happening and how to correct it?
TIA
I suspect it's a registry issue. Anyone know what's happening and how to correct it?
TIA
Last edited by califdon on Tue Mar 13, 2007 5:12 pm, edited 1 time in total.
Thanks for the lightning quick response, feyd. That makes sense, but I don't use any login accounts on my WinXP system, so as far as I know, there aren't any admin accounts, and it's the same OS I've been running with for two years without ever running into this problem, during which time I've installed numerous systems, including Apache, MySQL, PHP and others. Grrrr!feyd wrote:Sounds like an ownership issue.
No, it's just XP Home. I have never needed any kind of permissions on this machine, despite lots of installing, etc., and my understanding was that if you don't create users, effectively your automatic login is an admin account.feyd wrote:Despite not seeing the users, they do exist. Are you running XP Pro?
I've been procrastinating on that, thinking that it's fairly old software and I haven't paid them anything, and I suspect, but don't know for sure that installing it caused the problem. But I think you're right, I should do that. And I will. Thanks.feyd wrote:In other thoughts, have you talked to the makers of this "MyDB Dump"?
What doesin a command line window print?
see also: http://www.google.de/search?q=site:micr ... art=0&sa=N
Code: Select all
cacls C:\php\ext\php_mysql.dllsee also: http://www.google.de/search?q=site:micr ... art=0&sa=N
volka wrote:What doesin a command line window print?Code: Select all
cacls C:\php\ext\php_mysql.dll
see also: http://www.google.de/search?q=site:micr ... art=0&sa=N
Code: Select all
BUILTIN\Administrators:F
NT AUTHORITY\System:F
SLICK\Donald:F
BUILTIN\Users:R