Results 1 to 4 of 4
Thread: Script Issue
-
08-25-2009, 12:59 PM #1Junior Guru Wannabe
- Join Date
- Jun 2009
- Posts
- 43
Script Issue
Not sure what this means... I just uploaded the script today, but do not want to remove the open_basedir support.
Code:curl_setopt_array(): CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/myname/public_html/scriptname/include/sha1md5.php
Code:<IfModule concurrent_php.c> php4_admin_value open_basedir "/home/myname:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp" php5_admin_value open_basedir "/home/myname:/usr/lib/php:/usr/local/lib/php:/tmp" </IfModule> <IfModule !concurrent_php.c> <IfModule mod_php4.c> php_admin_value open_basedir "/home/myname:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp" </IfModule> <IfModule mod_php5.c> php_admin_value open_basedir "/home/myname:/usr/lib/php:/usr/local/lib/php:/tmp" </IfModule> <IfModule sapi_apache2.c> php_admin_value open_basedir "/home/myname:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp" </IfModule> </IfModule>
-
08-25-2009, 02:55 PM #2Junior Guru
- Join Date
- Sep 2004
- Location
- Chicago, IL
- Posts
- 214
you are running PHP in safe mode, turn it off, and restart apache. Also, it might be because you have open base set - disable this if the first thing doesn't work.
-
08-25-2009, 04:37 PM #3Web Hosting Master
- Join Date
- Apr 2007
- Posts
- 3,531
is safe mode on? if not change in /etc/php.ini and reboot the service.
also is open_basedir set to the correct directory?BotWars.io - Code the AI of your Battle Bot!
-
08-25-2009, 04:47 PM #4Web Hosting Master
- Join Date
- Feb 2006
- Location
- Kusadasi, Turkey
- Posts
- 3,379
CURLOPT_FOLLOWLOCATION doesn't work with open_basedir, as per the cURL design, even if open_basedir is configured perfectly.
Can you remove the CURLOPT_FOLLOWLOCATION from the script?█ Fraud Record - Stop Fraud Clients, Report Abusive Customers.
█ Combine your efforts to fight misbehaving clients.
█ HarzemDesign - Highest quality, well designed and carefully coded hosting designs. Not cheap though.
█ Large and awesome portfolio, just visit and see!
Similar Threads
-
Script Dependency Issue
By -DeaDLocK- in forum Hosting Security and TechnologyReplies: 6Last Post: 07-01-2009, 01:24 PM -
Script Issue ?
By map007 in forum Hosting Security and TechnologyReplies: 4Last Post: 03-24-2009, 02:03 PM -
Is this a server or a script issue?
By iNCubO in forum Hosting Security and TechnologyReplies: 3Last Post: 12-18-2008, 03:40 AM -
php mailing script issue
By ITHost-KoreyR in forum Programming DiscussionReplies: 3Last Post: 03-09-2007, 10:30 AM -
PHP and MySQL Script Issue
By Xanie in forum Programming DiscussionReplies: 16Last Post: 12-11-2002, 02:19 AM