set_include_path wird ignoriert

Irgendwelche Probleme mit XAMPP für Windows? Dann ist hier genau der richtige Ort um nachzufragen.

set_include_path wird ignoriert

Postby mbstef » 04. June 2008 16:15

Hi,

in den php.ini's
Code: Select all
d:\xampp\php\php.ini
d:\xampp\apache\bin\php.ini

habe ich nun den include_path auf
Code: Select all
include_path = ".;D:/xampp/php/pear;D:/workspace/ZendFramework/library"

gesetzt.

In der http-vhost.conf im entsprechendem Projekt-vHost:
Code: Select all
php_admin_value include_path .;d:/workspace/ZendFramework/library;d:/workspace/project


Wenn ich nun in meiner bootstrap.php den include_path erweitern will, wird dieser stumpf ignoriert:
Code: Select all
define("APP_PATH",dirname(__FILE__));
set_include_path(get_include_path() . PATH_SEPARATOR . DIRECTORY_SEPARATOR . "moduls");


Die Ausgabe des include_path danach zeigt dass der gar net aufgenommen wurde:
Code: Select all
include_path: .;d:/workspace/ZendFramework/library;d:/workspace/project


Das beobachte ich nun schon in fast allen Projekten sofern ich die mit xampp auf dem Notebook bearbeiten will. Da set_include_path nicht beachtet wird und ich keine Lust / Zeit habe mich damit auseinander zu setzen hatte ich bisher immer einfach alles auf dem Unix Lokalserver geschmissen und eben dort entwickelt. Nun hatte ich mir die aktuellste xampp Lite installiert und dieses Scheiß Problem ist immer noch da. Das ist doch kein Zustand sowas! Was ist das denn?
mbstef
 
Posts: 2
Joined: 02. June 2008 16:23

Postby mbstef » 06. June 2008 13:56

Für nachfolgende die das gleiche Problem haben sollten, dies ist ein Bug in der Version 5.2.5 siehe http://bugs.php.net/bug.php?id=43677

Also auf die neuste 5.2.6 updaten und das Problem besteht net mehr.
mbstef
 
Posts: 2
Joined: 02. June 2008 16:23


Return to XAMPP für Windows

Who is online

Users browsing this forum: No registered users and 22 guests