HowTo install PHP5

  • Thread starter Thread starter server4downs
  • Start date Start date
Status
Not open for further replies.
[M]eos said:
/usr/lib/apache2-prefork/libphp5.so /usr/lib/apache2-prefork/mod_frontpage.so
Dieser Teil ist falsch. Er baut die /etc/apache2/sysconfig.d/loadmodule.conf nicht richtig zusammen und daher alle anderen Fehler.

Die php5 hast Du eh schon extra drin und das Frontpage-Modul sollte per 'frontpage' eingesetz werden.

huschi.
 
Leider immer noch der gleiche Fehler:
Code:
38234:~ # /etc/init.d/apache2 start
Warning: no MPM found. Some modules are dependant on the type of MPM.
Warning: no MPM found. Some modules are dependant on the type of MPM.
 from APACHE_CONF_INCLUDE_FILES not found. Ignored.
) httpd2-prefork: could not open document config file /srv/www/\r

The command line was:
 -Dr/sbin/httpd2-prefork -f
                                                                     failed

die apache2-Datei sieht jetzt so aus:
Code:
## Path:	Network/WWW/Apache2
## Description:	Configuration for Apache 2
## Type:	string
## Default:	""
## ServiceRestart: apache2
#
# Which config file do you want to use?
# (if not set, /etc/apache2/httpd.conf is used.)
#
APACHE_HTTPD_CONF=""
## Type:	list(prefork,worker,leader,metuxmpm)
## Default:	""
## Command:	/usr/sbin/apache2-reconfigure-mpm
#
# MPM (multi-processing module) to use.
#
# Needed to determine with which MPM apache will run, as well as
# against which header files modules will be built. 
#
# If not set, the system will simply pick one of the installed MPMs.
#
APACHE_MPM=""
## Type:	string
## Default:	""
## ServiceReload: apache2
#
# email address of the server administrator (ServerAdmin directive)
# This address is added to the server's responses if APACHE_SERVERSIGNATURE 
# is set to "email". 
#
# If empty ("") it defaults to webmaster@$FQHOSTNAME, where FQHOSTNAME is
# taken from /etc/HOSTNAME. 
#
# Note that ServerAdmin directives inside VirtualHost statements are not
# changed, even not the one in the stock SSL virtual host block. 
#
APACHE_SERVERADMIN=""
## Type:	string
## Default:	""
## ServiceReload: apache2
#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If this is not set to valid DNS name for your host, server-generated
# redirections will not work.  See also the UseCanonicalName directive.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
# You will have to access it by its address anyway, and this will make 
# redirections work in a sensible way.
#
APACHE_SERVERNAME=""
## Type:	string
## Default:	""
## ServiceRestart: apache2
#
# Here you can name files, separated by spaces, that should be Include'd from 
# httpd.conf. 
#
# This allows you to add e.g. VirtualHost statements without touching 
# /etc/httpd/httpd.conf itself, which makes upgrading easier. 
#
APACHE_CONF_INCLUDE_FILES=""
## Type:	string
## Default:	""
## ServiceRestart: apache2
#
# Here you can name directories, separated by spaces, that should be Include'd 
# from httpd.conf. 
#
# All files contained in these directories will be recursively included by apache.
# If a pattern like *.conf is appended, apache will use it.
#
# Examples: "/etc/apache2/my_conf/"
#           "/etc/apache2/virtual_hosts/*.conf"
#           "local/*.conf /srv/www/virtual/"
#
APACHE_CONF_INCLUDE_DIRS=""
## Type:	string
## Default:	"access actions alias auth auth_dbm autoindex cgi dir env expires include log_config mime negotiation setenvif ssl suexec userdir php4"
## ServiceRestart: apache2
#
# [It might look silly to not simply edit httpd.conf for the LoadModule statements.
# However, since the LoadModule statements might need an absolute path to the modules,
# switching between MPMs can be quite a hassle. It's easier to just give the names here.]
#
# * list of all modules shipped with the base distribution: 
#
#    access actions alias asis auth auth_anon auth_dbm auth_digest auth_ldap
#    autoindex cache case_filter case_filter_in cern_meta cgi charset_lite
#    dav dav_fs deflate dir disk_cache echo env expires ext_filter file_cache
#    headers imap include info ldap log_config log_forensic logio mem_cache
#    mime mime_magic negotiation proxy proxy_connect proxy_ftp proxy_http
#    rewrite setenvif speling ssl status suexec unique_id userdir usertrack
#    vhost_alias 
#
#   see http://httpd.apache.org/docs-2.0/mod/ !
#
# * It pays to use IfDefine statements... like
#    <IfModule mod_xyz.c>
#        ....
#    </IfModule>
#
# * In the APACHE_MODULES variable, you can use mod_xyz or just xyz syntax.
#   You may also name an absolute path if you like.
#
# * NOTE ON MOD_SSL: before you can enable this module, you need a server certificate. 
#   A test certificate can be created by entering 
#   'cd /usr/share/doc/packages/apache2; ./certificate.sh' as root.
#   Also, you need to set the ServerName inside the <VirtualHost _default_:443> 
#   block to the fully qualified domain name (see /etc/HOSTNAME).
#
# * if your server certificate is protected by a passphrase you should increase the
#   APACHE_START_TIMEOUT (see above)
#
# * modules listed here will be ignored if they are not installed
#
#
# EXAMPLES:
#
# fairly minimal
# APACHE_MODULES="access alias auth dir log_config mime setenvif"
#
# apache's default installation
# APACHE_MODULES="access actions alias asis auth autoindex cgi dir imap include log_config mime negotiation setenvif status userdir"
# your settings
APACHE_MODULES="mod_perl access actions alias auth auth_dbm autoindex cgi dir env expires include log_config mime negotiation setenvif ssl suexec userdir rewrite frontpage php5"
## Type:	string
## Default:	""
## ServiceRestart: apache2
#
# Additional server flags:
#
# Put here any server flags ("Defines") that you want to hand over to 
# httpd at start time, or other command line flags.
#
# Background: Any directives within an <IfDefine flag>...</IfDefine>
#             section are only processed if the flag is defined.
#
# This could be -D SSL, for example. Or -DSTATUS.
# (it does not matter whether you "-D flag1 -D flag2" or simply "flag1 flag2")
#
# Specifying such flags here is equivalent to giving them on the commandline.
# (e.g. rcapache2 start -DReverseProxy)
#
APACHE_SERVER_FLAGS=""
## Type:	integer
## Default:	2
#
# timeout during server startup (seconds)
# after this time, the start script decides wether the httpd process started without error.
#
# Increase it, if you use mod_ssl and your certificate is passphrase protected!
#
APACHE_START_TIMEOUT="2"
## Type:	list(on,off,email)
## Default:	"on"
## ServiceReload: apache2
#
# Configures the footer on server-generated documents 
# This correlates to the ServerSignature directive. 
#
APACHE_SERVERSIGNATURE="on"
## Type:	list(debug,info,notice,warn,error,crit,alert,emerg)
## Default:	"warn"
## ServiceReload: apache2
#
# LogLevel: Control the number of messages logged to the error_log.
#
APACHE_LOGLEVEL="warn"
## Type:	string
## Default:	"/var/log/apache2/access_log combined"
## ServiceRestart: apache2
#
# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here.  Contrarywise, if you *do*
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and *not* in this file.
#
# Simply set it to empty, if you configure it yourself somewhere else.
# 
# Examples:
#
# If you would like to have agent and referer logfiles:
#
# setting it to "/var/log/apache2/referer_log referer, /var/log/apache2/agent_log agent"
#   corresponds to 
# CustomLog /var/log/apache2/referer_log referer
# CustomLog /var/log/apache2/agent_log   agent
#
# If you prefer a single logfile with access, agent, and referer information
# (Combined Logfile Format):
#
# setting it to "/var/log/apache2/access_log combined"
#   corresponds to 
# CustomLog /var/log/apache2/access_log combined
#
APACHE_ACCESS_LOG="/var/log/apache2/access_log combined"
## Type:	list(On,Off,DNS)
## Default:	"Off"
## ServiceReload: apache2
#
# UseCanonicalName: Determines how Apache constructs self-referencing 
# URLs and the SERVER_NAME and SERVER_PORT variables.
# When set "Off", Apache will use the Hostname and Port supplied
# by the client.  When set "On", Apache will use the value of the
# ServerName directive.
#
APACHE_USE_CANONICAL_NAME="off"
## Type:	list(Major,Minor,Minimal,ProductOnly,OS,Full)
## Default:	"OS"
## ServiceReload: apache2
#
# How much information the server response header field contains about the server.
# (installed modules, versions, etc.)
# see http://httpd.apache.org/docs-2.0/mod/core.html#servertokens
#
APACHE_SERVERTOKENS="OS"
## Type:	list(on,off)
## Default:	"off"
## ServiceReload: apache2
#
# If mod_status is used, include extended information about the server, like 
# CPU usage, in the status report. It is a server-wide setting, and it can cost
# some performance!
#
APACHE_EXTENDED_STATUS="off"
## Type:	list(on,off)
## Default:	"off"
## ServiceRestart: apache2
#
# Enable buffered logging
#
APACHE_BUFFERED_LOGS="off"
## Type:	integer
## Default:	300
## ServiceReload: apache2
#
# Timeout: The number of seconds before receives and sends time out.
# It is a server wide setting.
#
APACHE_TIMEOUT="300"

SUSEconfig ist auch durchgelaufen.
 
Ergebnis:
Code:
38234:~ # ll /usr/sbin/httpd2*
lrwxrwxrwx  1 root root     24 Jun  1 14:21 /usr/sbin/httpd2 -> /usr/sbin/httpd2-prefork
-rwxr-xr-x  1 root root 984666 Mar  2  2005 /usr/sbin/httpd2-prefork
38234:~ # /etc/init.d/apache2 start
Warning: no MPM found. Some modules are dependant on the type of MPM.
Warning: no MPM found. Some modules are dependant on the type of MPM.
 from APACHE_CONF_INCLUDE_FILES not found. Ignored.
) httpd2-prefork: could not open document config file /srv/www/\r

The command line was:
 -Dr/sbin/httpd2-prefork -f
                                                                     failed
 
[M]eos said:
The command line was:
-Dr/sbin/httpd2-prefork -f
In dieser Zeile stimmt was nicht.
Sie sollte in etwa so lauten:
Code:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
Was nicht stimmt:
- httpd.conf fehlt vollständig.
- zwischen -f und -D ist ein CR
- nach -D kommt nichts mehr.

Letzten Endes komme ich zu dem Schluß, daß Du hier irgendwo einen unfreiwilligen Zeilenumbruch hast. Wahrscheinlich verursacht von einem DOS/Windows-Editor, da ein CR auftaucht.

Mehr kann ich als Ferndiagnose nicht sagen.
Ich denke, daß der Fehler weiterhin in der /etc/sysconfig/apache2 versteckt ist. Ausser Du hast auch die /etc/init.d/apache2 manuell geändert. Dann könnte er auch dort irgendwo sein.

huschi.
 
Hallo,

hab es nun nach langem hin und her und Neuinstallation des Servers doch noch hinbekommen. Vielen Dank nochmal an alle:)

Hab aber noch einmal eine Frage. Ich wollte gerade in die php.ini noch gdlib etc. einbinden, allerdings existiert die php.ini von php5 gar nicht in dem Ordner in dem sie sein soll:
http://web0.38234.vs.webtropia.com/phpinfo.php
In /etc/php5 ist nur eine pear.conf, sonst gar nichts:confused:
 
Hey, Danke für die schnelle Hilfe. Bin davon ausgegangen, dass PHP auf ne falsche php.ini zugreift:o

Kann es sein, dass wenn man gd und alle anderen addons nicht sofort mit einbindet, dass es dann unter Suse nicht mehr möglich ist da ohne alle Schritte der Installation zu wiederholen, was zu machen?
 
SuSe 9.3
./configure --program-prefix=
--prefix=/usr/local/php5
--datadir=/usr/share/php5
--mandir=/usr/share/man/php5
--bindir=/usr/local/php5/bin
--exec-prefix=/usr/local/php5
--includedir=/usr/include/php5
--sysconfdir=/etc/php5
--localstatedir=/var
--with-config-file-path=/etc/php5
--with-exec-dir=/usr/lib/php5/bin
--disable-debug -
-enable-inline-optimization
--enable-memory-limit
--enable-sigchild
--enable-session
--with-mysql=/usr
--enable-cli
--with-pear=/usr/share/pear
--without-pgsql
--with-config-file=/etc/php5/php.ini
--with-apxs2=/usr/sbin/apxs2 i586-suse-linux

machter alles perfekt bis ztum apache restart:

Starting httpd2 (prefork) Syntax error on line 26 of /etc/apache2/sysconfig.d/loadmodule.conf:
Cannot load /usr/lib/apache2/libphp5.so into server: /usr/lib/apache2/libphp5.so: undefined symbol: _efree

The command line was:
/usr/sbin/httpd2-prefork -f /etc/apache2/httpd.conf
failed

kompilierungsfehler ? Steig da absolut nicht durch...

// EDIT: Ist ein PHP 5.1.4 spezifisches Problem. PHP 5.1.2 macht er ohne Probleme
 
Last edited by a moderator:
Hallo,

Ich habe nach der Anleitung Php5 installiert.

Wurde auch geladen :)

Aber wenn ich jetzt z.B Confixx aufrufen will dann kommt nur eine weiße seite.

Der Apache zickt auch rum

Beim restarten oder stoppen

Code:
Apache2 failed to honor the stop command, please investigate the situation by hand.

System

Debian 3.1 Sarge
Confixx 3.2
Zend Optimizer 3.0.1
 
Hilfegesuch, guckt hier noch jemand rein?

Hallo Leute,
ich weiß nicht ob in dieses jahrealte Thread überhaupt noch jemand schaut, aber ich bin mittlerweile etwas ratlos! Ich habe genau nach der Tutorialanweisung gearbeitet, es hat alles wunderbar geklappt nur bei "make install" hat suse wie immer rumgezickt, dass die httpd2-prefork.conf ja nicht da wäre, aber auch das Problem wurde ja in diesem Thread wunderbar geklärt. Es kommt also zu keinem weiteren Fehler.

Also habe ich den Apache2 gestoppt und wieder gestartet, und siehe da super PHP5 ist an Bord. Aber die Freude dauert nich lange. Einige Joomla Seiten sind nun nicht mehr erreichbar, denke das hat was mit dem eingeschalteten Modrewrite zu tun (falls da jemand ne Idee hat wegen php5 bitte hilfe).
Aber das wird ja zu lösen sein, aber nach einer gewissen Zeit, meistens nur ein paar Minuten verabschiedet sich der Apache, also es ist keine Seite mehr erreichbar!
Im Apache2-Errorlog hab ich nichts besonderes entdecken können leider!

Das ist meine config gewesen von der Installation, eigentlich so gut wie die alte von php4 übernommen. es gab ja wie gesagt auch keine fehler bei der installation:

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=lib --with-config-file-path=/etc --with-exec-dir=/usr/lib/php/bin --disable-debug -enable-inline-optimization --enable-memory-limit --enable-magic-quotes --enable-safe-mode --enable-sigchild --disable-ctype --enable-session --with-mysql=/usr/lib/mysql --disable-cli --without-pear --with-openssl --with-config-file=/etc/php.ini --with-apxs2=/usr/sbin/apxs2-prefork i586-suse-linux

hat vielleicht dennoch jemand noch ne idee wo ich ansetzen kann mit nem versuch?
 
Das hört sich ja komisch an.
Ist halt schwer mit so einer Fehleranalyse aus der Ferne ;)
Bist du sicher, dass gar nichts dazu in den Logs steht?
Beobachte doch mal die Serverauslastung... vlt. hängen sich da ja immer mal ein paar Prozesse oder so auf. Wer weiß.
 
Hallo,
also ich habe bemerkt, dass der Apache2 ausschließlich versagt wenn er ein "reload" erhält. wenn ich ihn per hand stoppe und danach starte, geht alles gut. ich habe deshalb zum test mal ein reload gemacht und kurz danach ein stop und start. folgede sachen finde ich dazu im error log:

Code:
[Thu Aug 03 12:50:26 2006] [notice] Graceful restart requested, doing restart
[Thu Aug 03 12:50:26 2006] [warn] NameVirtualHost 62.75.204.47:80 has no VirtualHosts
[Thu Aug 03 12:50:26 2006] [notice] seg fault or similar nasty error detected in the parent process
[Thu Aug 03 12:50:39 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Aug 03 12:50:39 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
PHP Warning:  PHP Startup: U\x89\xe5VS\x83\xec \x8bu\x0c\xe8\xcd\x02: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/pgsql.so' - /usr/lib/php/extensions/pgsql.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5VS\x83\xec \x8bu\x0c\xe8\xf5\x02: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\xb8\x03: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5VS\x83\xec \x8bu\x0c\xe8\xea\xcb\xff\xff\x81\xc3\x1c\x1d: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/wddx.so' - /usr/lib/php/extensions/wddx.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/unixODBC.so' - /usr/lib/php/extensions/unixODBC.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5VS\x83\xec\x10\x8bE\x0c\xe8\xad: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5S\x83\xec\x14\x8bE\x0c\xe8*\x01: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U1\xc9\x89\xe5VS\x83\xec \x8bu\x0c\xe8\x14\x04: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/sockets.so' - /usr/lib/php/extensions/sockets.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5S\x83\xec\x14\x8bE\x0c\xe8~: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/session.so' - /usr/lib/php/extensions/session.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5S\x81\xec\x14\x01: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/mysql.so' - /usr/lib/php/extensions/mysql.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning:  PHP Startup: U1\xd2\x89\xe5WVS\x81\xec\x8c : Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5W1\xffVS\x81\xec\xbc: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5W\xbf\x0f: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5VS\x83\xec \x8bu\x0c\xe8\x0c\x07: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/mbstring.so' - /usr/lib/php/extensions/mbstring.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/ldap.so' - /usr/lib/php/extensions/ldap.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5WVS\x83\xec\x1c\x8bu\x0c\xe8\x93\x14: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5\x83\xec(\x89]\xf4\xe8\xab: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5VS\x83\xec \x8bu\x0c\xe8$\x01: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: (null): Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5VS\x83\xec \x8bu\x0c\xe8l\x04: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5VS\x83\xec \x8bu\x0c\xe8\x17\x02: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\xe8\xf2\x0f: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/exif.so' - /usr/lib/php/extensions/exif.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/domxml.so' - /usr/lib/php/extensions/domxml.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5S\x83\xec\x14\x8bE\x0c\xe8\x19\xda\xff\xff\x81\xc3}\x07: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5VS\x83\xec \x8bu\x0c\xe8\x85!: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: (null): Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\xb8\x0e: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5S\x83\xec\x14\xe8\xa7\x04: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: (null): Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/php_mbstring.dll' - /usr/lib/php/extensions/php_mbstring.dll: cannot open shared object file: No such file or directory in Unknown on line 0
[Thu Aug 03 12:50:39 2006] [warn] pid file /var/run/httpd2.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Aug 03 12:50:39 2006] [notice] Apache/2.0.53 (Linux/SUSE) configured -- resuming normal operations

kann damit jemand was anfangen?
hab ich irgendwas vergessen beim configure-php5 ?
wieso tritt das nur beim reload auf?
danke im Voraus für Anregungen zur Lösung
 
NameVirtualHost 62.75.204.47:80 has no VirtualHosts
Boardsuche oder NameVirtualHost XXX has no VirtualHosts.

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/pgsql.so' - /usr/lib/php/extensions/pgsql.so: undefined symbol: empty_string in Unknown on line 0
.........
Hier passt die API nicht. Wahrscheinlich hast Du die Module nicht mitkompiliert, nicht installiert, ins falsche Verzeichnis installiert oder das extensions-Verzeichnis in der php.ini nicht angepaßt.

PS: Besinn Dich mal wieder auf Punkt 3 der Boardregeln.
Du kannst es doch; ich glaub an Dich!

huschi.
 
weiter nix...

Hallo,
sorry das ich die Bordregeln mal wieder außer acht gelassen habe.
Ich gelobe Besserung!

Ich habe jetzt mal ausprobiert, was du sagtest, doch komme ich nicht so richtig weiter, ich habe genau wie im Tutorial am Anfang des Threads --without-pgsql drin in der configure.

Nochdazu ist die Datei: /usr/lib/php/extensions/pgsql.so'
vorhanden!!!

Habe PHP also neu configuriert und installiert.
Es bleibt alles beim alten, reload funktioniert nicht, aber Stop und Start.
Ist das nicht etwas sinnfrei? Weil fehlende Module oder sowas müssten dem Reload doch auch auffallen oder etwa nicht?
Trotzdem sind glaub ich ein paar wenige Fehler weggefallen wie das mit dem VirtualHost:

Code:
[Thu Aug 03 14:18:16 2006] [notice] Graceful restart requested, doing restart
[Thu Aug 03 14:18:16 2006] [notice] seg fault or similar nasty error detected in the parent process
[Thu Aug 03 14:18:27 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Aug 03 14:18:27 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
PHP Warning:  PHP Startup: U\x89\xe5VS\x83\xec \x8bu\x0c\xe8\xcd\x02: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/pgsql.so' - /usr/lib/php/extensions/pgsql.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5VS\x83\xec \x8bu\x0c\xe8\xf5\x02: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\xb8\x03: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5VS\x83\xec \x8bu\x0c\xe8\xea\xcb\xff\xff\x81\xc3\x1c\x1d: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/wddx.so' - /usr/lib/php/extensions/wddx.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/unixODBC.so' - /usr/lib/php/extensions/unixODBC.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5VS\x83\xec\x10\x8bE\x0c\xe8\xad: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5S\x83\xec\x14\x8bE\x0c\xe8*\x01: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U1\xc9\x89\xe5VS\x83\xec \x8bu\x0c\xe8\x14\x04: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/sockets.so' - /usr/lib/php/extensions/sockets.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5S\x83\xec\x14\x8bE\x0c\xe8~: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/session.so' - /usr/lib/php/extensions/session.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5S\x81\xec\x14\x01: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/mysql.so' - /usr/lib/php/extensions/mysql.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning:  PHP Startup: U1\xd2\x89\xe5WVS\x81\xec\x8c : Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5W1\xffVS\x81\xec\xbc: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5W\xbf\x0f: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5VS\x83\xec \x8bu\x0c\xe8\x0c\x07: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/mbstring.so' - /usr/lib/php/extensions/mbstring.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/ldap.so' - /usr/lib/php/extensions/ldap.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5WVS\x83\xec\x1c\x8bu\x0c\xe8\x93\x14: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5\x83\xec(\x89]\xf4\xe8\xab: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5VS\x83\xec \x8bu\x0c\xe8$\x01: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: (null): Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5VS\x83\xec \x8bu\x0c\xe8l\x04: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5VS\x83\xec \x8bu\x0c\xe8\x17\x02: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\xe8\xf2\x0f: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/exif.so' - /usr/lib/php/extensions/exif.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/domxml.so' - /usr/lib/php/extensions/domxml.so: undefined symbol: empty_string in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5S\x83\xec\x14\x8bE\x0c\xe8\x19\xda\xff\xff\x81\xc3}\x07: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5VS\x83\xec \x8bu\x0c\xe8\x85!: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: (null): Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\xb8\x0e: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: U\x89\xe5S\x83\xec\x14\xe8\xa7\x04: Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: (null): Unable to initialize module\nModule compiled with module API=20020429, debug=0, thread-safety=0\nPHP    compiled with module API=20050922, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/php_mbstring.dll' - /usr/lib/php/extensions/php_mbstring.dll: cannot open shared object file: No such file or directory in Unknown on line 0
[Thu Aug 03 14:18:27 2006] [warn] pid file /var/run/httpd2.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Aug 03 14:18:27 2006] [notice] Apache/2.0.53 (Linux/SUSE) configured -- resuming normal operations

Ich weiß derzeit nicht mehr so recht wo ich ansetzen soll um den Fehler zu finden oder zu beheben!
In der php.ini steht auch korrekt:
extension_dir = /usr/lib/php/extensions

Jemand noch Ideen?
 
Hallo,

das kommt daher, dass du noch deine alte php.ini benutzt. Die SuSe, bzw. Debian-Standartinstallationen von PHP arbeiten mit Extensions.
Hier gehen wir aber anders vor und kompilieren schon alles mit ein.
2 Lösungsvorschläge:
- neue php.ini benutzen
- php.ini editieren, und zwar:
Einfach nach ".so" suchen (mit dem Editor deiner Wahl)...
Dann wird da so eine ganze List stehen... jetzt darfst du entscheiden zwischen
a) Zeilen einfach dreist löschen
b) ein goldenes Semikolon (';') jeweils vor jede Zeile zu klatschen.

So, nun ein Apache-Restart und die liebe Seele sollte Ruhe haben.
Jedoch bezweifle ich, dass dies dein wirklicher Fehler war... denn das ist ja nur ne "Warning-" Fehlermeldung... und das ist eigentlich nicht weiter schlimm.
 
Module compiled with module API=20020429, debug=0, thread-safety=0
PHP compiled with module API=20050922, debug=0, thread-safety=0
Hier steht es doch und ich wiederhole mich von oben: Die Module passen nicht zur PHP-API.

huschi.
 
Code:
[Thu Aug 03 18:07:56 2006] [notice] Graceful restart requested, doing restart
[Thu Aug 03 18:07:57 2006] [notice] seg fault or similar nasty error detected in the parent process
[Thu Aug 03 18:08:10 2006] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Aug 03 18:08:10 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2)
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/php_mbstring.dll' - /usr/lib/php/extensions/php_mbstring.dll: cannot open shared object file: No such file or directory in Unknown on line 0
[Thu Aug 03 18:08:10 2006] [warn] pid file /var/run/httpd2.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Aug 03 18:08:10 2006] [notice] Apache/2.0.53 (Linux/SUSE) configured -- resuming normal operations

wie ihr seht sind die warnings schonmal dezimiert worden, danke für den Hinweis!

okay das die API´s nicht stimmen hab ich jetzt gecheckt, bin zwar kein newbie auch kein Fachmann, aber wie gehe ich am besten vor, damit ich auch dieses Problem löse? Löst das den Fehler nur beim Reload aus?
 
Augen auf ;)
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/php_mbstring.dll' - /usr/lib/php/extensions/php_mbstring.dll: cannot open shared object file: No such file or directory in Unknown on line 0
Das sagt doch schon alles :D
Da wird noch was included, was nicht sein sollte.
Der Rest der Fehlermeldungen ist nicht wirklich zu beachten.
 
Hier steht es doch und ich wiederhole mich von oben: Die Module passen nicht zur PHP-API.

huschi.
Huschi, ich will dich hier jetzt nicht anpöbeln, aber dein Beitrag war nicht sonderlich hilfreich, auch nicht dann, wenn du dich nochmals wiederholen würdest :D
 
Status
Not open for further replies.
Back
Top