php as apache mod with safemode and allowing to open nobody files

Anyone managed to modify php source so when php mod is running with apache and safe mode is on you still can open files beloging to user that runs apache (nobody)?

I found one solution http://titov.net/safemodepatch/

Perhaps someone that knows c++ better than me could do the same trick on php 5.x?

 

 

 

 

Top