Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Alter php.ini include path, Zend Framework

I've looked at every question that has been asked on this so far, and none have helped. Partially, this is because in all these years, I've avoided learning the in depth how-to's of php.ini manipulation. (other than errors and other basic changes).

I'm running Windows 7, and I installed Zend Framework to c:\wamp. thus far, I've opened my php.ini file, and changed it to the following:

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

; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes;C:\wamp\ZendFramework-1.11.11\library"

When I try to run zf in the command line, I get an error, "In order to run the zf command, you need to ensure that Zend Framework is inside your include path".

I have also added a user variable to my environment variables

ZEND_TOOL_INCLUDE_PATH  set to C:\wamp\ZendFramework-1.11.11\library

At this point, I'm basically stuck. Any help would be greatly appreciated. Am I including the path wrong in the php.ini file?

like image 997
Brian Vanderbusch Avatar asked Dec 21 '25 11:12

Brian Vanderbusch


1 Answers

You need to uncomment the include line. (Remove semi-colon at the start of the line)

include_path = ".;c:\php\includes;C:\wamp\ZendFramework-1.11.11\library"

instead of

;include_path = ".;c:\php\includes;C:\wamp\ZendFramework-1.11.11\library"

like image 93
Gohn67 Avatar answered Dec 23 '25 23:12

Gohn67



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!