本文介绍了扩展文件未加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我正在尝试用php运行Apache2.2.6。但是,我一直在日志文件中得到一个长的 错误消息列表,表明包括 失败。例如, " PHP警告:PHP启动:无法加载动态库''。/ etc / php_sybase_ct.dll'' - 指定无法找到模块。\\\\ n 第0行未知  我更改了extension_dir php.ini文件中的每一行代码 我能想到的,包括原文: extension_dir =" C:/ PHP / ext" 和 extension_dir =。/ ext / 我尝试过使用和不使用引号,向前斜线,反斜杠, 等。直接路径和间接路径都失败。 如何让php找到这些文件? 谢谢 解决方案 2007年12月3日星期一19:46:25 +0100,pdhb_1< mb ** **@phys.ksu.eduwrote: 我正在尝试用php运行Apache2.2.6。但是,我一直在日志文件中得到一个长的 错误消息列表,表明包括 失败。例如, " PHP警告:PHP启动:无法加载动态库''。/ etc / php_sybase_ct.dll'' - 指定无法找到模块。\\\\ n 第0行未知  我更改了extension_dir php.ini文件中的每一行代码 我能想到的,包括原文: extension_dir =" C:/ PHP / ext" 和 extension_dir =。/ ext / 我尝试过使用和不使用引号,向前斜线,反斜杠, 等直接路径和间接路径都失败。 如何让php找到这些文件? 嗯,首先,你确定这些扩展是否存在?你是 编辑正确的php.ini(检查phpinfo()的输出:它说它使用了什么文件 ,如果你实际改变了你的extension_dir更改 它(然后你重新启动Apache事件,php.ini只能在 启动时阅读....) - Rik Wasmus 12月3日上午10:51,Rik Wasmus< luiheidsgoe ... @ hotmail.comwrote: 2007年12月3日星期一19:46:25 +0100,pdhb_1< mbr ... @ phys.ksu.eduwrote: 我正在尝试用php运行Apache2.2.6。但是,我一直在日志文件中得到一个长的 错误消息列表,表明包括 失败。例如, " PHP警告:PHP启动:无法加载动态库''。/ ext / php_sybase_ct.dll'' - 指定的模块无法找到。\\\\ n 第0行未知 我更改了extension_dir php.ini文件中的每一行都有 我能想到的,包括原文: extension_dir =" C:/ PHP / EXT" 和 extension_dir =。/ ext / 我尝试过使用和不使用引号,前向斜杠,反斜杠, 等。直接路径和间接路径都失败了。 我如何让php找到这些文件? 嗯,首先,你确定这些扩展是否存在?你是 编辑正确的php.ini(检查phpinfo()的输出:它说它使用了什么文件 ,如果你实际改变了你的extension_dir更改 它(然后你重新启动Apache事件,php.ini只能在 启动时阅读....) - Rik Wasmus-隐藏引用文字 - - 显示引用文字 - 是的,扩展名在那里,被搜索的路径确实取决于我如何设置extension_dir 。 日志文件将忠实再现我在行中指示的路径 报告错误。例如, extension_dir =" C:\PHP \ ext" 结果形式的行: " PHP警告:PHP启动:无法加载动态库''C:\\PHP \ \\ \\\\\ [php_sybase_ct.dll'' - 无法找到指定的模块。\ r \ n in第0行的未知" pdhb_1写道: 12月3日上午10点51分, Rik Wasmus < luiheidsgoe ... @ hotmail.comwrote: > On Mon,03 Dec 2007 19:46:25 +0100,pdhb_1< mbr ... @ phys.ksu.eduwrote: >>我正在尝试用php运行Apache2.2.6。但是,我不断在日志文件中获得一长串错误消息,表明包含的内容正在失败。例如,PHP警告:PHP启动:无法加载动态库./ext/ php_sybase_ct.dll'' - 找不到指定的模块。\\\\ n在第0行的未知中我已经更改了extension_dir php.ini文件中的每一行我都能想到,包括原文: extension_dir =" C:/ PHP / ext" 和 extension_dir =。/分机/ 我试过有没有引号,前锋斜线,反斜线,等。直接路径和间接路径都失败了。如何让php找到这些文件? 嗯,首先,你确定这些扩展是否存在?你是否正在编辑正确的php.ini(检查phpinfo()的输出:它说它使用了什么文件,如果你改变了它,你的extension_dir实际上会改变它(和你事后重新启动Apache,php.ini只能在启动时阅读....) - Rik Wasmus-隐藏引用的文字 - - 显示引用的文字 - 是的,扩展程序在那里,正在搜索的路径确实依赖于 我如何设置extension_dir 。 日志文件将忠实地再现我在行中报告的路径 报告错误。例如, extension_dir =" C :\ PHP \\\ text" 会产生以下形式的行: " PHP警告:PHP启动:无法加载动态库''C:\\PHP \ \ext \\ php_sybase_ct.dll'' - 无法找到指定的模块。\ r \ n在第0行的未知中" 如果找不到PHP SyBase DLL 所需的DLL之一,也会发生这种情况。你是否安装了SyBase库并且可用于 加载(即在你的PATH环境中)? - = ================= 删除x来自我的电子邮件地址 Jerry Stuckle JDS计算机培训公司 js ******* @ attglobal.net ================== I''m trying to run Apache2.2.6 with php. However, I keep getting a longlist of error messages in the log file indicating that includes arefailing. For example,"PHP Warning: PHP Startup: Unable to load dynamic library ''./ext/php_sybase_ct.dll'' - The specified module could not be found.\r\n inUnknown on line 0"I have changed the "extension_dir" line in the php.ini file every wayI can think of, including the original:extension_dir="C:/PHP/ext"andextension_dir=./ext/I have tried with and without quotes, foreward slashes, back slashes,etc. Both direct paths and indirect paths fail.How do I get php to find these files?Thanks 解决方案 On Mon, 03 Dec 2007 19:46:25 +0100, pdhb_1 <mb****@phys.ksu.eduwrote:I''m trying to run Apache2.2.6 with php. However, I keep getting a longlist of error messages in the log file indicating that includes arefailing. For example,"PHP Warning: PHP Startup: Unable to load dynamic library ''./ext/php_sybase_ct.dll'' - The specified module could not be found.\r\n inUnknown on line 0"I have changed the "extension_dir" line in the php.ini file every wayI can think of, including the original:extension_dir="C:/PHP/ext"andextension_dir=./ext/I have tried with and without quotes, foreward slashes, back slashes,etc. Both direct paths and indirect paths fail.How do I get php to find these files?Well, first of all, are you sure these extensions are there? And are youediting the right php.ini (check the output of phpinfo(): what file doesit say it uses, and does your extension_dir actually alter if you changeit (and you restart Apache afterwards offcourse, php.ini is only read onstartup....)--Rik WasmusOn Dec 3, 10:51 am, "Rik Wasmus" <[email protected]:On Mon, 03 Dec 2007 19:46:25 +0100, pdhb_1 <[email protected]: I''m trying to run Apache2.2.6 with php. However, I keep getting a long list of error messages in the log file indicating that includes are failing. For example, "PHP Warning: PHP Startup: Unable to load dynamic library ''./ext/ php_sybase_ct.dll'' - The specified module could not be found.\r\n in Unknown on line 0" I have changed the "extension_dir" line in the php.ini file every way I can think of, including the original: extension_dir="C:/PHP/ext" and extension_dir=./ext/ I have tried with and without quotes, foreward slashes, back slashes, etc. Both direct paths and indirect paths fail. How do I get php to find these files?Well, first of all, are you sure these extensions are there? And are youediting the right php.ini (check the output of phpinfo(): what file doesit say it uses, and does your extension_dir actually alter if you changeit (and you restart Apache afterwards offcourse, php.ini is only read onstartup....)--Rik Wasmus- Hide quoted text -- Show quoted text -Yes, the extensions are there, and the path being searched does dependon how I set extension_dir.The log file will faithfully reproduce the path I indicate in the linereporting the error. For example,extension_dir="C:\PHP\ext"results in lines of the form:"PHP Warning: PHP Startup: Unable to load dynamic library ''C:\\PHP\\ext\\php_sybase_ct.dll'' - The specified module could not be found.\r\n in Unknown on line 0"pdhb_1 wrote:On Dec 3, 10:51 am, "Rik Wasmus" <[email protected]:>On Mon, 03 Dec 2007 19:46:25 +0100, pdhb_1 <[email protected]:>>I''m trying to run Apache2.2.6 with php. However, I keep getting a longlist of error messages in the log file indicating that includes arefailing. For example,"PHP Warning: PHP Startup: Unable to load dynamic library ''./ext/php_sybase_ct.dll'' - The specified module could not be found.\r\n inUnknown on line 0"I have changed the "extension_dir" line in the php.ini file every wayI can think of, including the original:extension_dir="C:/PHP/ext"andextension_dir=./ext/I have tried with and without quotes, foreward slashes, back slashes,etc. Both direct paths and indirect paths fail.How do I get php to find these files?Well, first of all, are you sure these extensions are there? And are youediting the right php.ini (check the output of phpinfo(): what file doesit say it uses, and does your extension_dir actually alter if you changeit (and you restart Apache afterwards offcourse, php.ini is only read onstartup....)--Rik Wasmus- Hide quoted text -- Show quoted text -Yes, the extensions are there, and the path being searched does dependon how I set extension_dir.The log file will faithfully reproduce the path I indicate in the linereporting the error. For example,extension_dir="C:\PHP\ext"results in lines of the form:"PHP Warning: PHP Startup: Unable to load dynamic library ''C:\\PHP\\ext\\php_sybase_ct.dll'' - The specified module could not be found.\r\n in Unknown on line 0"This can also occur if one of the DLL''s required by the PHP SyBase DLLcan''t be found. Do you have the SyBase libs installed and available forloading (i.e. in your PATH environment)?--==================Remove the "x" from my email addressJerry StuckleJDS Computer Training Corp. js*******@attglobal.net================== 这篇关于扩展文件未加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
09-02 14:44