I've just migrated from one Cpanel server to another.
On my old server, I often used php to require and include files outside of the current domain's user directory. This was handy for calling in database variables from other domains in order to link different databases together.
However I no longer have permission to do this on my new server. Fopen etc. fails unless the target file is chowned to the UID of the domain trying to access it, which is no good.
PHP's basedir_protection is definitely not turned on, and neither is PHP safemode. I presumre the ability to open files outside of the current user directory is an apache directive somewhere, but I have no idea where.
Security worries aside, anyone know how I can fix this? Thanks!



LinkBack URL
About LinkBacks
Reply With Quote




