Sie sind nicht angemeldet.

1

09.06.2009, 16:06

[close] problem mit php.ini & Webmin

hiho,

ich habe ein Problem mit meinem Webserver. Die Fehlerausgabe ist:

Quellcode

1
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /var/www/xyz/config.inc.php on line 15


Da hab ich dann mal nachgesehen in der phpinfo.php:

Quellcode

1
2
allow_url_fopen	On	On 
allow_url_include	Off	Off


also bin ich auf dem richtigen weg. Dacht ich denn mit verwunderung sehe ich nch in /etc/php5/apache2/php.ini:

Quellcode

1
2
3
4
Whether to allow the treatment of URLs (like http:// or ftp://) as files. 
allow_url_fopen = On  ; 
Whether to allow include/require to open URLs (like http:// or ftp://) as files. 
allow_url_include = On;

wie kann das sein? Wieso is hier beides on und in der phpinfo.php Ausgabe einmal off?

hier meine apache Angaben

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
g4server:/# apache2ctl -V 
Server version: Apache/2.2.9 (Debian)
Server built:   Jan 21 2009 00:23:52
Server's Module Magic Number: 20051115:15
Server loaded:  APR 1.2.12, APR-Util 1.2.12
Compiled using: APR 1.2.12, APR-Util 1.2.12
Architecture:   32-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)
Server compiled with....
 -D APACHE_MPM_DIR="server/mpm/prefork"
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_SYSVSEM_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=128
 -D HTTPD_ROOT=""
 -D SUEXEC_BIN="/usr/lib/apache2/suexec"
 -D DEFAULT_PIDLOG="/var/run/apache2.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_LOCKFILE="/var/run/apache2/accept.lock"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types"
 -D SERVER_CONFIG_FILE="/etc/apache2/apache2.conf"


Meine nächste Frage: Wenn hier kein Modul für php aufgeführt wird, wo finde ich das denn?

Besten Dank für alle Tips,

Torsten
one world - one tribe

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »leiferikson« (09.06.2009, 16:15)


2

09.06.2009, 16:15

close

hat sich erledigt, denn die php.ini für den cgi modus war die richtige datei!
vim /etc/php5/cgi/php.ini
dort geändert dann funzte et.

Gruß und Dank
one world - one tribe

Thema bewerten