Current time: 05-20-2024, 02:06 AM Hello There, Guest! (LoginRegister)


Post Reply 
allow_url_include = 'off' to 'on'
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #2
RE: allow_url_include = 'off' to 'on'
You should change the template file (found in /etc/ispcp/fcgi/parts). Anyway, this is *not* going to affect already-created domains, but only new ones. For the currently created domains, the easiest solution is to carve out a sed one-liner and perform the replacement on the domains' php.ini files.

Something like (Warning: it's a single line, and it's untested!!):
Code:
for f in `find /var/www/fcgi -name 'php.ini'`; do sed -i'' 's/allow_url_include = Off/allow_url_include = On/g' $f; done

Don't forget to restart apache afterwards.
12-10-2010 05:39 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: allow_url_include = 'off' to 'on' - kilburn - 12-10-2010 05:39 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)