The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

do i have 2 php versions installed ?

Discussion in 'General Discussion' started by sphost, Jul 7, 2004.

  1. sphost

    sphost Well-Known Member

    Joined:
    Jan 19, 2004
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    when i check phpinfo file i find out that :

    Configuration File (php.ini) Path : /usr/local/Zend/etc/php.ini

    is this normal ?

    and also :

    include_path .:/usr/lib/php:/usr/local/lib/php

    do i have 2 php versions installed ? :confused:

    thanks
     
  2. carluk

    carluk Well-Known Member

    Joined:
    Sep 2, 2003
    Messages:
    162
    Likes Received:
    0
    Trophy Points:
    16
    Do this in root user's ssh. then paste output. :)

    Code:
    ls -lh /usr/local/lib/php; ls -lh usr/lib/php
    
     
  3. sphost

    sphost Well-Known Member

    Joined:
    Jan 19, 2004
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    total 180K
    drwxr-xr-x 16 root root 4.0K Feb 25 13:41 ./
    drwxr-xr-x 3 root root 4.0K Feb 25 12:46 ../
    drwxr-xr-x 2 root root 4.0K Jan 28 12:19 Archive/
    drwxr-xr-x 2 root root 4.0K Feb 25 13:41 build/
    drwxr-xr-x 2 root root 4.0K Jan 28 12:19 Console/
    drwxr-xr-x 3 root root 4.0K Jan 28 12:19 data/
    drwxr-xr-x 2 root root 4.0K Feb 25 13:41 DB/
    -rw-r--r-- 1 root root 29K Feb 25 13:41 DB.php
    drwxr-xr-x 4 root root 4.0K Jan 28 12:19 doc/
    drwxr-xr-x 3 root root 4.0K Jan 28 12:18 extensions/
    -rw-r--r-- 1 root root 1.8K Feb 25 13:41 .filemap
    -rw-r--r-- 1 root root 7.7K Jan 28 12:19 HTTP.php
    -rw-r--r-- 1 root root 0 Jul 5 10:16 .lock
    drwxr-xr-x 2 root root 4.0K Jan 28 12:19 Mail/
    -rw-r--r-- 1 root root 7.2K Jan 28 12:19 Mail.php
    drwxr-xr-x 2 root root 4.0K Jan 28 12:19 Net/
    drwxr-xr-x 2 root root 4.0K Feb 25 13:41 OS/
    drwxr-xr-x 4 root root 4.0K Feb 25 13:41 PEAR/
    -rw-r--r-- 1 root root 9.1K Feb 25 13:41 pearcmd.php
    -rw-r--r-- 1 root root 30K Feb 25 13:41 PEAR.php
    drwxr-xr-x 2 root root 4.0K Jan 28 12:19 .registry/
    -rw-r--r-- 1 root root 18K Feb 25 13:41 System.php
    drwxr-xr-x 4 root root 4.0K Jan 28 12:19 test/
    drwxr-xr-x 3 root root 4.0K Jan 28 12:19 XML/
    total 196K
    drwxr-xr-x 16 root root 4.0K Feb 25 13:46 ./
    drwxr-xr-x 50 root root 20K Jul 7 22:13 ../
    drwxr-xr-x 2 root root 4.0K Jan 28 12:24 Archive/
    drwxr-xr-x 2 root root 4.0K Feb 25 13:46 build/
    drwxr-xr-x 2 root root 4.0K Jan 28 12:24 Console/
    drwxr-xr-x 3 root root 4.0K Jan 28 12:24 data/
    drwxr-xr-x 2 root root 4.0K Feb 25 13:46 DB/
    -rw-r--r-- 1 root root 29K Feb 25 13:46 DB.php
    drwxr-xr-x 4 root root 4.0K Jan 28 12:24 doc/
    drwxr-xr-x 3 root root 4.0K Jan 28 12:24 extensions/
    -rw-r--r-- 1 root root 1.8K Feb 25 13:46 .filemap
    -rw-r--r-- 1 root root 7.7K Jan 28 12:24 HTTP.php
    -rw-r--r-- 1 root root 0 Jul 5 10:21 .lock
    drwxr-xr-x 2 root root 4.0K Jan 28 12:24 Mail/
    -rw-r--r-- 1 root root 7.2K Jan 28 12:24 Mail.php
    drwxr-xr-x 2 root root 4.0K Jan 28 12:24 Net/
    drwxr-xr-x 2 root root 4.0K Feb 25 13:46 OS/
    drwxr-xr-x 4 root root 4.0K Feb 25 13:46 PEAR/
    -rw-r--r-- 1 root root 9.0K Feb 25 13:46 pearcmd.php
    -rw-r--r-- 1 root root 30K Feb 25 13:46 PEAR.php
    drwxr-xr-x 2 root root 4.0K Jan 28 12:24 .registry/
    -rw-r--r-- 1 root root 18K Feb 25 13:46 System.php
    drwxr-xr-x 4 root root 4.0K Jan 28 12:24 test/
    drwxr-xr-x 3 root root 4.0K Jan 28 12:24 XML/
     
  4. sphost

    sphost Well-Known Member

    Joined:
    Jan 19, 2004
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    anyone ?
     
  5. Sheldon

    Sheldon Well-Known Member

    Joined:
    Jun 7, 2004
    Messages:
    378
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Canada
    no its because you have Zend installed I believe.

    believe this is normal. if im wrong please someone let me know.
     
  6. sphost

    sphost Well-Known Member

    Joined:
    Jan 19, 2004
    Messages:
    59
    Likes Received:
    0
    Trophy Points:
    6
    so where is my working php installed ? :confused:
     
  7. Sinewy

    Sinewy Well-Known Member

    Joined:
    May 15, 2004
    Messages:
    367
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Sydney, Australia
    cPanel Access Level:
    DataCenter Provider
    mine is in /usr/lib/php

    if you install Zend, it moves your php.ini and makes a symbolic link in place of the old location.

    everyone should have 2 phps installed if you use cpanel as there's the apache one and the cpanel one.
     
Loading...

Share This Page