Originariamente inviato da daniele_dll
no pao...il problema è che php sia 4 sia 5 non sono al 100% thread safe...quindi se usi apache2 in modalità pre-fork non hai problemi ma se lo usi in modalità worker (ovvero che usa i threads) allora si...li hai problemi, ad es le gd dovrebberò andare male xche nn sono thread safe
dopo di che...non ti funziona per via di mmcache

disabilitalo dal php.ini, riavvia apache e guarda che ti parte ^^
PS: se guardi l'error_log di apache ti avverte che mmcache non è compilato per questa ver di php

DD
ciauz
Non va comunque
Ecco l'error log dopo lo start di apache:
codice:
[Thu Jul 22 15:52:13 2004] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Thu Jul 22 15:52:13 2004] [notice] LDAP: SSL support unavailable
[Thu Jul 22 15:52:14 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
PHP Warning: PHP Startup: \xa4N[: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP compiled with mod
ule API=20040412, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
[Thu Jul 22 15:52:14 2004] [notice] Digest: generating secret for digest authentication ...
[Thu Jul 22 15:52:14 2004] [notice] Digest: done
[Thu Jul 22 15:52:14 2004] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Thu Jul 22 15:52:14 2004] [notice] LDAP: SSL support unavailable
PHP Warning: PHP Startup: \xa4\x0eF: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP compiled with
module API=20040412, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
[Thu Jul 22 15:52:15 2004] [notice] mod_python: Creating 32 session mutexes based on 150 max processes and 0 max threads.
[Thu Jul 22 15:52:15 2004] [notice] Apache/2.0.50 (Fedora) configured -- resuming normal operations
Con php4 invece è così:
codice:
[Thu Jul 22 15:54:08 2004] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Thu Jul 22 15:54:08 2004] [notice] LDAP: SSL support unavailable
[Thu Jul 22 15:54:09 2004] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jul 22 15:54:09 2004] [notice] Digest: generating secret for digest authentication ...
[Thu Jul 22 15:54:09 2004] [notice] Digest: done
[Thu Jul 22 15:54:09 2004] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Thu Jul 22 15:54:09 2004] [notice] LDAP: SSL support unavailable
[Thu Jul 22 15:54:10 2004] [notice] mod_python: Creating 32 session mutexes based on 150 max processes and 0 max threads.
[Thu Jul 22 15:54:10 2004] [notice] Apache/2.0.50 (Fedora) configured -- resuming normal operations
Php 5 è stato compilato così questa volta (esattamente come ho compilato il php 4.3.8 ke va a meraviglia):
'./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-db4=/usr' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-regex=system' '--with-xml' '--with-expat-dir=/usr' '--with-dom=shared,/usr' '--with-dom-xslt=/usr' '--with-dom-exslt=/usr' '--with-xmlrpc=shared' '--with-pcre-regex=/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-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-pear=/usr/share/pear' '--with-kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--enable-memory-limit' '--enable-bcmath' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mcal' '--enable-mbstring' '--enable-mbstr-enc-trans' '--enable-mbregex' '--with-apxs2=/usr/sbin/apxs'