> I found some errors in phpconfig. Open the file cls_phpconfig.php
> 
> In the function OC_readConfFile around line 131
> change : $this->_OC_the_file[] = fgetc($file);
> to : $this->_OC_the_file[] = fgets($file);
> 
> In the function OC_checkAccess around line 438
> change : $accessFile[] = fgetc($file);
> to : $accessFile[] = fgets($file);
> 
> fgetc read one character at a time. fgets read one line at a time.
> 
> >I have moved asterisk.reload into /bin, and if I run it from the shell I
get
> You don't have to move it to /bin. You can just do this simple
> modification to have it run from the same place as the pages
> Open the file phpconfig.php
> Look for : $reset_cmd = "asterisk.reload"
> and change to $reset_cmd = "./asterisk.reload"

Some time ago, I had the same probs with phpconfig and had to search and
google quite a long time to get it running. Since our systems are now
running fine with phpconfig, I simply forgot the above fgetc/fgets issue.
Therefore...
A wonderful place for all this would be the wiki ;-)

Guido Hecken

_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to