Ich kann leider keinen Code verwenden der ini_set benötigt (z.B. ini_set('include_path', $my_path)).
Nach langem suchen hab ich ímmer noch nicht gefunden. Das Problem ist das PHP sagt dass include_path nur mit PHP_INI_SYSTEM verfügbar ist, nur in allen Docs steht das es PHP_INI_ALL sein sollte...
http://www.start42.de/banner/test.php
Bitte helft mir :roll:
PHP: ini_set() geht nicht wegen PHP_INI_SYSTEM
Re: PHP: ini_set() geht nicht wegen PHP_INI_SYSTEM
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: PHP: ini_set() geht nicht wegen PHP_INI_SYSTEM
Ne, das ist ein anderer Bug. Dort kann man ja die Variablen neu setzen. bei mir kann ich aber include_path eben nicht setzen, nur via httpd.conf oder php.ini. Das liegt daran das der Werte für include_path auf PHP_INI_SYSTEM (4) steht anstatt PHP_INI_ALL (7).
Re: PHP: ini_set() geht nicht wegen PHP_INI_SYSTEM
Konnte.TDS wrote:Ne, das ist ein anderer Bug. Dort kann man ja die Variablen neu setzen.
So soll es seit dem Bugfix auch sein.TDS wrote:bei mir kann ich aber include_path eben nicht setzen, nur via httpd.conf oder php.ini.
Die Dokumentation hinkt den Bugfixes manchmal hinterher.TDS wrote:Das liegt daran das der Werte für include_path auf PHP_INI_SYSTEM (4) steht anstatt PHP_INI_ALL (7).
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: PHP: ini_set() geht nicht wegen PHP_INI_SYSTEM
Eben nicht. Laut Dokumentation und Tests auf meinem lokalen System kann und darf man include_path global und lokal setzen.Joe User wrote:So soll es seit dem Bugfix auch sein.TDS wrote:bei mir kann ich aber include_path eben nicht setzen, nur via httpd.conf oder php.ini.
Re: PHP: ini_set() geht nicht wegen PHP_INI_SYSTEM
Dein include_path wird in obiger test.php zweimal gesetzt, einmal global (php.ini) und einmal local (httpd.conf). Somit ist gemäss Bugfix ini_set verboten, egal was die in diesem Punkt veraltete Dokumentation dazu sagt.
PayPal.Me/JoeUser ● FreeBSD Remote Installation
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Wings for Life ● Wings for Life World Run
„If there’s more than one possible outcome of a job or task, and one
of those outcomes will result in disaster or an undesirable consequence,
then somebody will do it that way.“ -- Edward Aloysius Murphy Jr.
Re: PHP: ini_set() geht nicht wegen PHP_INI_SYSTEM
Ähm, das war nachdem ich die PHP-Version up2date gebracht habe, was ich eigentlich nicht wollte. Ein System up2date zu bringen birgt ein paar Gefahren. Nachdem alles gut verlaufen ist, geht's jetzt auch wieder. Das Level steht jetzt auf 7, davor stand es auf 4 und war nicht in irgendeiner mir bekannten Weise veränderbar.Joe User wrote:Dein include_path wird in obiger test.php zweimal gesetzt, einmal global (php.ini) und einmal local (httpd.conf). Somit ist gemäss Bugfix ini_set verboten, egal was die in diesem Punkt veraltete Dokumentation dazu sagt.
