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! |
Quote:
http://isoredirect.centos.org/centos...entos.i386.rpm |
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?
|
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/ |
Thanks for the help Lenard. That seems to have done the trick.
|
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. |
All times are GMT -5. The time now is 09:21 PM. |