How to set up SELinux to allow remote debugging? |
Site Admin
|
you need to allow the server application (the process that runs php binary) to open connection to localhost using TCP/7777 port. That's it. As of application -- if you're running Apache php4apache module, php binary is loaded a shared object in this case and therefore it's Apache itself (httpd) should be granted this permission. If you're running php-fpm, a standalone fcgi process, you need to grant php-fpm with permissions to open such connections.
You may want to read manual about how to configure SELinux https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/using_selinux/configuring-selinux-for-applications-and-services-with-non-standard-configurations_using-selinux NOTE -- you need only localhost (127.0.0.1), not "any" host and connections is originating FROM the application to a listener in SSHD process, not TO the listener in the application, like in case of apache 80 port. |
||||||||||||
_________________ The PHP IDE team |
How to set up SELinux to allow remote debugging? |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by