How to install php 5.2.5 on ubuntu 6.06 ...

Discussion in 'Installation/Configuration' started by jkmurkom, Feb 6, 2008.

  1. jkmurkom

    jkmurkom New Member

    i need to install php 5.2.5

    i get files from source

    and i use this command

    ./configure

    make

    make install

    when i use make install i have an error like this

    Installing PHP SAPI module: cgi
    Installing PHP CGI binary: /usr/local/bin/
    Installing PHP CLI binary: /usr/local/bin/
    Installing PHP CLI man page: /usr/local/man/man1/
    Installing build environment: /usr/local/lib/php/build/
    Installing header files: /usr/local/include/php/
    Installing helper programs: /usr/local/bin/
    program: phpize
    program: php-config
    Installing man pages: /usr/local/man/man1/
    page: phpize.1
    page: php-config.1
    Installing PEAR environment: /usr/local/lib/php/
    [PEAR] Console_Getopt: Unknown Role class: "PEAR_Installer_Role_Pear_Installer_role_php"
    [PEAR] Archive_Tar: Unknown Role class: "PEAR_Installer_Role_Pear_Installer_role_php"
    [PEAR] Structures_Graph: Unknown Role class: "PEAR_Installer_Role_Pear_Installer_role_doc"
    warning: pear/PEAR requires package "pear/Archive_Tar" (recommended version 1.3.2)
    warning: pear/PEAR requires package "pear/Structures_Graph" (recommended version 1.0.2)
    warning: pear/PEAR requires package "pear/Console_Getopt" (recommended version 1.2.3)
    pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
    [PEAR] PEAR: Unknown Role class: "PEAR_Installer_Role_Pear_Installer_role_php"
    Installing PDO headers: /usr/local/include/php/ext/pdo/

    who can help me ?
     
  2. topdog

    topdog New Member HowtoForge Supporter

    Try this
    Code:
    ./configure --without-pear
    
     
  3. jkmurkom

    jkmurkom New Member


    i try this code but not resolve :(

    root@server1:/usr/src/php-5.2.5# make install
    Installing PHP SAPI module: cgi
    Installing PHP CGI binary: /usr/local/bin/
    Installing PHP CLI binary: /usr/local/bin/
    Installing PHP CLI man page: /usr/local/man/man1/
    Installing build environment: /usr/local/lib/php/build/
    Installing header files: /usr/local/include/php/
    Installing helper programs: /usr/local/bin/
    program: phpize
    program: php-config
    Installing man pages: /usr/local/man/man1/
    page: phpize.1
    page: php-config.1
    Installing PDO headers: /usr/local/include/php/ext/pdo/


    when i start apache i cant see php

    Apache/2.0.55 (Ubuntu) mod_ssl/2.0.55 OpenSSL/0.9.8a Server at mikroserver.no-ip.info Port 80

    i need to install apache 2.2.4 + mysql 4.1.22 + php 5.2.5 help plss
     
  4. topdog

    topdog New Member HowtoForge Supporter

    What do u mean it did not resolve because now you can install, the problem now is different its because apache cannot see your module because you configured it with the prefix /usr/local

    What is the output of
    Code:
    find /usr/local -iname libphp5.so
    
     

Share This Page