Seite 1 von 1

PHP konfigurieren

Verfasst: 29.09.2003 17:09
von Gast
Ich teste im Moment Conpresso auf meinem Localem rechner und bei der Installation sagt er mir
'magic_quotes_gpc' muss in der PHP-Konfiguration aktiviert sein.
Wie kann ich das aktivieren?

Verfasst: 29.09.2003 18:00
von itst
php.ini:

Code: Alles auswählen

magic_quotes_gpc = yes
Oder http://de3.php.net/ini_set

Verfasst: 29.09.2003 19:01
von Pyramide
itst hat geschrieben:Oder http://de3.php.net/ini_set
nope...
User comments ini_set hat geschrieben:[[[Editors note: Yes, this is very true. Same with register_globals, magic_quotes_gpc and others. ]]]

Many settings, although they do get set, have no influence in your script.... like upload_max_filesize will get set but uploaded files are already passed to your PHP script before the settings are changed.

Also other settings, set by ini_set(), may be to late because of this (post_max_size etc.). beware, try settings thru php.ini or .htaccess.

Verfasst: 29.09.2003 21:24
von itst
Typischer Fall von YMMV: habe das lokal getestet und es funktionierte... Vielleicht eine Frage der PHP-Version?