Posted by BinnyVA on 11/06/06 17:27
Hello everyone,
I have solved this problem - the cause was SELinux.
After a while, I gave up on curl and tired to access the url using
fsockopen - the script failed with a 'Permission denied' error. A
search later, I found this was due to SELinux.
So I disabled SELinux...
Open /etc/selinux/config
Add the line 'SELINUX=disabled'
Reboot the system
Note : You have to be root to do this.
Now both fsockopen and curl is working fine.
> --
> Binny V A
> http://www.bin-co.com/php/ - Many PHP functions
Navigation:
[Reply to this message]
|