chmod in windows

Problems with the Windows version of XAMPP, questions, comments, and anything related.

chmod in windows

Postby MKOracle » 12. October 2012 15:02

Hi all ...
I have a problem with my xampp and windows 7 !
I want to create a application with php, and it want to create a file in specific folder in my localhost on xampp ...
Because I use Windows I can't change the permisions of folders in xampp and this app dos not work correctly ... I try the application in linux and it worked .
Now how can I change the permission file in Windows in xampp ?!
thank u
MKOracle
 
Posts: 1
Joined: 12. October 2012 14:43
XAMPP Version: 1.7
Operating System: windows & linux

Re: chmod in windows

Postby JonB » 12. October 2012 16:23

The answer is simple - CHMOD does not exist in Windows, its irrelevant. Just write your code to check the OS. On Windows, with Apache use .htaccess and DIrectory directives in configuration files.

You could change permissions on Windows folders if you knew enough, but that would not work on Linux either.

Good Luck
8)

yttsr
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
XAMPP Version: 1.8.3-2
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 40 guests