Home > Backend Development > PHP Tutorial > I was simplifying the PHP library just now, and found a lot of things_PHP Tutorial

I was simplifying the PHP library just now, and found a lot of things_PHP Tutorial

WBOY
Release: 2016-07-21 15:58:44
Original
837 people have browsed it

php的ming库用来生成flash!虽然模块是试验性质的, 不过比较有趣。
一张大大的表, 很有趣, 给人一种在8g的感觉。

  • sapi/php4activescript.dll (php5activescript.dll) - ActiveScript engine, allowing you to embed PHP in your Windows applications.

  • sapi/php4apache.dll (php5apache.dll) - Apache 1.3.x module.

  • sapi/php4apache2.dll (php5apache2.dll) - Apache 2.0.x module.

  • sapi/php4isapi.dll (php5isapi.dll) - ISAPI Module for ISAPI compliant web servers like IIS 4.0/PWS 4.0 or newer.

  • sapi/php4nsapi.dll (php5nsapi.dll) - Sun/iPlanet/Netscape server module.

  • sapi/php4pi3web.dll (no equivalent in PHP 5) - Pi3Web server module.


表格 6-1. PHP 扩展库

Extension Library Description Annotation
php_bz2.dll bzip2 compression function library None
php_calendar.dll Calendar conversion function library Built-in since PHP 4.0.3
php_cpdf.dll ClibPDF function library None
php_crack.dll Password cracking function library None
php_ctype.dll ctype family function library Built-in since PHP 4.3.0
php_curl.dll CURL, client URL library function library Requires: libeay32.dll, ssleay32.dll (included)
php_cybercash.dll Online cash payment function library PHP <= 4.2.0
php_db.dll DBM function library Deprecated. Replace it with DBA (php_dba.dll)
php_dba.dll DBA: Database (dbm style) abstraction layer function library None
php_dbase.dll dBase function library None
php_dbx.dll dbx function library
php_domxml.dll DOM XML function library PHP <= 4.2.0 requires: libxml2.dll (included), PHP >= 4.3.0 requires: iconv.dll (included)
php_dotnet.dll .NET function library PHP <= 4.1.1
php_exif.dll EXIF function library Requires php_mbstring.dll. And in php.ini, php_exif.dll must be loaded after php_mbstring.dll.
php_fbsql.dll FrontBase function library PHP <= 4.2.0
php_fdf.dll FDF: Form data formatting function library Requires: fdftk.dll (included)
php_filepro.dll filePro function library Read-only access
php_ftp.dll FTP function library Built-in since PHP 4.0.3
php_gd.dll GD library image function library Removed in PHP 4.3.2. Also note that true color functions cannot be used in GD1, use php_gd2.dll instead.
php_gd2.dll GD library image function library GD2
php_gettext.dll Gettext function library PHP <= 4.2.0 requires gnu_gettext.dll (included), PHP >= 4.2.3 requires libintl-1.dll , iconv. dll (included).
php_hyperwave.dll HyperWave 函数库
php_iconv.dll ICONV 字符集转换 需要:iconv-1.3.dll(已附带),PHP >=4.2.1 需要 iconv.dll
php_ifx.dll Informix 函数库 需要:Informix 库
php_iisfunc.dll IIS 管理函数库
php_imap.dll IMAP,POP3 和 NNTP 函数库
php_ingres.dll Ingres II 函数库 需要:Ingres II 库
php_interbase.dll InterBase functions 需要:gds32.dll(已附带)
php_java.dll Java 函数库 PHP <= 4.0.6 需要:jvm.dll(已附带)
php_ldap.dll LDAP 函数库 PHP <= 4.2.0 需要 libsasl.dll(已附带),PHP >= 4.3.0 需要 libeay32.dllssleay32.dll(已附带)
php_mbstring.dll 多字节字符串函数库
php_mcrypt.dll Mcrypt 加密函数库 需要:libmcrypt.dll
php_mhash.dll Mhash 函数库 PHP >= 4.3.0 需要:libmhash.dll(已附带)
php_mime_magic.dll Mimetype 函数库 需要:magic.mime(已附带)
php_ming.dll Ming 函数库(Flash)
php_msql.dll mSQL 函数库 需要:msql.dll(已附带)
php_mssql.dll MSSQL 函数库 需要:ntwdblib.dll(已附带)
php_mysql.dll MySQL 函数库 PHP >= 5.0.0 需要 libmysql.dll(已附带)
php_mysqli.dll MySQLi 函数库 PHP >= 5.0.0 需要 libmysql.dll(PHP <= 5.0.2 中是 libmysqli.dll)(已附带)
php_oci8.dll Oracle 8 函数库 需要:Oracle 8.1+ 客户端库
php_openssl.dll OpenSSL 函数库 需要:libeay32.dll(已附带)
php_oracle.dll Oracle 函数库 需要:Oracle 7 客户端库
php_overload.dll 对象重载函数库 自 PHP 4.3.0 起内置
php_pdf.dll PDF 函数库
php_pgsql.dll PostgreSQL 函数库
php_printer.dll 打印机函数库
php_shmop.dll 共享内存函数库
php_snmp.dll SNMP 函数库 仅用于 Windows NT!
php_soap.dll SOAP 函数库 PHP >= 5.0.0
php_sockets.dll Socket 函数库
php_sybase_ct.dll Sybase 函数库 需要:Sybase 客户端库
php_tidy.dll Tidy 函数库 PHP >= 5.0.0
php_tokenizer.dll Tokenizer 函数库 自 PHP 4.3.0 起内置
php_w32api.dll W32api 函数库
php_xmlrpc.dll XML-RPC 函数库 PHP >= 4.2.1 需要 iconv.dll(已附带)
php_xslt.dll XSLT 函数库 PHP <= 4.2.0 需要 sablot.dllexpat.dll(已附带)。PHP >= 4.2.1 需要 sablot.dllexpat.dlliconv.dll(已附带)。
php_yaz.dll YAZ 函数库 需要:yaz.dll(已附带)
php_zip.dll Zip 文件函数库 只读访问
php_zlib.dll ZLib 压缩函数库 自 PHP 4.3.0 起内置

接下来看重要的 PHP 扩展配置部分,找到 Dynamic Extensions ,往下一点是 Windows Extensions 的配置部分。可以看到如:
 
;extension=php_bz2.dll
;extension=php_cpdf.dll
……
;extension=php_yaz.dll
;extension=php_zip.dll
 
这里列出了 PHP 的所有可支持扩展,前面都加了分号注释掉,表示目前 PHP 配置不支持该扩展,我们可以将分号去掉以便让 PHP 支持这些扩展,但是因为 dlls 文件夹里没有包含全部可扩展库的 DLL 文件,所以我们只能选择性的安装,需要知道如何获得其他 dlls 文件夹下没有提供的 dll 文件,可以查看《PHP 中文手册》(后面会提到它的下载方法)的相关部分。这里不做说明。
下面提几个 dlls 文件夹下包含的、比较实用的 PHP 扩展:
extension=php_curl.dll : CURL 扩展支持。
extension=php_gd2.dll : GD 图像库扩展支持。包括生成图像等的一系列函数,比较有用。
extension=php_ming.dll : Ming 库扩展支持,该扩展提供生成 flash 文件的相关函数,支持 flash 4 的大部分功能。
extension=php_pdf.dll : PDF 库扩展支持,该扩展提供操作 PDF 文件的函数的支持。
extension=php_xslt.dll : 提供 XSLT 扩展支持,该扩展提供对 XML 的转换。
以下列出默认情况下所有支持的 DLL 扩展的配置,去掉分号的表示支持,我们所要做的只是判断是否去掉分号而已。如果你暂时不知道你需要哪些扩展,那么避免麻烦就按照最大化安装,相应行应做如下设置:
 
;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
 
找到 [Session] 部分,我们这里只修改一个参数 session.save_path ,默认是 /tmp ,我们将其指向 C:/TEMP/ 目录(用斜杠或反斜杠来表示路径在 PHP 中是一致的),记得在 C 盘根目录下建立一个名为 temp 的文件夹:
 
session.save_path = “C:/temp/”
 
这个是设置会话的存放路径的。OK,php.ini 文件的配置告一段落,Ctrl+s 保存文件后关闭记事本。

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/317515.htmlTechArticlePHP’s ming library is used to generate flash! Although the module is experimental, it is quite interesting. A big watch, very interesting, giving people the feeling of being in 8g. sapi/php4activescript.dll (...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template