Hello again, uff this sysop and developer is so hard I have a weird trouble with a visit counter, well exactly with the permissions, i had gave all permissions but no works. The error is this: Code: Warning: fopen(numero.txt) [function.fopen]: failed to open stream: Permission denied in /var/www/web52/web/funciones/contador/contador.php on line 16 All is chmoded to 0777 Any sugestion? Thank you very much
Is php running in safe mode? If so, try to switch it off to see if the error disappears. What is the output after executing the command: ls -la /var/www/web52/web ?
Hello Hans. Thanks for your atention. The php.ini in /etc/php5/apache2/ is off the safe mode (safe mode = off) When i do ls -la the screen show that the files has all the permissions: -rwxrwxrwx numeros.txt that is the file whicht should to be readed and writed for the counter. Because and i very missing with this. May be this question is not related with ispconfig and it is related with linux ubuntu server Thank you again.
What's in Vhosts_ispconfig.conf? What's the output of Code: ls -la /var/www/web52/web/funciones/contador ?
Hello Falko, this is the ls -la out: Code: drwxrwxrwx 3 webmaster21 web52 4096 2008-09-01 17:15 . drwxrwxrwx 3 webmaster21 web52 4096 2008-09-01 16:03 .. -rwxrwxrwx 1 webmaster21 web52 814 2008-09-01 15:03 contador.php -rw-r--r-- 1 root root 378 2008-09-01 17:13 drwxrwxrwx -rw-r--r-- 1 root root 0 2008-09-01 17:15 ls_contador.txt drwxrwxrwx 2 webmaster21 web52 4096 2008-08-31 15:50 numeros -rwxrwxrwx 1 webmaster21 web52 1 2008-08-31 16:59 numero.txt All is 0777 mode Thank you very much