简体   繁体   English

尝试在Apache上运行PHP代码时发生错误

[英]Error occurring when trying to run PHP codes on Apache

Why do I get this error msg when trying to run a PHP code on Apache 2.2? 尝试在Apache 2.2上运行PHP代码时,为什么会收到此错误消息? I have tried reinstalling Apache too. 我也尝试过重新安装Apache。 But I keep getting this error. 但是我一直收到这个错误。

It says "The program can't start because OcI.DII is missing from your computer.Try reinstalling the program to fix this problem" 它说:“由于计算机缺少OcI.DII,因此无法启动该程序。请尝试重新安装该程序以解决此问题”

Try this , 尝试这个 ,

Using a text editor, Comment out all the oci8 module, in your php.ini file. 使用文本编辑器,在php.ini文件中注释掉所有oci8模块。 Use a semicolon ; 使用分号; to comment. 评论。 For example 例如

;oci8.priviledged_connect = off

;oci8. max_persistent = -1

and so on 等等

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM