Jump to content

php rename - permission denied


figo2476

Recommended Posts

I working in /var/www/test/ with kubuntu

 

in test.php:

<?php
rename('test.txt', 'newtest.txt');
?>

 

permisson, group, ownership:

test.txt 777 www-data www-data

newtest.txt 777  www-data www-data

 

error:

Access test.php via browser

'rename .... ermission denied'

 

I read that php doesn't have permissions to execute the 'rename'... Any hint?

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/88127-php-rename-permission-denied/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.