Portál AbcLinuxu, 14. května 2025 00:00
Ahoj
Po aktualizaci suse 10.0 -> suse 10.1 (apache2.2.0-21+php5.1.2-27) nemuzu rozchodit php. Konfigurace je stejna, jen jsem menil loadmodule.conf, kam jsem pridal:
LoadModule php5_module /usr/lib64/apache2/mod_php5.so
takze:
yetti:/home/jozka # apache2ctl -t -D DUMP_MODULES
Loaded Modules:
core_module (static)
mpm_prefork_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
expires_module (shared)
include_module (shared)
log_config_module (shared)
mime_module (shared)
negotiation_module (shared)
setenvif_module (shared)
ssl_module (shared)
suexec_module (shared)
userdir_module (shared)
auth_basic_module (shared)
authn_file_module (shared)
authz_groupfile_module (shared)
authz_default_module (shared)
authz_user_module (shared)
authz_host_module (shared)
authn_dbm_module (shared)
php5_module (shared)
Syntax OK
V php5.conf je:
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php5
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .php3s
AddType application/x-httpd-php-source .php4s
AddType application/x-httpd-php-source .php5s
AddType application/x-httpd-php-source .phps
DirectoryIndex index.php3
DirectoryIndex index.php4
DirectoryIndex index.php5
DirectoryIndex index.php
Short tags jsou povoleny...
Po apache2ctl restart se v logu apache objevi jen:
[Wed Oct 25 23:11:14 2006] [notice] SIGHUP received. Attempting to restart
[Wed Oct 25 23:11:16 2006] [notice] Apache/2.2.0 (Linux/SUSE) configured -- resuming normal operations
Patlam se s tim ve spolupraci se strycky Googlem a Jyxem uz druhy den a fakt nevim... diky za jakekoliv postrceni spravnym smerem.
Na otázku zatím nikdo bohužel neodpověděl.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.