search
HomeBackend DevelopmentPHP Tutorial PHP环境筹建 dedeampz+Zend Studio 9.0.4+firefox+zend studio toolbar 2.6 +zenddebugger+Optimizer-3.3.0

PHP环境搭建 dedeampz+Zend Studio 9.0.4+firefox+zend studio toolbar 2.6 +zenddebugger+Optimizer-3.3.0

PHP环境搭建 dedeampz+Zend Studio 9.0.4+firefox+zend studio toolbar 2.6 +zenddebugger+Optimizer-3.3.0

 

1.下载DedeAMPZ

http://www.dedecms.com/html/chanpinxiazai/20080905/39481.html

下载完成直接安装。

注意这里安装完成的php.ini种已经包含了Optimizer,所以如果想使用zenddebugger的同学们不能直接修改zend_extension_ts,后面再说。

[Zend]
zend_extension_manager.optimizer_ts="~apppath~\Program\lib\Optimizer-3.3.0"
zend_extension_ts="~apppath~\Program\lib\ZendExtensionManager.dll"

 

2.下载Zend Studio 9.0.4 http://www.zendstudio.net/zend-studio-all-in-one-download/

已经有开发IDE的同学不用安装了,直接跳过第2步。

破解补丁:http://www.geekso.com/ZendStudio9-key

注册码:34E606CF10C3E4CF202ABCEAA9B0B7A64DD2C5862A514B944AAAB38E3EB8A5F2CD735A2AB4CF9B952590EFA62BA0AB2B3E5D99C33C55309EE143165AC7F1817D626574615F3B32312F31312F323031313B392E303B3030313B313B3330

 

3.下载火狐4.0及php调试插件 http://download.csdn.net/detail/gnahshining/4920497

下载完火狐及插件后,不要升级,关闭火狐的自动更新 工具→选项→更新 勾全部去掉,因为高版本的火狐不支持zend studio toolbar 2.6(火狐调试插件)

好了,到这里工具就下载安装完成了。但是目前的环境不能支持zenddebugger的,需要修改php.ini

[Zend]
zend_extension_manager.optimizer_ts="D:/DedeAMPZ\Program\lib\Optimizer-3.3.0"
zend_extension_ts="D:/DedeAMPZ\Program\lib\ZendExtensionManager.dll"
zend_extension_manager.debug_server_ts="D:\Program Files\Zend\ZendDebugger"
zend_debugger.allow_hosts=127.0.0.1,192.168.0.0/24
zend_debugger.expose_remotely=always

4.将本地工程加入apache 在httpd.conf文件中加入


  ServerName flower029
  DocumentRoot "D:\workspace_php\flower029"
 
 
    Options Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all 
 


 

修改本地hosts文件


127.0.0.3 flower029

在地址栏中输入 http://flower029 即可访问工程

第3步中的附件已经包含了Optimizer和ZendDebugger,使用以上的路径就行,具体原因不多说了。

 

在开始调试前,先打开Zend Studio 9.0.4,这样火狐的插件才能找到。

 

点击 all pages on this site,这时候你在web上的操作都会通过Zend Studio 9.0.4断点下来

 

 

Statement
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
PHP Performance Tuning for High Traffic WebsitesPHP Performance Tuning for High Traffic WebsitesMay 14, 2025 am 12:13 AM

ThesecrettokeepingaPHP-poweredwebsiterunningsmoothlyunderheavyloadinvolvesseveralkeystrategies:1)ImplementopcodecachingwithOPcachetoreducescriptexecutiontime,2)UsedatabasequerycachingwithRedistolessendatabaseload,3)LeverageCDNslikeCloudflareforservin

Dependency Injection in PHP: Code Examples for BeginnersDependency Injection in PHP: Code Examples for BeginnersMay 14, 2025 am 12:08 AM

You should care about DependencyInjection(DI) because it makes your code clearer and easier to maintain. 1) DI makes it more modular by decoupling classes, 2) improves the convenience of testing and code flexibility, 3) Use DI containers to manage complex dependencies, but pay attention to performance impact and circular dependencies, 4) The best practice is to rely on abstract interfaces to achieve loose coupling.

PHP Performance: is it possible to optimize the application?PHP Performance: is it possible to optimize the application?May 14, 2025 am 12:04 AM

Yes,optimizingaPHPapplicationispossibleandessential.1)ImplementcachingusingAPCutoreducedatabaseload.2)Optimizedatabaseswithindexing,efficientqueries,andconnectionpooling.3)Enhancecodewithbuilt-infunctions,avoidingglobalvariables,andusingopcodecaching

PHP Performance Optimization: The Ultimate GuidePHP Performance Optimization: The Ultimate GuideMay 14, 2025 am 12:02 AM

ThekeystrategiestosignificantlyboostPHPapplicationperformanceare:1)UseopcodecachinglikeOPcachetoreduceexecutiontime,2)Optimizedatabaseinteractionswithpreparedstatementsandproperindexing,3)ConfigurewebserverslikeNginxwithPHP-FPMforbetterperformance,4)

PHP Dependency Injection Container: A Quick StartPHP Dependency Injection Container: A Quick StartMay 13, 2025 am 12:11 AM

APHPDependencyInjectionContainerisatoolthatmanagesclassdependencies,enhancingcodemodularity,testability,andmaintainability.Itactsasacentralhubforcreatingandinjectingdependencies,thusreducingtightcouplingandeasingunittesting.

Dependency Injection vs. Service Locator in PHPDependency Injection vs. Service Locator in PHPMay 13, 2025 am 12:10 AM

Select DependencyInjection (DI) for large applications, ServiceLocator is suitable for small projects or prototypes. 1) DI improves the testability and modularity of the code through constructor injection. 2) ServiceLocator obtains services through center registration, which is convenient but may lead to an increase in code coupling.

PHP performance optimization strategies.PHP performance optimization strategies.May 13, 2025 am 12:06 AM

PHPapplicationscanbeoptimizedforspeedandefficiencyby:1)enablingopcacheinphp.ini,2)usingpreparedstatementswithPDOfordatabasequeries,3)replacingloopswitharray_filterandarray_mapfordataprocessing,4)configuringNginxasareverseproxy,5)implementingcachingwi

PHP Email Validation: Ensuring Emails Are Sent CorrectlyPHP Email Validation: Ensuring Emails Are Sent CorrectlyMay 13, 2025 am 12:06 AM

PHPemailvalidationinvolvesthreesteps:1)Formatvalidationusingregularexpressionstochecktheemailformat;2)DNSvalidationtoensurethedomainhasavalidMXrecord;3)SMTPvalidation,themostthoroughmethod,whichchecksifthemailboxexistsbyconnectingtotheSMTPserver.Impl

See all articles

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools