Re: SELinux dropping PHP Connection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anything showing up in /var/log/messages?

Sent from my iPhone

On Apr 12, 2010, at 7:48, "Johan Dindaine" <jojolapin972@xxxxxxxxx>  
wrote:

> Good morning the list,
>
> I am managing a Red Hat server which has got a standar LAMP
> environment (PHP 5.3 + MYSQL 5.1 + Apache 2.2.3).
> When I am trying to parse files that are external to my network or out
> of my virtual host I got this weird error message:
> Warning: file_get_contents(http://localhost:15000/solr...)
> [function.file-get-contents]: failed to open stream: Permission denied
> I suspect that SELinux is dropping the connection as I haven't set up
> any limitation at PHP level (safe_mode is Off and allow_url_fopen is
> ON).
> My question is how can I modify this setting to allow my script to
> call this external URL?
>
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux