note 94303 deleted from function.file-get-contents by salathe

From: Date: Mon, 21 Sep 2020 14:37:46 +0000
Subject: note 94303 deleted from function.file-get-contents by salathe
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-215228@lists.php.net to get a copy of this message
Note Submitter: ken at wetken dot net ---- On Centos 5, and maybe other Red Hat based systems, any attempt to use file_get_contents to access a URL on an http port other than 80 (e.g. "http://www.example.com:8040/page") may fail with a permissions violation (error 13) unless the box you are running php on has its seLinux set to 'permissive' not 'enforcing' . Otherwise the request doesn't even get out of the box, i.e. the permissions violation is generated locally by seLinux.

« previous php.notes (#215228) next »