Results 1 to 4 of 4

Thread: Script Issue

  1. #1
    Join Date
    Jun 2009

    Script Issue

    Not sure what this means... I just uploaded the script today, but do not want to remove the open_basedir support.

    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
    <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 !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 mod_php5.c>
                php_admin_value open_basedir "/home/myname:/usr/lib/php:/usr/local/lib/php:/tmp"
            <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"

  2. #2
    Join Date
    Sep 2004
    Chicago, IL
    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.
    Ben Lenard, MS, MBA
    TechMinds 4 Hire, Inc - (866) 214-1285 x 2001

  3. #3
    Join Date
    Apr 2007
    is safe mode on? if not change in /etc/php.ini and reboot the service.
    also is open_basedir set to the correct directory?
    - Buying up websites, side-projects and companies - PM Me! -

  4. #4
    Join Date
    Feb 2006
    Kusadasi, Turkey
    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

  1. Script Dependency Issue
    By -DeaDLocK- in forum Hosting Security and Technology
    Replies: 6
    Last Post: 07-01-2009, 01:24 PM
  2. Script Issue ?
    By map007 in forum Hosting Security and Technology
    Replies: 4
    Last Post: 03-24-2009, 02:03 PM
  3. Is this a server or a script issue?
    By iNCubO in forum Hosting Security and Technology
    Replies: 3
    Last Post: 12-18-2008, 03:40 AM
  4. php mailing script issue
    By ITHost-KoreyR in forum Programming Discussion
    Replies: 3
    Last Post: 03-09-2007, 10:30 AM
  5. PHP and MySQL Script Issue
    By Xanie in forum Programming Discussion
    Replies: 16
    Last Post: 12-11-2002, 02:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts