Newsgroup: it.comp.os.linux.sys
Titolo: Errore in avvio di apache con php

Ciao, ho da poco aggiornato la mia Suse 7.3 con la 8.0 e adesso apache 
non parte più.
Allora, apache (1.3.23) "liscio" parte regolarmente, ma se installo i 
pacchetti per il php (4.1 o 4.2 è uguale..), non parte e in error.log 
vedo:
PHP Fatal error:  Unable to start session mm module in Unknown on line 0
Le configurazioni sono quelle di default, visto che uso apache solo in 
locale per esperimenti e pratica.
Qualche idea ?
Ciao e grazie.
-- 
***  Per E-mail rimuovi ModE dall'indirizzo  ***
  *** Linux user # 198661 --- ICQ 33500725 ***
*** homepage 
http://web.tiscalinet.it/kailed
 ***
            *** Powered by Linux ***

 Qualche idea ?
Evidentemente il file di configurazione e' sbagliato o uno dei moduli
contiene un'errore.
Davide

 PHP Fatal error:  Unable to start session mm module in Unknown on line 0
A me ha richiesto lo stesso modulo in fase di aggiornamento di apache.
Gliel'ho installato
mm-1.1.3-2
e tutto va liscio
Ciao
 Max

dav...@yahoo.com
 wrote:

Ti riferisci al php.ini ?
Non l'ho mai toccato, eccolo:
[dan@karma ~ ] > grep -v ^\; /etc/php.ini | grep -v ^$
[PHP]
engine = On
short_open_tag = On
asp_tags = Off
precision    =  14
y2k_compliance = Off
output_buffering = Off
output_handler =
zlib.output_compression = Off
implicit_flush = Off
allow_call_time_pass_reference = On
safe_mode = Off
safe_mode_gid = Off
safe_mode_include_dir =
safe_mode_exec_dir =
safe_mode_allowed_env_vars = PHP_
safe_mode_protected_env_vars = LD_LIBRARY_PATH
disable_functions =
highlight.string  = #CC0000
highlight.comment = #FF9900
highlight.keyword = #006600
highlight.bg
      = #FFFFFF
highlight.default = #0000CC
highlight.html    = #000000
expose_php = On
max_execution_time = 30     ; Maximum execution time of each script, in 
seconds
memory_limit = 8M      ; Maximum amount of memory a script may consume 
(8MB)
error_reporting  =  E_ALL & ~E_NOTICE
display_errors = On
display_startup_errors = Off
log_errors = Off
track_errors = Off
warn_plus_overloading = Off
variables_order = "EGPCS"
register_globals = On
register_argc_argv = On
post_max_size = 8M
gpc_order = "GPC"
magic_quotes_gpc = On
magic_quotes_runtime = Off
magic_quotes_sybase = Off
auto_prepend_file =
auto_append_file =
default_mimetype = "text/html"
doc_root =
user_dir =
extension_dir = ./
extension_dir =
enable_dl = On
file_uploads = On
upload_max_filesize = 2M
allow_url_fopen = On
[extension section]
[Syslog]
define_syslog_variables  = Off
[mail function]
SMTP = localhost
sendmail_from = 
m...@localhost.com
[Logging]
[Java]
[SQL]
sql.safe_mode = Off
[ODBC]
odbc.allow_persistent = On
odbc.check_persistent = On
odbc.max_persistent = -1
odbc.max_links = -1
odbc.defaultlrl = 4096
odbc.defaultbinmode = 1
[MySQL]
mysql.allow_persistent = On
mysql.max_persistent = -1
mysql.max_links = -1
' at MYSQL_PORT.
mysql.default_port =
mysql.default_socket =
mysql.default_host =
mysql.default_user =
mysql.default_password =
[mSQL]
msql.allow_persistent = On
msql.max_persistent = -1
msql.max_links = -1
[PostgresSQL]
pgsql.allow_persistent = On
pgsql.max_persistent = -1
pgsql.max_links = -1
[Sybase]
sybase.allow_persistent = On
sybase.max_persistent = -1
sybase.max_links = -1
sybase.min_error_severity = 10
sybase.min_message_severity = 10
sybase.compatability_mode = Off
[Sybase-CT]
sybct.allow_persistent = On
sybct.max_persistent = -1
sybct.max_links = -1
sybct.min_server_severity = 10
sybct.min_client_severity = 10
[bcmath]
bcmath.scale = 0
[browscap]
[Informix]
ifx.default_host =
ifx.default_user =
ifx.default_password =
ifx.allow_persistent = On
ifx.max_persistent = -1
ifx.max_links = -1
ifx.textasvarchar = 0
ifx.byteasvarchar = 0
ifx.charasvarchar = 0
ifx.blobinfile = 0
ifx.nullformat = 0
[Session]
session.save_handler = files
session.save_path = /tmp
session.use_cookies = 1
session.name
 = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.gc_probability = 1
session.gc_maxlifetime = 1440
session.referer_check =
session.entropy_length = 0
session.entropy_file =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 1
url_rewriter.tags = 
"a=href,area=href,frame=src,input=src,form=fakeentry"
[MSSQL]
mssql.allow_persistent = On
mssql.max_persistent = -1
mssql.max_links = -1
mssql.min_error_severity = 10
mssql.min_message_severity = 10
mssql.compatability_mode = Off
[Assertion]
[Ingres II]
ingres.allow_persistent = On
ingres.max_persistent = -1
ingres.max_links = -1
ingres.default_database =
ingres.default_user =
ingres.default_password =
[Verisign Payflow Pro]
pfpro.defaulthost = "
test-payflow.verisign.com
"
pfpro.defaultport = 443
pfpro.defaulttimeout = 30
[Sockets]
sockets.use_system_read = On
[com]
[Printer]
[mbstring]
[FrontBase]
Cercando con google ho trovato solo dei riferimenti ad un problema 
identico in Debian per Alpha....
Continuo con le ricerche/prova..
Ciao.


Massimo Sanna wrote:

Ho la stessa versione:(
Boh...
Ciao.


 0
Scoperto, è il pacchetto mm buggato:
This update fixes a compilation error in the MM shared memory library 
which
occurred in some releases of this package (notably the FTP 
installation). With 
the faulty package, starting apache would fail when trying to load 
mod_php4. 
(At initialization, the PHP interpreter tries to get an as large shared 
memory 
segment as possible, and MM would try to allocate more than by default 
is 
available via /proc/sys/kernel/shmmax. "PHP Fatal error: Unable to start 
session mm module in Unknown on line 0". In this package the MM internal 
maximum value is set according to the system default shmmax value again 
(32MB).) (Bug #16760) 
Ciao.
