Results 1 to 3 of 3

Thread: Non-Standard PHP.INI issue

  1. #1
    GreenBanana is offline Junior Member
    Join Date
    Jul 2006
    Posts
    2

    Default Non-Standard PHP.INI issue

    I've searched the forums for this so I apologize if this has already been covered.

    I use a hosting service to host my site where I plan to run this CRM software.

    It appears that they are running a non-standard install of PHP (4.4.2).

    The global settings for the server has SAFE_MODE turned on, but they do allow it to be turned off on a case by case basis per domain. In doing this, my php.ini file is not located in its usual location:

    /usr/local/Zend/etc/php.ini

    Instead, it is located in my

    /home/myusername/www/

    aka "public_html" directory where I can make changes. I have SAFE_MODE turned OFF for my domain, but because the installer reads the default php path, it thinks it is ON.

    Is there a way I can modify the installer so it reads MY php.ini file instead?

  2. #2
    GreenBanana is offline Junior Member
    Join Date
    Jul 2006
    Posts
    2

    Default Re: Non-Standard PHP.INI issue

    *bump* - anyone?

    Is there any way to modify the system check so it reads my php.ini instead of the server default?

  3. #3
    ruchida's Avatar
    ruchida is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Feb 2005
    Location
    Japan
    Posts
    1,375

    Default Re: Non-Standard PHP.INI issue

    The location of php.ini is defined in httpd.conf, so you can not change it.

    Instead, you can change some of the initial settings of php.ini by putting the .htaccess file in your Sugar directory.
    http://us2.php.net/configuration.changes

    But I don't think you can change the safe_mode value by .htaccess.
    Ryuhei Uchida
    Help Forum Moderator
    Calendar 2.0
    http://blogs.itmedia.co.jp/ruchida/

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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