Justtechjobs.com Find a programming school near you






Online Campus Both


php-install | 2003092

[PHP-INSTALL] Updating PHP on Linux From: Jason Novak (jason <email protected>)
Date: 09/22/03

Hi,
 
Quick question for installing PHP from a relative newbie. I have php
installed via RPM's on a SuSE Linux Enterprise Server 7. The most
recent one is 4.1.1 but I'd like to update to 4.3.x. from the source.
I've created a php info page and I see the configure command is as such:
 
./configure '--prefix=/usr' '--bindir=/usr/bin' '--libdir=/usr/lib'
'--with-config-file-path=/etc' '--with-exec-dir=%{libdir}/php/bin'
'--with-pgsql=/usr' '--with-mysql=/usr' '--with-gd=yes'
'--with-tiff-dir=/usr' '--with-jpeg-dir=/usr' '--with-png-dir=/usr'
'--with-xpm-dir=/usr/X11R6' '--with-ldap=yes' '--with-zlib=yes'
'--with-bz2' '--with-ttf' '--enable-gd-native-ttf'
'--with-freetype-dir=yes' '--with-xml=yes' '--with-imap=yes'
'--with-t1lib' '--with-sablot' '--with-ftp' '--with-ndbm' '--with-gdbm'
'--with-mcrypt' '--with-gettext' '--with-gd=yes'
'--with-qtdom=/usr/lib/qt-2.2.1/' '--enable-versioning' '--enable-yp'
'--enable-bcmath' '--enable-trans-sid' '--enable-inline-optimization'
'--enable-track-vars' '--enable-magic-quotes' '--enable-safe-mode'
'--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
'--enable-shmop' '--enable-calendar' '--enable-exif' '--enable-ftp'
'--enable-memory-limit' '--enable-filepro' '--enable-dbase'
'--enable-ctype' '--disable-debug' '--enable-force-cgi-redirect'
'--enable-discard-path' '--enable-sigchild' '--enable-gd-imgstrttf'
'--with-openssl' '--with-swf=./dist/' '--with-apxs=/usr/sbin/apxs'
'--with-mm' 'i386-suse-linux'
 
so, in my source directory I tried the following command:
 
./configure '--prefix=/usr' '--bindir=/usr/bin' '--libdir=/usr/lib'
'--with-config-file-path=/etc' '--with-exec-dir=%{libdir}/php/bin'
'--with-pgsql=/usr' '--with-mysql=/usr' '--with-gd=yes'
'--with-tiff-dir=/usr' '--with-jpeg-dir=/usr' '--with-png-dir=/usr'
'--with-xpm-dir=/usr/X11R6' '--with-ldap=yes' '--with-zlib=yes'
'--with-bz2' '--with-ttf' '--enable-gd-native-ttf'
'--with-freetype-dir=yes' '--with-xml=yes' '--with-imap=yes'
'--with-t1lib' '--with-sablot' '--with-ftp' '--with-ndbm' '--with-gdbm'
'--with-mcrypt' '--with-gettext' '--with-gd=yes'
'--with-qtdom=/usr/lib/qt-2.2.1/' '--enable-versioning' '--enable-yp'
'--enable-bcmath' '--enable-trans-sid' '--enable-inline-optimization'
'--enable-track-vars' '--enable-magic-quotes' '--enable-safe-mode'
'--enable-sockets' '--enable-sysvsem' '--enable-sysvshm'
'--enable-shmop' '--enable-calendar' '--enable-exif' '--enable-ftp'
'--enable-memory-limit' '--enable-filepro' '--enable-dbase'
'--enable-ctype' '--disable-debug' '--enable-force-cgi-redirect'
'--enable-discard-path' '--enable-sigchild' '--enable-gd-imgstrttf'
'--with-openssl' '--with-swf=./dist/' '--with-apxs=/usr/sbin/apxs'
'--with-mm' 'i386-suse-linux'
 
and it seemed to configure ok...
 
I then tried:
 
make all
 
and then:
 
make install
 
I restarted my apache server and then tried the php info page again and
it didn't seem to update php. Any ideas what I did wrong? I really
appreciate any help you can offer! :)
 
Best Regards,
 
Jason