LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-01-2007, 12:07 PM   #1
plainusdonuticus
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Rep: Reputation: 0
Red Hat 9 upgrading to PHP 5.1.6


I've hit a brick wall. I'm trying to install SugarCRM into a fresh install of RH9. The specs for SugarCRM recommend php 5.1.6 which I can't upgrade to unless I upgrade apache. I upgraded apache to 2.2.3 or at least I thought I did. If I type: apachectl -v I get a response:
Server version: Apache/2.0.40
Server built: Apr 21 2004 11:49:03
But to be sure I installed 2.2.3 I changed the path to /usr/loca/web. So if I go into the directory /usr/local/web/bin/apachectl -v I get:
Server version: Apache/2.2.3
Server built: Dec 31 2006 15:44:46

So I thought I had the latest Apache (including apache-devel) but when I try to install php-5.1.6 I get the following error (by the way I'm currently using php-4.2.2):

[root@LIN01 php-5.1.6]# ./configure --with-mysql --with-apxs2 --with-gettext --with-mbstring
loading cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for gcc... /usr/bin/i386-redhat-linux7-gcc
checking whether the C compiler (/usr/bin/i386-redhat-linux7-gcc ) works... yes
checking whether the C compiler (/usr/bin/i386-redhat-linux7-gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether /usr/bin/i386-redhat-linux7-gcc accepts -g... yes
checking whether /usr/bin/i386-redhat-linux7-gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... /usr/bin/i386-redhat-linux7-gcc -E
checking for AIX... no
checking whether ln -s works... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... no
configure: warning: You will need re2c 0.9.11 or later if you want to regenerate PHP parsers.
checking for gawk... gawk
checking for bison... no
checking for byacc... no
checking for bison version... invalid
configure: warning: bison versions supported for regeneration of the Zend/PHP parsers: 1.28 1.35 1.75 1.875 2.0 2.1 2.2 2.3 (found: none).
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for working const... yes
checking for flex version... 2.5.4 (ok)
checking whether to force non-PIC code in shared modules... yes
checking for pthreads_cflags... -pthread
checking for pthreads_lib...

Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking for mod_charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... apxs:Error: Invalid query string `APU_BINDIR'.
apxs:Error: Invalid query string `APR_BINDIR'.
./configure: line 1: /apr-config: No such file or directory
./configure: line 1: /apu-config: No such file or directory
configure: error: Please note that Apache version >= 2.0.44 is required

How do I get my system to recognize the version 2.0.44 installed in the /usr/local/web directory so that I can install php-5.1.6?

Thanks!
 
Old 01-01-2007, 12:31 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
Quote:
Originally Posted by plainusdonuticus
I've hit a brick wall. I'm trying to install SugarCRM into a fresh install of RH9.
Red Hat Linux 9 is old and unsupported, absolutely no reason to use this with PHP 5.1.6 period since this as you say this is a new install of RHl9. Get a supported OS if staying with the Red Hat family try Fedora Core 5/6 or one of the RHEL 'clones' like CentOS or Scientific Linux. Both CentOS and SL have RHEL3 (2.4 kernel based) versions which are supported. You should however choose one based on the 2.6 kernel, the CentOS4.4 version (the latest) has PHP 5.1.6 rpms available, for example;

http://isoredirect.centos.org/centos...entos.i386.rpm
 
Old 01-01-2007, 02:10 PM   #3
plainusdonuticus
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Red Hat 9 upgrading to PHP 5.1.6

Ok ,thanks for your input Lenard. Newbie question #2... can I install over my current installation of RH9? Or do I have to download and burn new CD's and install from scratch?
 
Old 01-01-2007, 03:28 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
It is best if you do a wipe and load since this is a new install, that way you have clean install. It is quite possible to download the ISO images and after burning the first CD image install from the ISO images. The CentOS 4.4 single server ISO is a one CD install that you can later install additional packages via yum including the GUI interface(s) (Gnome and/or KDE) without additional ISO images.

http://www.centos.org/docs/4/html/yum/
 
Old 01-03-2007, 08:17 PM   #5
plainusdonuticus
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Thanks for the help Lenard. That seems to have done the trick.
 
Old 01-03-2007, 09:02 PM   #6
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 57
Your welcome, glad to help.

BTW: the next update (update 5) for RHEL4 is due out and CentOS should have them available within a week or so. Also RHEL5 is due out by the end of February and hence CentOS-5 a bit later.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading from Red Hat 9 Yig Red Hat 2 08-17-2005 02:25 PM
Upgrading QT on Red Hat 9 Adam Reyher Linux - Software 1 10-17-2004 02:19 PM
Upgrading Red Hat 9 to Red Hat Enterprise Server 3 AS louisb Linux - Software 7 02-23-2004 10:25 PM
Red Hat Upgrading? dolvmin Linux - Software 3 09-17-2003 10:33 AM
What to do after upgrading to Red Hat 7.1 Racso Linux - Newbie 4 01-21-2002 12:29 AM


All times are GMT -5. The time now is 02:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration