php 5.2.6 installation problems

Discussion in 'PHP' started by sss000_007, Sep 22, 2008.

  1. #1
    i have installed php 5.2.6 in my system but when I give the php command it returns the following error

    Ps:- although it is saying no such file or directory , the files are there itself , i need almost all of these extentions . also the OS is solaris
     
    sss000_007, Sep 22, 2008 IP
  2. adrevol

    adrevol Active Member

    Messages:
    124
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #2
    Instead of installing php5.2.6 Go for XAMPP .. INstallation is as simple as that. also it will install APACHE,MYSQL too ..
     
    adrevol, Sep 23, 2008 IP
  3. chmdznr

    chmdznr Active Member

    Messages:
    417
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    #3
    where did you installed it?
    on /php?
    or other sub folder?
    have you set the file permission?
     
    chmdznr, Sep 23, 2008 IP
  4. sss000_007

    sss000_007 Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    HI adrevol ,

    I am trying to install php5 on a server which already has apache ,mysql ,php4 already installed and a few websites are also up and running in apache ,so I want to install php5 without disturbing the other applications
    I think in this case XAMPP will be of little use

    chmdznr

    I have installed php5 in the following directory "/usr/local/php52" since in this directory I could not find the extentions folder I made it point to the extention folder of the older installation which is in "/opt/csw/lib/php/extensions/no-debug-non-zts-20020429" (in the error message also the full path was comming which i have truncated to "/php/extensions/no-debug-non-zts-20020429" to make the error message look smaller )
    also a "ls -l" inside no-debug-non-zts-20020429 returns

     
    sss000_007, Sep 23, 2008 IP
  5. chmdznr

    chmdznr Active Member

    Messages:
    417
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    78
    #5
    You can't use older php shared library on the new one.
    See that, php confuse because he expect newer API version than you have right now.
     
    chmdznr, Sep 24, 2008 IP
  6. sss000_007

    sss000_007 Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    hi chmdznr ,

    Thanks for this piece of information ... I was desperatly looking for a solution ,

    But now the problem is that I cannot find where to download php shared library , when I searched the net I am getting this page "PECL hosted PHP extensions " ,can you suggest a site where I can get it

    Thanks ones again
     
    sss000_007, Sep 24, 2008 IP