Skip to main content

Thread: Permission Denied when running PHP script from terminal


hi all,

need here. planning use cron_jobs execute php script automatically .
when try execute script terminal (prompt) test it, gives error messages says :

html code:
root@ubuntu-server:~# /var/www/leiloes/www/htdocs/cron_jobs/generate_static_content.php bash: /var/www/leiloes/www/htdocs/cron_jobs/generate_static_content.php: permission denied
i setup users account , permission read , write, root , in cron_jobs folder, listed in .htpasswd.

there missed ?

thank kind assistance anda helps.

did make script executable?

post output of ls -l on file


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Permission Denied when running PHP script from terminal


Ubuntu

Comments

Popular posts from this blog

invalid use of void expresion in FlexiTimer2 library

error: a function-definition is not allowed here before '{' token

LED Strip Code