Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Upgrading PHP4.2x to 4.3 on Red Hat 9

Upgrading PHP4.2x to 4.3 on Red Hat 9

2004-01-31       - By James Marcinek

 Back
Reply:     1     2     3     4     5     6     7  

I 've been trying to upgrade my php from version 4.2 to 4.3 but I keep
getting errors while trying to install. The original install was done with
the rpm package and I would love to know where a compatable one is if
there is such a thing. My only other alternative is using make.

I don 't have a lot of experience with transitioning from an rpm; however
I 've been following the directions.

One of the things I did was get a phpinfo() page generated and I copied
the configuration (.configure) with all of the configured options. I also
am a little confused about what directory to install to try and 'upgrade '
from my current version and keep it working with the apache 2.0 and mysql
4, both of which were installed via rpm.

I know that the /etc/php.d directory has a few .ini files in it but I 'm
not sure if this is where I should locate the files.

When I issue the .configure (cutting and pasting from the phpinfo.php page
listed below):

'./configure ' '--host=i386-redhat-linux ' '--build=i386-redhat-linux '
'--target=i386-redhat-linux-gnu ' '--program-prefix= ' '--prefix=/usr '
'--exec-prefix=/usr ' '--bindir=/usr/bin ' '--sbindir=/usr/sbin '
'--sysconfdir=/etc ' '--datadir=/usr/share ' '--includedir=/usr/include '
'--libdir=/usr/lib ' '--libexecdir=/usr/libexec ' '--localstatedir=/var '
'--sharedstatedir=/usr/com ' '--mandir=/usr/share/man '
'--infodir=/usr/share/info ' '--cache-file=../config.cache '
'--with-config-file-path=/etc ' '--with-config-file-scan-dir=/etc/php.d '
'--enable-force-cgi-redirect ' '--disable-debug ' '--enable-pic '
'--disable-rpath ' '--enable-inline-optimization ' '--with-bz2 ' '--with-db3 '
'--with-curl ' '--with-dom=/usr ' '--with-exec-dir=/usr/bin '
'--with-freetype-dir=/usr ' '--with-png-dir=/usr ' '--with-gd '
'--enable-gd-native-ttf ' '--with-ttf ' '--with-gdbm ' '--with-gettext '
'--with-ncurses ' '--with-gmp ' '--with-iconv ' '--with-jpeg-dir=/usr '
'--with-openssl ' '--with-png ' '--with-pspell ' '--with-regex=system '
'--with-xml ' '--with-expat-dir=/usr ' '--with-zlib ' '--with-layout=GNU '
'--enable-bcmath ' '--enable-exif ' '--enable-ftp ' '--enable-magic-quotes '
'--enable-safe-mode ' '--enable-sockets ' '--enable-sysvsem '
'--enable-sysvshm ' '--enable-discard-path ' '--enable-track-vars '
'--enable-trans-sid ' '--enable-yp ' '--enable-wddx ' '--without-oci8 '
'--with-pear=/usr/share/pear ' '--with-imap=shared ' '--with-imap-ssl '
'--with-kerberos=/usr/kerberos ' '--with-ldap=shared '
'--with-mysql=shared,/usr ' '--with-pgsql=shared ' '--with-snmp=shared,/usr '
'--with-snmp=shared ' '--enable-ucd-snmp-hack ' '--with-unixODBC=shared '
'--enable-memory-limit ' '--enable-bcmath ' '--enable-shmop '
'--enable-versioning ' '--enable-calendar ' '--enable-dbx ' '--enable-dio '
'--enable-mcal ' '--with-apxs2=/usr/sbin/apxs '

I get the following output:

loading cache ../config.cache
checking host system type... i386-redhat-linux-gnu
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether gcc and cc understand -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for AIX... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for re2c... exit 0;
checking for ranlib... ranlib
checking whether ln -s works... yes
checking for gawk... gawk
checking for bison... bison -y
checking bison version... 1.35 (ok)
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 flex version... 2.5.4 (ok)
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 member fd in BUFF *... 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...

Sorry, I cannot run apxs. Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using --with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is displayed)

The output of /usr/sbin/apxs follows:
./configure: line 5080: /usr/sbin/apxs: No such file or directory
configure: error: Aborting

Now I can see the /usr/sbin/apxs error however the originl php rpm install
must have configured this. The following is all of the perl rpm 's
installed:

perl-libwww-perl-5.65-6
perl-XML-Encoding-1.01-23
perl-Digest-HMAC-1.01-11
perl-TimeDate-1.1301-5
perl-DB_File-1.804-88.3
perl-Filter-1.29-3
perl-HTML-Tagset-3.03-28
perl-HTML-Parser-3.26-17
perl-URI-1.21-7
perl-XML-Parser-2.31-15
perl-XML-Dumper-0.4-25
perl-libxml-enno-1.02-29
perl-XML-Twig-3.09-3
perl-CGI-2.81-88.3
perl-SGMLSpm-1.03ii-11
perl-DBI-1.32-5
perl-Digest-SHA1-2.01-10
perl-Frontier-RPC-0.06-36
perl-Time-HiRes-1.38-3
openssl-perl-0.9.7a-20
mod_perl-1.99_07-5
perl-DateManip-5.40-30
perl-Parse-Yapp-1.05-30
perl-libxml-perl-0.07-28
perl-XML-Grove-0.46alpha-25
perl-DBD-MySQL-2.1021-3
perl-Net-DNS-0.31-3
perl-DBD-Pg-1.21-2
perl-5.8.0-88.3

Can anyone help me with this?

Thanks,

James


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list