|
|
|
![]() |
|
Strumenti |
![]() |
#1 |
Senior Member
Iscritto dal: Jul 2002
Città: Padova
Messaggi: 4245
|
Debian installare un pacchetto aggiornato......
Ciao a tutti, nel mio serverino è istallata una debian sarge, ma devo installare un applicativo che richiede php 4.3.2, mentre su sarge la versione più aggiornata è la 4.3.10.
Siccome ho appena raso al suolo il server e reinstallato tutto perchè lo avevo usato troppo come banco di prova ![]() Ci sarà pure un sistema semplice senza dover fare tutto a mano ![]() Grazie. |
![]() |
![]() |
![]() |
#2 | |
Senior Member
Iscritto dal: Jan 2001
Messaggi: 2289
|
Quote:
l'unica cosa è compilare php dai sorgenti..
__________________
FreeBSD, OpenBSD and GNU/Linux User Free Software Foundation Associate Member proudly member of poco-serio™ team! nella foto son quello simpatico... l'altro e' |Stan| |
|
![]() |
![]() |
![]() |
#3 | |
Senior Member
Iscritto dal: Jul 2002
Città: Padova
Messaggi: 4245
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#4 |
Senior Member
Iscritto dal: Jul 2002
Città: Padova
Messaggi: 4245
|
OK, ho scaricato php-4.4.2 e l'ho compilato con:
Codice:
Server:/home/st3fan0/php-4.4.2# ./configure --prefix=/usr --with-apxs2=/usr/bin/apxs2 --with-config-file-path=/etc/php4/apache2 --enable-memory-limit --disable-debug --with-regex=php --disable-rpath --disable-static --with-pic --with-layout=GNU --with-pear=/usr/share/php --enable-calendar --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-track-vars --enable-trans-sid --enable-bcmath --with-bz2 --enable-ctype --with-db4 --with-iconv --enable-exif --enable-filepro --enable-ftp --with-gettext --enable-mbstring --with-pcre-regex=/usr --enable-shmop --enable-sockets --enable-wddx --disable-xml --with-expat-dir=/usr --with-xmlrpc --enable-yp --with-zlib --without-pgsql --with-kerberos=/usr --with-openssl=/usr --with-zip=/usr --enable-dbx --with-mime-magic=/usr/share/misc/file/magic.mime --with-exec-dir=/usr/lib/php4/libexec --without-mm --without-mysql --without-sybase-ct e poi: make && make install Durante la fase di installazione ho visto passare una dicitura che diceva esattamente così: Codice:
libtool: install: warning: remember to run `libtool --finish /home/stefano/php-4.4.2/libs' Codice:
Server:/home/stefano/php-4.4.2# libtool --finish /home/stefano/php-4.4.2/libs PATH="$PATH:/sbin" ldconfig -n /home/stefano/php-4.4.2/libs ---------------------------------------------------------------------- Libraries have been installed in: /home/stefano/php-4.4.2/libs If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the `-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the `LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the `LD_RUN_PATH' environment variable during linking - use the `-Wl,--rpath -Wl,LIBDIR' linker flag See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Anche perchè se lancio un php --version mi trovo con: Codice:
Server:/home/st3fan0/php-4.4.2# php --version PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/20020429-zts/mysql.so' - /usr/lib/php/20020429-zts/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP Warning: Unknown(): Unable to load dynamic library '/usr/lib/php/20020429-zts/curl.so' - /usr/lib/php/20020429-zts/curl.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP 4.4.2 (cli) (built: May 30 2006 19:30:59) Copyright (c) 1997-2006 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies Chiedo umilmente aiuto. Grazie. ![]() Ultima modifica di stefanoxjx : 30-05-2006 alle 20:40. |
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 00:41.