GGshow reloaded GGshow reloaded

January 15, 2012

Zend Framework Command Line Tool with administrator rights


  • Problem using Zend Framework zf.bat in Windows.
  • Unable to create project using zf Command Line Tool.
    C:\Program Files\Zend\ZendServer\share\ZendFramework\bin>zf create project mypro
    Warning: mkdir(): Permission denied in C:\Program Files\Zend\ZendServer\share\Ze
    ndFramework\library\Zend\Tool\Project\Provider\Project.php on line 55
                              An Error Has Occurred
     Could not create requested project directory 'myproject'
    Zend Framework Command Line Console Tool v1.11.11
    Details for action "Create" and provider "Project"
        zf create project path name-of-profile file-of-profile


  • Administrator rights are required to create folders and files into specified location.


  • Run the command as administrator To start command prompt as administrator, right click on the its shortcut, and choose run as administrator. You can also select the command prompt shortcut and press Ctrl + Shift + Enter.
    C:\Program Files\Zend\ZendServer\share\ZendFramework\bin>zf create project mypro
    Creating project at C:/Program Files/Zend/ZendServer/share/ZendFramework/bin/myp
    Note: This command created a web project, for more information setting up your V
    HOST, please see docs/README
  • For Zend Framework CLI in Linux, use sudo to execute
    sudo create project myproject
Filed under: Linux,PHP,Windows,Zend Framework — Tags: , , , — GG @ 1:12 am

No Comments »

No comments yet.

RSS feed for comments on this post.

Leave a comment

© 2024 GGSHOW | Powered by WordPress