[Asterisk-Users] FW: Getting PHP Config to work?

C. Tomlinson asterisk_list at burntwires.com
Sat Mar 5 05:35:08 MST 2005


Thanks,

I had thought this, and done the command:

chmod -R a+w /etc/asterisk

And it still didn't work.

However I just set chmod 777 via WinSCP recursively, and it worked :)
This is only a testing box I am not worried about the security risks.

Strange the chmod didn't work I feel?

C

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Time Bandit
Sent: 05 March 2005 12:28
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] FW: Getting PHP Config to work?

> However now I cannot even browse a .conf file via phpconfig. When clicking
> on the file I get the following error:
> 
> Warning: fopen(/etc/asterisk/iax.conf): failed to open stream: Permission
> denied in /var/www/phpconfig/cls_phpconfig.php on line 127
> 
> I have gone over the wiki page, done chmod again etc, but nothing makes a
> difference.

Your apache doesn't have read access on the file. It can't read the
file or even worse, it can't go in that dir. Check that /etc/asterisk
is readable (and writable) by apache. Also check that the conf files
are readable by apache.

hth
_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list