(原)ZendStudio 安裝手記(ZendStudio 多PHP版本變化處理)____PHP
來源:互聯網
上載者:User
對於開發WEB項目來說,好的工具很重要。本人因為項目需要使用PHP進行開發。 在PHP開發中使用過較多的工具,但是認為ZendStudio開發比較順手。 在配置ZendStudio時遇到了一些問題,怕以後忘記進行記錄。 安裝步驟: (1)安裝apache (2)安裝PHP (3)安裝ZendStudio--client (4)安裝ZendStudio-Server 安裝ZendStudio-Server時應該在出現顯示指定“http-docroot”時將"ZendStudioServer"的控制頁情況安裝到該目錄中。 如果Apache指定別的目錄時,需要在httpd.conf中加入如: Alias /ZendStudioServer/ "C:/Program Files/Apache Group/Apache/htdocs/ZendStudioServer/" (5)安裝ZendStudio-SafeGuard(用來將PHP代碼轉化為2進位檔案,加快PHP啟動並執行工具) (6)調整所要監控的IP情況。(一般設定為本機IP,但不能設定為127.0.0.1這時DEBUG不能找到對應IP) 開啟IE:錄入ZendStudioServer的URL地址。 如: http://localhost/ZendStudioServer/ 使用剛才安裝時的使用者口令:進入管理頁中。 在 Allowed Hosts 中輸入原生IP地址。即可。 ------------------------------------------------------------------------------------------------------------------- 安裝完ZendServer後會在php.ini檔案底會添加如下資訊。 [Zend]
zend_extension_manager.optimizer_ts="C:/Program Files/Zend/ZendStudioServer-5.1.0/lib/Optimizer-2.6.1"
zend_extension_ts="C:/Program Files/Zend/ZendStudioServer-5.1.0/lib/ZendExtensionManager.dll"
zend_extension_manager.debug_server_ts="C:/Program Files/Zend/ZendStudioServer-5.1.0/lib/Debugger-5.1.0"
studio.install_dir="C:/Program Files/Zend/ZendStudioServer-5.1.0"
zend_debugger.expose_remotely=allowed_hosts
zend_gui.ini_modifier="C:/Program Files/Zend/ZendStudioServer-5.1.0/sbin/ini_modifier.exe"
zend_debugger.deny_hosts=
zend_gui_password=e10adc3949ba59abbe56e057f20f883e
zend_debugger.allow_hosts=127.0.0.1/32
zend_ini_file="C:/Program Files/Zend/ZendStudioServer-5.1.0/etc/zend.ini"
當PHP版本變化時只需將該處理資訊添加進新版本的php.ini檔案中即可。