Linux System Admins Blog

System admins of Promet – an e-commerce, high availability Open Source web shop – share their findings

Linux System Admins Blog header image 4

enabling allow_url_include locally in cPanel

July 22nd, 2009 · No Comments

When using cPanel the way to enable allow_url_include directive locally (per user) is to create an Virtual Host include:
First create an include file:
/usr/local/apache/conf/userdata/std/2/username/domain.com/custom.conf
Add directive to custom.conf:

php_admin_flag allow_url_include On

Then run to enable include:
/scripts/ensure_vhost_includes –user=username –verbose
Alternatively, enabling allow_url_include globally (server-wide) is done by editing /usr/local/lib/php.ini and adding “allow_url_include = On” directive to the Fopen wrapper section.
;;;;;;;;;;;;;;;;;;
; [...]

[Read more →]

Tags: cpanel · hosting · sysadmin