Linux Sysadmin Blog

Linux Sysadmin Blog header image 4

Entries from July 22nd, 2009

enabling allow_url_include locally in cPanel

July 22nd, 2009 · No Comments · cpanel, hosting, sysadmin

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” [...]

[Read more →]

Tags: ·