Friday, 23 August 2013

SAFE MODE Restriction on migration to nginx + php-fastcgi on centos

SAFE MODE Restriction on migration to nginx + php-fastcgi on centos

I recently migrated from apache to nginx on centos on a VPS only to get
the following warning.
Warning: require_once(): SAFE MODE Restriction in effect. The script whose
uid is 509 is not allowed to access
/home/finance/system/core/CodeIgniter.php owned by uid 0 in
/home/finance/index.php on line 204 Warning:
require_once(/home/finance/system/core/CodeIgniter.php): failed to open
stream: Inappropriate ioctl for device in /home/finance/index.php on line
204 Fatal error: require_once(): Failed opening required
'/home/finance/system/core/CodeIgniter.php'
(include_path='.:/usr/share/pear:/usr/share/php') in
/home/finance/index.php on line 204
What surprises me is that i was successfully able to run some other
websites running with identical configuration. I am using codeigniter.

No comments:

Post a Comment