Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 6th February 2008, 10:02
jkmurkom jkmurkom is offline
Junior Member
 
Join Date: Dec 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default How to install php 5.2.5 on ubuntu 6.06 ...

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 ?
Reply With Quote
Sponsored Links
  #2  
Old 6th February 2008, 10:24
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
Default

Try this
Code:
./configure --without-pear
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
  #3  
Old 6th February 2008, 11:12
jkmurkom jkmurkom is offline
Junior Member
 
Join Date: Dec 2007
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation

Quote:
Originally Posted by topdog
Try this
Code:
./configure --without-pear

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
Reply With Quote
  #4  
Old 6th February 2008, 11:23
topdog topdog is offline
Senior Member
 
Join Date: Jan 2008
Location: South Africa
Posts: 1,352
Thanks: 0
Thanked 153 Times in 150 Posts
 
Default

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
__________________
----
http://www.topdog.za.net - Got Linux problems ? - I can help.
http://www.baruwa.org - Try it.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Freebsd 6.1 support misterm Installation/Configuration 10 9th April 2009 09:29
Question regarding PHP setup in Ubuntu 6.06 LAMP install Howto FXT HOWTO-Related Questions 1 23rd August 2007 18:53
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18
Downgrade php5 to php4.4.2 llizards Installation/Configuration 4 13th March 2006 23:58


All times are GMT +2. The time now is 04:20.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.