64位Windows Server 2208 R2上放了php5.4.0-nts-Win32-VC9-x86包
直接运行php下面的php.exe出现应用程序无法启动,因为应用程序的并行配置不正确。有关详细信息,请参阅应用程序事件日志,或使用命令行sxstrace.ext工具。
是不是64位的Windows Server 2208就跑不了php?,php 也没有64位的吧?
回复讨论(解决方案)
2208都来了
晕死,写错了是server 2008 R2 64 bit
php 有64位,第三方编译的,非官方,我正在用
你用命令行run一次php,它会告诉你ini有什么不符合规范的,逐条修正
日志是怎么写的?贴出来。
php 有64位,第三方编译的,非官方,我正在用
你用命令行run一次php,它会告诉你ini有什么不符合规范的,逐条修正
是看到了有64位的php,不过直接双击php.exe还是会出现这个错误。
是不是在server 2008上 apache +php不好弄,我看到网上都是讲的server 2008+ IIS+ php
没用过windows server,win7下我会
64位Windows Server 2208 R2上放了php5.4.0-nts-Win32-VC9-x86包
直接运行php下面的php.exe出现应用程序无法启动,因为应用程序的并行配置不正确。有关详细信息,请参阅应用程序事件日志,或使用命令行sxstrace.ext工具。
是不是64位的Windows Server 2208就跑不了php?,php 也没有64位……
php5.4.0-nts-Win32-VC9-x86
这个是必然的。你要下载的应该是 Win64而不是 Win32!
引用 楼主 fabbychips 的回复:64位Windows Server 2208 R2上放了php5.4.0-nts-Win32-VC9-x86包
直接运行php下面的php.exe出现应用程序无法启动,因为应用程序的并行配置不正确。有关详细信息,请参阅应用程序事件日志,或使用命令行sxstrace.ext工具。
是不是64位的Windows Server 22……
我下载了64位的php,还是显示 ·应用程序无法启动·
已经解决
用的还是官网下的5.3.x VC 9 ,Non Thread Safe msi install类型的.用zip自己配置不来
用的FastCGI模式,听说现在用FastCGI是趋势。在5.3.x 版本,ISAPI dll已经去除了。要用这个还得自己编译。
用install 类型就不需要自己再装VC ++ 2008了。
主要参考地址
http://www.iishacks.com/2011/02/14/how-to-install-php-5-3-fastcgi-on-windows-2008-iis-7/
辅助参考地址http://blog.feizhaojun.com/?p=101
当然了你在cmd中php -v下还是有错误的,只要在IIS下能运行就行了。
我也遇到这个问题了,后来找到原因是因为没有安装 VC++ 2008的库,这里把解决方案帖一下,方便搜索到这个问题的人:
安装下面的文件就可以了:
http://download.microsoft.com/download/7/5/0/7502f4e9-1f90-4895-9259-1bde67b8b9a1/vcredist_x86.exe

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

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.

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

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

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

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.

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

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


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

Zend Studio 13.0.1
Powerful PHP integrated development environment

SublimeText3 Linux new version
SublimeText3 Linux latest version

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

DVWA
Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software
