Page 1 of 1

I HAVE PROBLEM WITH function fopen

Posted: Fri Jun 27, 2008 11:16 am
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