NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
PHP DBG with Fedora 3


Joined: 12 Jun 2005
Posts: 1
Reply with quote
If you've spent the last few days banging your head against a wall trying to get DBG to load with PHP on fedora then maybe this will help.

The symptoms are:
dbg does not load.
/var/log/messages has "avc: denied { execute } for..." showing the dbo.so module
if you try and load dbo manually (dl in php) then you'll see "failed to map segment from shared object: permission denied"
The root cause is SE linux (Security Enhanced Linux: Link: http://fedora.redhat.com/docs/selinux-faq-fc3/index.html#id2763109)
the simplest thing to do is disable is:
setenforce 0
and then restart apache:
/etc/init.d/httpd restart
This is only a runtime solution. For a boot time solution edit:
/etc/sysconfig/selinux
But read the link above, so you set the option best for you.

Hope this helps - it would have saved me the weekend.

_________________
pc
View user's profileFind all posts by pcSend private message


Joined: 20 May 2004
Posts: 81
Reply with quote
Thanks for your report.
View user's profileFind all posts by mblshaSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
Probably, recompiling the module under FC3 will help without modifying SE policy.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
PHP DBG with Fedora 3
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic