extension_dir = ./
這個地方為什么要改呢?不需要吧
這個地方為什么要改呢?不需要吧
解决方案 »
- 关于线程安全与非线程安全的【疑惑】
- POST提交问题
- 有符合上述标准的cms模版系统吗?
- delphi for php,谁用过?要钱买吗
- 请问这样的json数据,php该如何写
- 这样的表单怎么处理啊
- array_merge两个相同的数组意义何在?
- 通过html传递过来的参数,php查询 access
- php做条形图 JpGraph
- Nginx安装与配置(包括解决403错误,站点配置,_STORAGE_WRITE_ERROR_,No input file)
- 大难题----------------------怎样配置 win2000+php+apache ,怎样让他们可以显示.gif 谢谢大家。我一定给分。
- PHP 4.0.6 安装版!!!! 在哪下载,谢谢。一定是安装版,不是解压版。
不需要指明路径吗?? extension_dir = e:\php\extensions
去掉前面的;这个符号了。
而且;extension=php_gd.dll 去掉;也不行。
改成这样呢extension_dir = "e:\php\extensions ".
还有 ;extension=php_gd.dll 这行你不要改呀。你要的是gif支持的吧。
都没有作用,再帮帮忙吧,我想是不是我应该装一个PHP的安装版。
我在描述一下问题:这是什么问题,刚装好Apache1.3.19 和 php4.0.6是这样配置php的,将 php.ini-dist 改名成 php.ini ,以下是改动的内容:;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
;include_path = ".;c:\php\includes"; The root of the PHP pages, used only if nonempty.
doc_root =; The directory under which PHP opens the script using /~usernamem used only
; if nonempty.
user_dir =; Directory in which the loadable extensions (modules) reside.
extension_dir = e:\php\extensions ;改动后的; Whether or not to enable the dl() function. The dl() function does NOT work
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
; disabled on them.
enable_dl = On
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automaticly, use the following
; syntax:
;
; extension=modulename.extension
;
; For example, on Windows:
;
; extension=msql.dll
;
; ... or under UNIX:
;
; extension=msql.so
;
; Note that it should be the name of the module only; no directory information
; needs to go here. Specify the location of the extension with the
; extension_dir directive above.
;Windows Extensions
;Note that MySQL and ODBC support is now built in, so no dll is needed for it.extension=php_gd_gif.dll ;改动后的
;extension=php_bz2.dll
;extension=php_ctype.dll
;extension=php_cpdf.dll
;extension=php_curl.dll
;extension=php_cybercash.dll
;extension=php_db.dll
;extension=php_dba.dll
;extension=php_dbase.dll
;extension=php_dbx.dll
;extension=php_domxml.dll
;extension=php_dotnet.dll
;extension=php_exif.dll
;extension=php_fdf.dll
;extension=php_filepro.dll
;extension=php_gd.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_ingres.dll
;extension=php_interbase.dll
;extension=php_java.dll
;extension=php_ldap.dll
;extension=php_mcrypt.dll
;extension=php_mhash.dll
;extension=php_ming.dll
;extension=php_mssql.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_sablot.dll
;extension=php_snmp.dll
;extension=php_sybase_ct.dll
;extension=php_yaz.dll
;extension=php_zlib.dll保存,退出。复制php.ini到c:\winnt
复制php4ts.dll到c:\winnt\system32
运行Apache,成功。浏览器输入 127.0.0.1/liyan.php 出现两个对话框:php.exe-Entry Point Not FoundThe procedure entry point add_assoc_long could not be located in the dynamic link library php4ts.dll
Warning Unable to load dynamic library 'e:\php\extensions/php_gd_gif.dll'-The specified procedure could not be found.同时页面左上角出现:
X-Powered-By: PHP/4.0.6 Content-type: text/html可是我的php_gd_gif.dll(404KB)确实在那个目录里呀。尔后,gif图片无法显示。这是什么问题,如何解决?谢谢。