Installing Zend framework with WAMP server

后端 未结 4 681
耶瑟儿~
耶瑟儿~ 2020-12-13 20:33

I\'m trying to install Zend framework on a WAMP server but it is not working properly.

I downloaded the Zend framework and created the folder in C:\\wamp\\lib

4条回答
  •  忘掉有多难
    2020-12-13 21:09

    On Windows your php.ini should have a section like this:

    ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Paths and Directories ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;
    
    ; UNIX: "/path1:/path2"  
    ; Windows: "\path1;\path2"
    

    The key is to a) remove the semi-colon at the beginning of the line, and b) add what you need to the path. NOTE: on Windows, paths must be separated by semi-colons, whereas on UNIX they are separated by full colons; Also, Dot means "current directory", so only include it if you want to.

    Make sure it looks like this:

    ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; Paths and Directories ;
    ;;;;;;;;;;;;;;;;;;;;;;;;;
    
    include_path = ".;c:\php\includes;c:\wamp\library"
    

提交回复
热议问题