Forum Moderators: coopster

Message Too Old, No Replies

How do I use include_path correctly?

I'm trying to point it to the PEAR directory.

         

ExCIA

3:45 pm on Feb 24, 2005 (gmt 0)

10+ Year Member



Hello all,

I have Apache v2, MySQL and PHP 4.3.7 running just fine on Windows 2003 Server.

How do I set the include_path in php.ini correctly since I've added PEAR packages?

The PEAR packages is in C:\program files\yellowtip\htdocs\PEAR\

ExCIA

3:49 pm on Feb 24, 2005 (gmt 0)

10+ Year Member



Forgot to add this...

;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;

; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"

coopster

1:47 pm on Feb 25, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, ExCIA.

There is a tip in the PHP Forum Library [webmasterworld.com] thread Good PHP solutions to small problems [webmasterworld.com], message # 17.