Results 1 to 3 of 3

Thread: setting environment variables in php

  1. #1
    Join Date
    Oct 2006
    Posts
    5
    Rep Power
    9

    Default setting environment variables in php

    I need to set my environment variables (in linux) to point php to where my php.ini is located (/etc/..) as my phpinfo() is showing the path to be /opt/zimbra/php-5.0.5/lib/...(this dir does not even exist)

    Please advise on how to go about this. Thanks

  2. #2
    Join Date
    Aug 2005
    Location
    San Mateo, CA
    Posts
    4,789
    Rep Power
    19

    Default

    Which PHP are you using? You shouldn't use the Zimbra PHP or Apache for anything since it won't survive upgrades.
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

  3. #3
    Join Date
    Oct 2006
    Posts
    5
    Rep Power
    9

    Default

    Quote Originally Posted by KevinH
    Which PHP are you using? You shouldn't use the Zimbra PHP or Apache for anything since it won't survive upgrades.

    Kevin,

    This not very clear to me somehow:

    My phpinfo shows PHP Version 5.0.5. I believe this is the package that is installed with suse linux10.
    But, running php -i on the konsole gave me this version : phpinfo()
    PHP Version => 4.4.0

    And I'm not using zimbra and apache for anything else apart from their basic
    intended functionality.

    Thanks

Similar Threads

  1. Replies: 21
    Last Post: 02-04-2010, 10:06 AM
  2. Zimbra Install Problem - getDirectContext
    By bsimzer in forum Installation
    Replies: 27
    Last Post: 07-19-2007, 11:12 AM
  3. Replies: 13
    Last Post: 05-15-2007, 07:41 AM
  4. Getting problems in FC4 while instalation
    By kitty_bhoo in forum Installation
    Replies: 13
    Last Post: 09-12-2006, 11:34 PM
  5. Network edition - strange behavior
    By goetzi in forum Installation
    Replies: 6
    Last Post: 11-16-2005, 03:08 PM

Posting Permissions

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