Ich möchte mein Php 4.3.10 auf 4.4.4 updaten.
Dies sind die Schritte :
mit wget 4.4.4 heruntergeladen entpackt (root verzeichnis)
rcapache2 stop
make
make install
rcapache start
Für Hilfe wäre ich sehr Dankbar...
Dies sind die Schritte :
mit wget 4.4.4 heruntergeladen entpackt (root verzeichnis)
Code:
dirname.lo ext/mysql/libmysql/mf_fn_ext.lo ext/mysql/libmysql/mf_wcomp.lo ext/mysql/libmysql/typelib.lo ext/mysql/libmysql/safemalloc.lo ext/mysql/libmys ql/my_alloc.lo ext/mysql/libmysql/mf_format.lo ext/mysql/libmysql/mf_path.lo ext /mysql/libmysql/mf_unixpath.lo ext/mysql/libmysql/my_fopen.lo ext/mysql/libmysql /mf_loadpath.lo ext/mysql/libmysql/my_pthread.lo ext/mysql/libmysql/my_thr_init. lo ext/mysql/libmysql/thr_mutex.lo ext/mysql/libmysql/mulalloc.lo ext/mysql/libm ysql/string.lo ext/mysql/libmysql/default.lo ext/mysql/libmysql/my_compress.lo e xt/mysql/libmysql/array.lo ext/mysql/libmysql/my_once.lo ext/mysql/libmysql/list .lo ext/mysql/libmysql/my_net.lo ext/mysql/libmysql/dbug.lo ext/mysql/libmysql/s trmov.lo ext/mysql/libmysql/strxmov.lo ext/mysql/libmysql/strnmov.lo ext/mysql/l ibmysql/strmake.lo ext/mysql/libmysql/strend.lo ext/mysql/libmysql/strfill.lo ex t/mysql/libmysql/is_prefix.lo ext/mysql/libmysql/int2str.lo ext/mysql/libmysql/s tr2int.lo ext/mysql/libmysql/strinstr.lo ext/mysql/libmysql/strcont.lo ext/mysql /libmysql/strcend.lo ext/mysql/libmysql/bchange.lo ext/mysql/libmysql/bmove.lo e xt/mysql/libmysql/bmove_upp.lo ext/mysql/libmysql/longlong2str.lo ext/mysql/libm ysql/strtoull.lo ext/mysql/libmysql/strtoll.lo ext/mysql/libmysql/charset.lo ext /mysql/libmysql/ctype.lo ext/overload/overload.lo ext/posix/posix.lo ext/session /session.lo ext/session/mod_files.lo ext/session/mod_mm.lo ext/session/mod_user. lo regex/regcomp.lo regex/regexec.lo regex/regerror.lo regex/regfree.lo ext/stan dard/array.lo ext/standard/base64.lo ext/standard/basic_functions.lo ext/standar d/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_conve rt.lo ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo ext/standa rd/dns.lo ext/standard/exec.lo ext/standard/file.lo ext/standard/filestat.lo ext /standard/flock_compat.lo ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo ext/standard/html.lo ext/standard/image.lo ext/standard/inf o.lo ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/link.lo ext/standard/ mail.lo ext/standard/math.lo ext/standard/md5.lo ext/standard/metaphone.lo ext/s tandard/microtime.lo ext/standard/pack.lo ext/standard/pageinfo.lo ext/standard/ parsedate.lo ext/standard/quot_print.lo ext/standard/rand.lo ext/standard/reg.lo ext/standard/soundex.lo ext/standard/string.lo ext/standard/scanf.lo ext/standa rd/syslog.lo ext/standard/type.lo ext/standard/uniqid.lo ext/standard/url.lo ext /standard/url_scanner.lo ext/standard/var.lo ext/standard/versioning.lo ext/stan dard/assert.lo ext/standard/strnatcmp.lo ext/standard/levenshtein.lo ext/standar d/incomplete_class.lo ext/standard/url_scanner_ex.lo ext/standard/ftp_fopen_wrap per.lo ext/standard/http_fopen_wrapper.lo ext/standard/php_fopen_wrapper.lo ext/ standard/credits.lo ext/standard/css.lo ext/standard/var_unserializer.lo ext/sta ndard/ftok.lo ext/standard/aggregation.lo ext/standard/sha1.lo ext/tokenizer/tok enizer.lo ext/xml/xml.lo ext/xml/expat/xmlparse.lo ext/xml/expat/xmlrole.lo ext/ xml/expat/xmltok.lo TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo main/snprintf.lo main/spprintf.lo main/php_sprintf.lo main/safe_mod e.lo main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo m ain/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo main/strlc at.lo main/mergesort.lo main/reentrancy.lo main/php_variables.lo main/php_ticks. lo main/streams.lo main/network.lo main/php_open_temporary_file.lo main/php_logo s.lo main/output.lo main/memory_streams.lo main/user_streams.lo Zend/zend_langua ge_parser.lo Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo Zend/zend_ini _scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo Zend/zend_constants.lo Zend/ zend_dynamic_array.lo Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_ llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/ zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo Zend/zend_ext ensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_bui ltin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/ zend_multibyte.lo Zend/zend_strtod.lo Zend/zend_execute.lo sapi/cli/php_cli.lo s api/cli/getopt.lo main/internal_functions_cli.lo -lcrypt -lcrypt -lresolv -lm -l dl -lnsl -lcrypt -lcrypt -o sapi/cli/php
ext/mysql/libmysql/my_tempnam.o(.text+0x41): In function `my_tempnam':
/php-4.4.4/ext/mysql/libmysql/my_tempnam.c:115: warning: the use of `tempnam' is dangerous, better use `mkstemp'
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
s15206163:/php-4.4.4 # make install
Installing PHP SAPI module: cgi
Installing PHP CGI into: /usr/local/bin/
Installing PEAR environment: /usr/local/lib/php/
[PEAR] Archive_Tar - already installed: 1.3.1
[PEAR] Console_Getopt - already installed: 1.2
[PEAR] HTML_Template_IT- already installed: 1.1
[PEAR] Net_UserAgent_Detect- already installed: 2.0.1
[PEAR] PEAR - already installed: 1.4.9
Wrote PEAR system config file at: /usr/local/etc/pear.conf
You may want to add: /usr/local/lib/php to your php.ini include_path
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/man/man1/
page: phpize.1
page: php-config.1
s15206163:/php-4.4.4 # ld config
ld: config: No such file: No such file or directory
s15206163:/php-4.4.4 # rcapache2 start
Apache is already running (/var/run/httpd2.pid) done
s15206163:/php-4.4.4 #
Code:
./configure
--prefix=/usr
--datadir=/usr/share/php
--mandir=/usr/share/man
--bindir=/usr/bin
--libdir=/usr/share
--includedir=/usr/include
--sysconfdir=/etc
--with-_lib=lib64
--with-config-file-path=/etc
--with-exec-dir=/usr/lib64/php/bin
--disable-debug
--enable-inline-optimization
--enable-memory-limit
--enable-magic-quotes
--enable-safe-mode
--enable-sigchild
--disable-ctype
--disable-session
--without-mysql
--disable-cli
--without-pear
--with-openssl
--with-apxs2=/usr/sbin/apxs2-prefork
x86_64-suse-linux
Code:
checking for setsid... (cached) yes
checking for getsid... (cached) yes
checking for setpgid... (cached) yes
checking for getpgid... (cached) yes
checking for ctermid... (cached) yes
checking for mkfifo... (cached) yes
checking for getrlimit... (cached) yes
checking for getlogin... (cached) yes
checking for getgroups... (cached) yes
checking for PSPELL support... no
checking for QtDOM support... no
checking for libedit readline replacement... no
checking for readline support... no
checking for recode support... no
checking whether to enable PHP sessions... yes
checking for mm support... no
checking whether pwrite works... (cached) no
checking whether pread works... (cached) no
checking whether to enable shmop support... no
checking for SNMP support... no
checking OpenSSL dir for SNMP... no
checking whether to enable UCD SNMP hack... no
checking whether to enable sockets support... no
checking for getcwd... (cached) yes
checking for getwd... (cached) yes
checking for asinh... (cached) yes
checking for acosh... (cached) yes
checking for atanh... (cached) yes
checking for log1p... (cached) yes
checking for hypot... (cached) yes
checking for crypt in -lcrypt... (cached) yes
checking for standard DES crypt... (cached) yes
checking for extended DES crypt... (cached) no
checking for MD5 crypt... (cached) yes
checking for Blowfish crypt... (cached) yes
checking whether flush should be called explicitly after a buffered io... (cached) no
checking which regex library to use... php
checking whether rounding works as expected... yes
checking for working fnmatch... (cached) yes
checking for glob... (cached) yes
checking for strfmon... (cached) yes
checking for fpclass... (cached) no
checking for isinf... (cached) yes
checking for isnan... (cached) yes
checking whether atof() accepts NAN... (cached) yes
checking whether atof() accepts INF... (cached) yes
checking whether HUGE_VAL == INF... (cached) yes
checking whether HUGE_VAL + -HUGEVAL == NAN... (cached) yes
checking for libswf support... no
checking for Sybase support... no
checking for Sybase-CT support... no
checking whether to enable System V IPC support... no
checking whether to enable System V semaphore support... no
checking whether to enable System V shared memory support... no
checking whether to enable tokenizer support... yes
checking whether to enable WDDX support... no
checking whether byte ordering is bigendian... (cached) no
checking whether to enable XML support... yes
checking external libexpat install dir... no
checking for XMLRPC-EPI support... no
checking libexpat dir for XMLRPC-EPI... yes
checking iconv dir for XMLRPC-EPI... yes
checking whether to enable xslt support... no
checking for XSLT Sablotron backend... no
checking for libexpat dir for Sablotron XSL support... no
checking for iconv dir for Sablotron XSL support... no
checking for JavaScript for Sablotron XSL support... no
checking for YAZ support... no
checking whether to include YP support... no
checking for ZIP support... no
Configuring PEAR
checking whether to install PEAR... yes
Configuring Zend
checking bison version... 1.875 (ok)
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for limits.h... (cached) yes
checking for malloc.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdarg.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for signal.h... (cached) yes
checking for unix.h... (cached) no
checking for mach-o/dyld.h... (cached) no
checking for dlfcn.h... (cached) yes
checking for size_t... (cached) yes
checking return type of signal handlers... (cached) void
checking for uint... (cached) yes
checking for ulong... (cached) yes
checking for int32_t... yes
checking for uint32_t... yes
checking for vprintf... (cached) yes
checking for 8-bit clean memcmp... (cached) yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for memcpy... (cached) yes
checking for strdup... (cached) yes
checking for getpid... (cached) yes
checking for kill... (cached) yes
checking for strtod... (cached) yes
checking for strtol... (cached) yes
checking for finite... (cached) yes
checking for fpclass... (cached) no
checking for finite... (cached) yes
checking for isfinite... (cached) no
checking for isinf... (cached) yes
checking for isnan... (cached) yes
checking whether fp_except is defined... (cached) no
checking for dlfcn.h... (cached) yes
checking whether dlsym() requires a leading underscore in symbol names... no
checking whether to enable the Zend memory manager... yes
checking whether to enable thread-safety... no
checking whether to enable inline optimization for GCC... yes
checking whether to enable a memory limit... no
checking whether to enable Zend debugging... no
checking whether to enable Zend multibyte... no
checking for inline... (cached) inline
Configuring TSRM
checking for stdarg.h... (cached) yes
Configuring libtool
checking for Cygwin environment... (cached) no
checking for mingw32 environment... (cached) no
checking build system type... x86_64-unknown-linux-gnu
checking for ld used by GCC... (cached) /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... (cached) yes
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... (cached) -r
checking for BSD-compatible nm... (cached) /usr/bin/nm -B
checking how to recognise dependent libraries... (cached) pass_all
checking for object suffix... (cached) o
checking for executable suffix... (cached) no
checking command to parse /usr/bin/nm -B output... (cached) ok
checking for ranlib... (cached) ranlib
checking for strip... (cached) strip
checking for objdir... .libs
checking for gcc option to produce PIC... (cached) -fPIC
checking if gcc PIC flag -fPIC works... (cached) yes
checking if gcc static flag -static works... (cached) yes
checking if gcc supports -c -o file.o... (cached) yes
checking if gcc supports -c -o file.lo... (cached) yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/x86_64-suse-linux/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
creating libtool
Generating files
updating cache ./config.cache
creating ./config.status
creating php4.spec
creating main/build-defs.h
creating scripts/phpize
creating scripts/man1/phpize.1
creating scripts/php-config
creating scripts/man1/php-config.1
creating sapi/cli/php.1
creating main/php_config.h
main/php_config.h is unchanged
creating main/internal_functions.c
creating main/internal_functions_cli.c
+--------------------------------------------------------------------+
| *** WARNING *** |
| |
| You will be compiling the CGI version of PHP without any |
| redirection checking. By putting this cgi binary somewhere in |
| your web space, users may be able to circumvent existing .htaccess |
| security by loading files directly through the parser. See |
| http://www.php.net/manual/security.php for more details. |
+--------------------------------------------------------------------+
| License: |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE. By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point. |
+--------------------------------------------------------------------+
| *** NOTE *** |
| The default for register_globals is now OFF! |
| |
| If your application relies on register_globals being ON, you |
| should explicitly set it to on in your php.ini file. |
| Note that you are strongly encouraged to read |
| http://www.php.net/manual/en/security.globals.php |
| about the implications of having register_globals set to on, and |
| avoid using it if possible. |
+--------------------------------------------------------------------+
Thank you for using PHP.
s15206163:/php-4.4.4 # --prefix=/usr
-bash: --prefix=/usr: No such file or directory
s15206163:/php-4.4.4 # --datadir=/usr/share/php
-bash: --datadir=/usr/share/php: No such file or directory
s15206163:/php-4.4.4 # --mandir=/usr/share/man
-bash: --mandir=/usr/share/man: No such file or directory
s15206163:/php-4.4.4 # --bindir=/usr/bin
-bash: --bindir=/usr/bin: No such file or directory
s15206163:/php-4.4.4 # --libdir=/usr/share
-bash: --libdir=/usr/share: No such file or directory
s15206163:/php-4.4.4 # --includedir=/usr/include
-bash: --includedir=/usr/include: No such file or directory
s15206163:/php-4.4.4 # --sysconfdir=/etc
-bash: --sysconfdir=/etc: No such file or directory
s15206163:/php-4.4.4 # --with-_lib=lib64
-bash: --with-_lib=lib64: command not found
s15206163:/php-4.4.4 # --with-config-file-path=/etc
-bash: --with-config-file-path=/etc: No such file or directory
s15206163:/php-4.4.4 # --with-exec-dir=/usr/lib64/php/bin
-bash: --with-exec-dir=/usr/lib64/php/bin: No such file or directory
s15206163:/php-4.4.4 # --disable-debug
-bash: --disable-debug: command not found
s15206163:/php-4.4.4 # --enable-inline-optimization
-bash: --enable-inline-optimization: command not found
s15206163:/php-4.4.4 # --enable-memory-limit
-bash: --enable-memory-limit: command not found
s15206163:/php-4.4.4 # --enable-magic-quotes
-bash: --enable-magic-quotes: command not found
s15206163:/php-4.4.4 # --enable-safe-mode
-bash: --enable-safe-mode: command not found
s15206163:/php-4.4.4 # --enable-sigchild
-bash: --enable-sigchild: command not found
s15206163:/php-4.4.4 # --disable-ctype
-bash: --disable-ctype: command not found
s15206163:/php-4.4.4 # --disable-session
-bash: --disable-session: command not found
s15206163:/php-4.4.4 # --without-mysql
-bash: --without-mysql: command not found
s15206163:/php-4.4.4 # --disable-cli
-bash: --disable-cli: command not found
s15206163:/php-4.4.4 # --without-pear
-bash: --without-pear: command not found
s15206163:/php-4.4.4 # --with-openssl
-bash: --with-openssl: command not found
s15206163:/php-4.4.4 # --with-apxs2=/usr/sbin/apxs2-prefork
-bash: --with-apxs2=/usr/sbin/apxs2-prefork: No such file or directory
s15206163:/php-4.4.4 # x86_64-suse-linux
-bash: x86_64-suse-linux: command not found
rcapache2 stop
make
make install
Code:
ext/mysql/libmysql/my_tempnam.o(.text+0x41): In function `my_tempnam':
/php-4.4.4/ext/mysql/libmysql/my_tempnam.c:115: warning: the use of `tempnam' is dangerous, better use `mkstemp'
Build complete.
(It is safe to ignore warnings about tempnam and tmpnam).
Code:
s15206163:/php-4.4.4 #
s15206163:/php-4.4.4 # make install
Installing PHP SAPI module: cgi
Installing PHP CGI into: /usr/local/bin/
Installing PEAR environment: /usr/local/lib/php/
[PEAR] Archive_Tar - already installed: 1.3.1
[PEAR] Console_Getopt - already installed: 1.2
[PEAR] HTML_Template_IT- already installed: 1.1
[PEAR] Net_UserAgent_Detect- already installed: 2.0.1
[PEAR] PEAR - already installed: 1.4.9
Wrote PEAR system config file at: /usr/local/etc/pear.conf
You may want to add: /usr/local/lib/php to your php.ini include_path
Installing build environment: /usr/local/lib/php/build/
Installing header files: /usr/local/include/php/
Installing helper programs: /usr/local/bin/
program: phpize
program: php-config
Installing man pages: /usr/local/man/man1/
page: phpize.1
page: php-config.1
s15206163:/php-4.4.4 #
rcapache start
Für Hilfe wäre ich sehr Dankbar...