Ankündigung

Einklappen
Keine Ankündigung bisher.

[Erledigt] PHP 4.3.1 "upda ten& amp;amp; amp;

Einklappen

Neue Werbung 2019

Einklappen
X
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

  • [Erledigt] PHP 4.3.1 "upda ten& amp;amp; amp;

    Hallo allerseits!

    Ich habe ein echtes Problem die neue Version von PHP auf meinem Server zu installieren, hier die wichtigen Daten:

    PHP version: 4.3.1
    PHP OS: Linux
    Server software: Apache/1.3.27 (Linux/SuSE) PHP/4.3.1 mod_perl/1.27

    Ich habe Rootzugriff auf den Server, es ist ein "server4you.de" Rechner.

    Bis jetzt habe ich nur soviel verstanden, man kann PHP auf Linux nicht direkt updaten, man muss es neu kompilen. Was mich dann noch verwirrt hat, das es unterschiede bei dem Webserver geben kann, also Unterschiedliche installationsverfahren.

    Kann mir vieleicht jemand Schritt für Schritt erklären, das ganze auf deutsch, wie ich PHP5 auf dem Server installiert bekomm.

    Danke im Vorraus und Gruß!

    Ach ja, ich kenn mich mitlerweile mit dem Zugriff über SSH mit der Serverkonsole aus

  • #2
    sourcen runtrladen
    entpacken
    ./configure --with-apxs=/usr/bin/apxs
    make
    make install
    cp lib/libphp4.so /usr/lib/apche
    ./httpd

    und dann http://localhost aufrufen und freuen.
    ^^ das wäre für php4, ich denke für php5 sollte das genauso gehen.
    schreib ma obs geplappt hat

    Kommentar


    • #3
      hhhmmm... danke für deine rasche Antwort, hier das "Ergebnis":

      Code:
      Configuring SAPI modules
      checking for AOLserver support... no
      checking for Apache 1.x module support via DSO through APXS...
      
      Sorry, I was not able to successfully run APXS.  Possible reasons:
      
      1.  Perl is not installed;
      2.  Apache was not compiled with DSO support (--enable-module=so);
      3.  'apxs' is not in your path.  Try to use --with-apxs=/path/to/apxs
      The output of /usr/bin/apxs follows
      ./configure: line 3169: /usr/bin/apxs: No such file or directory
      configure: error: Aborting
      kann es sein das der Apache nicht da liegt wo er es normalerweise tun sollte?

      habe jetzt mit FIND nach apxs gesucht und er hat etwas in "/usr/sbin/apxs" gefunden... sol ich einfach jetzt den Pfad für die configure ändern/ersetzen und dann nochmal probieren? ich woll da halt nichts kaputt machen, desswegen frag ich bevor ich was mach wovon ich keine Ahnung habe ^.~

      Nachtrag: Hat jetzt geklappt! Habe keine einzige Fehlermeldung mehr bekommen. Nur ist jetzt das Problem, ich muss da noch mehr Sachen reinpacken, MySQL und alles das was jetzt vom alten PHP verwendet wird in diesen configure String reinpacken.

      Kommentar


      • #4
        3. 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
        The output of /usr/bin/apxs follows
        ./configure: line 3169: /usr/bin/apxs: No such file or directory

        ^^ ja, versuch es bitte mit /usr/sbin/apxs, dann liegt der da bei dir

        Kommentar


        • #5
          ach und amch gleich ma ein find / -name libphp4.so
          ^^ dann weisst du wo du die .so hinschieben musst

          Kommentar


          • #6
            Ja danke, das ist mir dann auch soweit klar
            Ich versuche jetzt eben die Configuration vom alten PHP, also das was jetzt noch läuft, noch rein zu stopfen denn da darf ich nichts ändern oder werglassen, du verstehst

            Kommentar


            • #7
              denk dran das du dem extra sacgen musst das du mysql haben willst, ich glaub das war jetzt nichtmehr standard mit drin...

              Kommentar


              • #8
                Aaaaah, ich Blindfisch! Ich habe den Fehler übersehen, argh!

                Code:
                *** Warning: inter-library dependencies are not known to be supported.
                *** All declared inter-library dependencies are being dropped.
                
                *** Warning: libtool could not satisfy all declared inter-library
                *** dependencies of module libphp4.  Therefore, libtool will create
                *** a static module, that should work as long as the dlopening
                *** application is linked with the -dlopen flag.
                und dann weiter unten noch

                Code:
                make: *** [sapi/cli/php] Error 1
                Das ganze kommt nach:

                ./configure --with-apxs=/usr/sbin/apxs
                make

                Weisst du was ich jetzt machen könnte?

                Kommentar


                • #9
                  paste ma dein configure

                  mhm.. ich hab selbst noch kein php5 kompiliert, aber ich denke ich werde es wohl nachholen müssen...

                  andere frage.. warum willst du php5 benutzen und nicht 4.3.8 ?

                  Kommentar


                  • #10
                    so.. ich lads jetzt runter..
                    aber ich kompiliere das nur als cgi und ohne alles... würde sonst echt zu lange dauern (mein server is nur ein 233 MHz celeron mit 64 mb ram).

                    Kommentar


                    • #11
                      Ja, du hast Recht, bei PHP-4.3.8 da weiß ich wo ich dran bin und kann auch mit sicherheit sagen das es da keine Überraschungen für mich geben wird! habe jetzt den Source von 4.3.8 drauf, habe gerade versucht mit ./configure --with-apxs=/usr/sbin/apxs das ganze Einzustellen und bekomme dann:

                      Code:
                      checking style of sigwait... (cached) POSIX
                      checking for ncurses support... no
                      checking for Oracle-OCI8 support... no
                      checking for Adabas support... no
                      checking for SAP DB support... no
                      checking for Solid support... no
                      checking for IBM DB2 support... no
                      checking for Empress support... no
                      checking for Empress local access support... no
                      checking for Birdstep support... no
                      checking for a custom ODBC support... no
                      checking for iODBC support... no
                      checking for Easysoft ODBC-ODBC Bridge support... no
                      checking for unixODBC support... no
                      checking for DBMaker support... no
                      checking for Oracle-ORACLE support... no
                      checking whether to enable user-space object overloading support... yes
                      checking for Ovrimos SQL Server support... no
                      checking whether to enable pcntl support... no
                      checking for PCRE support... yes
                      checking for PDFlib support... no
                      checking for the location of libtiff... no
                      checking for Verisign Payflow Pro support... no
                      checking for PostgreSQL support... no
                      checking whether to enable POSIX-like functions... yes
                      checking for seteuid... (cached) yes
                      checking for setegid... (cached) yes
                      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 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) yes
                      checking whether pread works... (cached) yes
                      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... no
                      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.75 (ok)
                      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 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 whether sprintf is broken... (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 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... i686-pc-linux-gnu
                      checking for ld used by GCC... (cached) /usr/i486-suse-linux/bin/ld
                      checking if the linker (/usr/i486-suse-linux/bin/ld) is GNU ld... (cached) yes
                      checking for /usr/i486-suse-linux/bin/ld option to reload object files... (cached) -r
                      checking for BSD-compatible nm... (cached) /usr/bin/nm -B
                      checking for a sed that does not truncate output... (cached) /usr/bin/sed
                      checking how to recognise dependent libraries... (cached) unknown
                      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/i486-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... yes
                      checking whether to build static libraries... no
                      checking whether -lc should be explicitly linked in... (cached) no
                      creating libtool
                      
                      Generating files
                      updating cache ./config.cache
                      creating ./config.status
                      creating php4.spec
                      creating main/build-defs.h
                      creating scripts/phpize
                      creating scripts/php-config
                      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 chose to compile PHP with the built-in MySQL support.  If you  |
                      | are compiling a server module, and intend to use other server      |
                      | modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0,         |
                      | mod_perl) you must NOT rely on PHP's built-in MySQL support, and   |
                      | instead build it with your local MySQL support files, by adding    |
                      | --with-mysql=/path/to/mysql to your configure line.                |
                      +--------------------------------------------------------------------+
                      | 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/securit...terglobals.php          |
                      | about the implications of having register_globals set to on, and   |
                      | avoid using it if possible.                                        |
                      +--------------------------------------------------------------------+
                      
                      Thank you for using PHP.
                      
                      ibiza067:/usr/src/php-4.3.8 #
                      Das ist nicht alles, der Anfang fehlt, aber PUTTY zeigt mir das leider nicht so viel an.

                      mein Nächster Schritt ist jetzt mit make das ganze zu kompilen und dann bekomme ich das hier:

                      Code:
                      ibiza067:/usr/src/php-4.3.8 # make
                      /bin/sh /usr/src/php-4.3.8/libtool --silent --preserve-dup-deps --mode=compile gcc  -Imain/ -I/usr/src/php-4.3.8/main/ -DPHP_ATOM_INC -I/usr/src/php-4.3.8/include -I/usr/src/php-4.3.8/main -I/usr/src/php-4.3.8 -I/usr/src/php-4.3.8/Zend -I/usr/src/php-4.3.8/ext/xml/expat  -I/usr/src/php-4.3.8/TSRM  -g -O2  -prefer-pic -c main/internal_functions.c -o main/internal_functions.lo
                      /bin/sh /usr/src/php-4.3.8/libtool --silent --preserve-dup-deps --mode=link gcc -g -O2 -prefer-pic  -rpath /usr/src/php-4.3.8/libs -avoid-version -module   ext/ctype/ctype.lo ext/mysql/php_mysql.lo ext/mysql/libmysql/libmysql.lo ext/mysql/libmysql/errmsg.lo ext/mysql/libmysql/net.lo ext/mysql/libmysql/violite.lo ext/mysql/libmysql/password.lo ext/mysql/libmysql/my_init.lo ext/mysql/libmysql/my_lib.lo ext/mysql/libmysql/my_static.lo ext/mysql/libmysql/my_malloc.lo ext/mysql/libmysql/my_realloc.lo ext/mysql/libmysql/my_create.lo ext/mysql/libmysql/my_delete.lo ext/mysql/libmysql/my_tempnam.lo ext/mysql/libmysql/my_open.lo ext/mysql/libmysql/mf_casecnv.lo ext/mysql/libmysql/my_read.lo ext/mysql/libmysql/my_write.lo ext/mysql/libmysql/errors.lo ext/mysql/libmysql/my_error.lo ext/mysql/libmysql/my_getwd.lo ext/mysql/libmysql/my_div.lo ext/mysql/libmysql/mf_pack.lo ext/mysql/libmysql/my_messnc.lo ext/mysql/libmysql/mf_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/libmysql/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/libmysql/string.lo ext/mysql/libmysql/default.lo ext/mysql/libmysql/my_compress.lo ext/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/strmov.lo ext/mysql/libmysql/strxmov.lo ext/mysql/libmysql/strnmov.lo ext/mysql/libmysql/strmake.lo ext/mysql/libmysql/strend.lo ext/mysql/libmysql/strfill.lo ext/mysql/libmysql/is_prefix.lo ext/mysql/libmysql/int2str.lo ext/mysql/libmysql/str2int.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 ext/mysql/libmysql/bmove_upp.lo ext/mysql/libmysql/longlong2str.lo ext/mysql/libmysql/strtoull.lo ext/mysql/libmysql/strtoll.lo ext/mysql/libmysql/charset.lo ext/mysql/libmysql/ctype.lo ext/overload/overload.lo ext/pcre/pcrelib/maketables.lo ext/pcre/pcrelib/get.lo ext/pcre/pcrelib/study.lo ext/pcre/pcrelib/pcre.lo ext/pcre/php_pcre.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/standard/array.lo ext/standard/base64.lo ext/standard/basic_functions.lo ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo ext/standard/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/info.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/standard/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/standard/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/standard/assert.lo ext/standard/strnatcmp.lo ext/standard/levenshtein.lo ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo ext/standard/ftp_fopen_wrapper.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/standard/ftok.lo ext/standard/aggregation.lo ext/standard/sha1.lo ext/tokenizer/tokenizer.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_mode.lo main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo main/strlcat.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_logos.lo main/output.lo main/memory_streams.lo main/user_streams.lo Zend/zend_language_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_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo sapi/apache/sapi_apache.lo sapi/apache/mod_php4.lo sapi/apache/php_apache.lo main/internal_functions.lo -lcrypt -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lcrypt  -o libphp4.la
                      
                      *** Warning: inter-library dependencies are not known to be supported.
                      *** All declared inter-library dependencies are being dropped.
                      
                      *** Warning: libtool could not satisfy all declared inter-library
                      *** dependencies of module libphp4.  Therefore, libtool will create
                      *** a static module, that should work as long as the dlopening
                      *** application is linked with the -dlopen flag.
                      /bin/sh /usr/src/php-4.3.8/libtool --silent --preserve-dup-deps --mode=compile gcc  -Imain/ -I/usr/src/php-4.3.8/main/ -DPHP_ATOM_INC -I/usr/src/php-4.3.8/include -I/usr/src/php-4.3.8/main -I/usr/src/php-4.3.8 -I/usr/src/php-4.3.8/Zend -I/usr/src/php-4.3.8/ext/xml/expat  -I/usr/src/php-4.3.8/TSRM  -g -O2  -prefer-pic -c main/internal_functions_cli.c -o main/internal_functions_cli.lo
                      /bin/sh /usr/src/php-4.3.8/libtool --silent --preserve-dup-deps --mode=link gcc -export-dynamic -g -O2     ext/ctype/ctype.lo ext/mysql/php_mysql.lo ext/mysql/libmysql/libmysql.lo ext/mysql/libmysql/errmsg.lo ext/mysql/libmysql/net.lo ext/mysql/libmysql/violite.lo ext/mysql/libmysql/password.lo ext/mysql/libmysql/my_init.lo ext/mysql/libmysql/my_lib.lo ext/mysql/libmysql/my_static.lo ext/mysql/libmysql/my_malloc.lo ext/mysql/libmysql/my_realloc.lo ext/mysql/libmysql/my_create.lo ext/mysql/libmysql/my_delete.lo ext/mysql/libmysql/my_tempnam.lo ext/mysql/libmysql/my_open.lo ext/mysql/libmysql/mf_casecnv.lo ext/mysql/libmysql/my_read.lo ext/mysql/libmysql/my_write.lo ext/mysql/libmysql/errors.lo ext/mysql/libmysql/my_error.lo ext/mysql/libmysql/my_getwd.lo ext/mysql/libmysql/my_div.lo ext/mysql/libmysql/mf_pack.lo ext/mysql/libmysql/my_messnc.lo ext/mysql/libmysql/mf_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/libmysql/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/libmysql/string.lo ext/mysql/libmysql/default.lo ext/mysql/libmysql/my_compress.lo ext/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/strmov.lo ext/mysql/libmysql/strxmov.lo ext/mysql/libmysql/strnmov.lo ext/mysql/libmysql/strmake.lo ext/mysql/libmysql/strend.lo ext/mysql/libmysql/strfill.lo ext/mysql/libmysql/is_prefix.lo ext/mysql/libmysql/int2str.lo ext/mysql/libmysql/str2int.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 ext/mysql/libmysql/bmove_upp.lo ext/mysql/libmysql/longlong2str.lo ext/mysql/libmysql/strtoull.lo ext/mysql/libmysql/strtoll.lo ext/mysql/libmysql/charset.lo ext/mysql/libmysql/ctype.lo ext/overload/overload.lo ext/pcre/pcrelib/maketables.lo ext/pcre/pcrelib/get.lo ext/pcre/pcrelib/study.lo ext/pcre/pcrelib/pcre.lo ext/pcre/php_pcre.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/standard/array.lo ext/standard/base64.lo ext/standard/basic_functions.lo ext/standard/browscap.lo ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo ext/standard/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/info.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/standard/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/standard/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/standard/assert.lo ext/standard/strnatcmp.lo ext/standard/levenshtein.lo ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo ext/standard/ftp_fopen_wrapper.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/standard/ftok.lo ext/standard/aggregation.lo ext/standard/sha1.lo ext/tokenizer/tokenizer.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_mode.lo main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo main/strlcat.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_logos.lo main/output.lo main/memory_streams.lo main/user_streams.lo Zend/zend_language_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_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo main/internal_functions_cli.lo -lcrypt -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -lcrypt  -o sapi/cli/php
                      ext/ctype/ctype.lo: file not recognized: File truncated
                      collect2: ld returned 1 exit status
                      make: *** [sapi/cli/php] Error 1
                      ibiza067:/usr/src/php-4.3.8 #

                      Kommentar


                      • #12
                        du hast das make clean vergessen

                        Kommentar


                        • #13
                          Muss ich das nach make machen? Dann weiss ich warum das mit den anderen Tutorials nicht geklappt hat... oder muss man das nur machen wenn man schoneinaml make gemacht hat und es wie bei mir dann fehlgeschlagen ist?

                          Kommentar


                          • #14
                            Code:
                            [...]
                            
                            Build complete.
                            (It is safe to ignore warnings about tempnam and tmpnam).
                            
                            ibiza067:/usr/src/php-4.3.8 # find -name libphp4
                            ibiza067:/usr/src/php-4.3.8 # find -name libphp4.so
                            ibiza067:/usr/src/php-4.3.8 # make install
                            Installing PHP SAPI module:       apache
                            [activating module `php4' in /etc/httpd/httpd.conf]
                            cp libs/libphp4.so /usr/lib/apache/libphp4.so
                            cp: cannot stat `libs/libphp4.so': No such file or directory
                            apxs:Break: Command failed with rc=1
                            make: *** [install-sapi] Error 1
                            ibiza067:/usr/src/php-4.3.8 # find -name libphp4.so
                            ibiza067:/usr/src/php-4.3.8 #
                            das bekomme ich jetzt wenn "configure" -> "make clean" -> "make make" mache...

                            Kommentar


                            • #15
                              das make clean musst du machen wenn ein make fehlgeschlagen ist.
                              und immer wenn du eine sache kompilierst und das fehlschlägt immer die config.cache löschen.


                              so.. ich hab jetzt mal php 5 als cgi ohne alles kompiliert und es ging genausogut wie das php4...

                              http://cheeez.dyndns.org:12000/cgi-bin/test5.php

                              ^^ da is das configure.. eigendlich nur:
                              Code:
                              ./configure --prefix=/src/server/php5cgi --disable-all --enable-cgi --without-pear
                              dann aus /usr/server/php5cgi/bin/ das php nach /usr/bin/ kopiert und das dann chmod 755 geamcht.

                              dann im cgi-bin vom apachen ein test5.php angelgt mit dem inhalt:
                              Code:
                              #!/usr/bin/php
                              <? echo phpinfo(); ?>
                              das dann mit dem browser aufgerufen.
                              und es geht

                              kannst es ja gern mal ausprobieren ob es auch bei dir geht...

                              http://cheeez.dyndns.org:12000/~sven/php

                              ^^ runterladen und in /usr/bin/ packen.
                              dann wie oben beschrieben die test5.php anlegen.

                              Kommentar

                              Lädt...
                              X