I HAVE PROBLEM WITH function fopen

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jcucho
Forum Newbie
Posts: 1
Joined: Fri Jun 27, 2008 11:05 am

I HAVE PROBLEM WITH function fopen

Post by jcucho »

HI all people my name is juan, i am peru.
i am a new in php ,i have a problem with fopen function, i am trying open a archive and return this message Warning: fopen(/etc/asterisk/sip.conf) [function.fopen]: failed to open stream: Permission denied in /var/www/html/asterisk/sip.php on line 3, i am using linux-centos, apache and php5, the directory asterisk i changed the permissed with chmod 777 command and owner and group apache.apache bu i have equal error
wait for theirs answers thanks
Post Reply