./bot.php: Permission denied

Back to PHP-IRC Support

Page: 1  
From User Message Body
neo_leopard
Post #795
Member
Date: 5:21 am, Sep 8 2008
Posts: 10


what should i do i get an error like this

./bot.php: Permission denied


dracozny
Post #796 - Reply to (#795) by neo_leopard
Member
Date: 6:06 am, Sep 8 2008
Posts: 30


"php bot.php bot.conf"
read *php-irc/readme.txt

Mad_Clog
Post #799
user avatar
Member
Date: 4:49 pm, Sep 8 2008
Posts: 176


or if you added the location of your php in bot.php, then give bot.php executable rights

neo_leopard
Post #800
Member
Date: 4:06 am, Sep 10 2008
Posts: 10


i get another error after i change the permission

./bot.php: line 1: ?php: No such file or directory
./bot.php: line 2: /aquota.group: Permission denied
./bot.php: line 3: +---------------------------------------------------------------------------: command not found
./bot.php: line 4: syntax error near unexpected token `|'
./bot.php: line 4: `| PHP-IRC v2.2.1 Service Release'

Mad_Clog
Post #801
user avatar
Member
Date: 5:24 am, Sep 10 2008
Posts: 176


then you didn't add the path of your php to bot.php and thus should start it like dracozny said.
I suggest you have a look at the manual

neo_leopard
Post #802
Member
Date: 2:05 am, Sep 11 2008
Posts: 10


tq. problem solved


   

Back to PHP-IRC Support