php safemode acces /tmp

I got php running as apache module on 2 servers. I enable safemode.

on one server everything works ok (fedora 1)

on another (red hat 9) php cant access /tmp because of safemode restrictions.

/tmp and / have same permissions on both servers, and that is stricly php safemode related.

I compiled php 4.4.0, 5.0.4, 5.0.5 on both server. Everytime same result. On fedora there is access to /tmp or red hat 9 not.

I cant think of any diffrence between two servers other than os, but perhaps you can point me to right direction?

Does anyone have idea how to make /tmp accessible on red hat one?

ps. Dont answer off topic, dont lecture anyone that php in safemode cant access /tmp, dont propose me running php as cgi, dont propose any other means to replace safe mode.

 

 

 

 

Top