Re: Problems with require.

From: Date: Mon, 20 Dec 2004 22:43:51 +0000
Subject: Re: Problems with require.
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-25189@lists.php.net to get a copy of this message
Please do not email me personally; keep your questions on the list. There are a lot of good reasons for this... most importantly being that I am not your paid tech support person ;) S wrote: Im actually not defining the pear include in my PHP.ini file. Im defining it in the application itself. the line where i set the include path is as follows: $PEAR_DIR = $_SERVER['DOCUMENT_ROOT'] . '/PEAR'; $PHPLIB_DIR = $_SERVER['DOCUMENT_ROOT'] . '/phplib'; $APP_FRAMEWORK_DIR = $_SERVER['DOCUMENT_ROOT'] . '/testing/ch4/class'; $PATH = $PEAR_DIR . ':' . $PHPLIB_DIR . ':' . $APP_FRAMEWORK_DIR; I have tried hard coding the locations rather than using the $_server call (putting C:\wamp\www\pear) but that did not help. Any more ideas whats wrong? Again I say: your seperator is wrong. Use a semicolon instead of a colon i.e. $PATH = $PEAR_DIR . ';' . $PHPLIB_DIR . ';' . $APP_FRAMEWORK_DIR;

« previous php.windows (#25189) next »