PHP Warning: Unknown(): Invalid library (maybe not a PHP library)

wahdee 2004-01-03 10:47:36
PHP Warning: Unknown(): Invalid library (maybe not a PHP library) 'msql.dll' in Unknown on line 0

請教一下。如何解決呀?
嗚~~~~
我的mysql.dll在c:\winnt\system下。

php.ini的配置
; Directory in which the loadable extensions (modules) reside.
extension_dir = "e:\php\php-4.3.3-Win32\extensions"
...全文
574 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
wahdee 2004-01-03
  • 打赏
  • 举报
回复
原本是顯示:
PHP Warning: Unknown(): Unable to load dynamic library 'e:\php\php-4.3.3-Win32\extensions\msql.dll' - 找不到指定的模块。 in Unknown on line 0

然後我copy "dlls"下的mysql.dll在extensions下就出現提問時的錯誤...
wahdee 2004-01-03
  • 打赏
  • 举报
回复
我改了MSSQL.dLL了。
但還是不能顯示。
Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.

For more information as to why this behaviour exists, see the manual page for CGI security.

For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit the manual page.

------------------------------php.ini-------------------
Windows Extensions
;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
;
extension=php_bz2.dll
;extension=php_cpdf.dll
;extension=php_crack.dll
;extension=php_curl.dll
extension=php_db.dll
extension=php_dba.dll
extension=php_dbase.dll
;extension=php_dbx.dll
;extension=php_domxml.dll
extension=php_exif.dll
;extension=php_fdf.dll
extension=php_filepro.dll
extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_hyperwave.dll
;extension=php_iconv.dll
;extension=php_ifx.dll
extension=php_iisfunc.dll
extension=php_imap.dll
extension=php_interbase.dll
extension=php_java.dll
extension=php_ldap.dll
extension=php_mbstring.dll
;extension=php_mcrypt.dll
;extension=php_mhash.dll
extension=php_mime_magic.dll
;extension=php_ming.dll
extension=php_mssql.dll
extension=php_msql.dll
;extension=php_oci8.dll
extension=php_openssl.dll
;extension=php_oracle.dll
;extension=php_pdf.dll
;extension=php_pgsql.dll
;extension=php_printer.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
;extension=php_sockets.dll
;extension=php_sybase_ct.dll
extension=php_w32api.dll
;extension=php_xmlrpc.dll
;extension=php_xslt.dll
extension=php_yaz.dll
extension=php_zip.dll
mikespook 2004-01-03
  • 打赏
  • 举报
回复
你打开的是msql模块~~
而你有的是mssql的库~~~~

仔细看看!!!

21,886

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧