where "D:/study/zendworkspace/helloworld" is the path to my new HelloWorld projectĭouble-click the Xampp-control.exe in the XAMPP installation directory, point to the "Start" button after Apache, and wait for Apache to become a light green background to indicate that the boot is complete. The second method is relatively simple, with Notepad open C:\xampp\apache\conf\nf, press ctrl h, "D:/xampp/htdocs" replaced "d:/study/zendworkspace/ Helloworld/public ", note the slash direction. If not zendframework, the first method I good grasp, but after using zendframework but always fail, so here I used a second method. Set the project's operating environment, there are two ways: one is to let Zendstudio automatically publish the site to the Apache server Htdocs directory, the other is to change the Apache DocumentRoot to the project directory. Wait for the command to complete before moving on to the next step.ĥ. First make sure the computer does not use the agent to network, and then open the cmd command line, the CD into the project path, enter the following two lines of command #ZEND FRAMEWORK 2 INSTALLATION ON XAMPP FOR WINDOWS UPDATE#Update the project-dependent zendframework in the new directory.īecause Zendframework 2 uses composer to manage dependencies, the official documentation does not have a way to copy directly to the library in ZF1. In the following column, locate path, double-click the line edit, and add "C:\xampp\php " at the beginning. Win7 Modify the environment variable method: "Computer" point right, select Properties, point "advanced System Settings", click "Advanced" tab, click "Environment variables. Add the PHP path in the XAMPP to the environment variable, for example XAMPP installed in C:\xampp, add C:\xampp\php to the environment variable path, and note the semicolon as a delimiter between the other paths. (Point next also has some settings, do HelloWorld simple point to use the default is OK.) )ģ. , select the "Zend Framework" and choose the version as needed, then click "Finish". " opens the New Project dialog box and selects "PHP", "Local PHP project" Open Zendstudio to create a new PHP project
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |