Master Guide PHP installation configuration 2014-11-05 12:57:13 Source: Comments: 0 Views:12 times | Publisher: Login View
The rapid development of PHP, its function more and more powerful, the use of it has become very convenient, below we PHP5 installation configuration detailed introduction. The efficiency of PHP implementation is obvious to all, which is also my favorite
The rapid development of PHP, its function more and more powerful, the use of it has become very convenient, below we PHP5 installation configuration detailed introduction. PHP's execution efficiency is obvious, and this is one of the reasons I like it, and it is called a wonderful partner MySQL and Apache want to merge, cannot but marvel at its efficiency.
PHP update is also very fast, here is the latest version of the current PHP4.3.2RC4 (almost no bug, estimated to write the official version of this shortly after the release), and the latest version of the Mysql4.0.13 installation process. The PHP5 installation profile can be downloaded directly to http://www.php.net/for Win32. Zip package (5.8M) The MySQL installation file can be downloaded directly to the http://www.mysql.com for Win32. zip Package In addition, if you want to abandon IIS to experience the effects of Apache and PHP, go to http://www.apache.org to download the latest for win31. MSI installation package, currently the latest version is 2.0.45.
PHP Installation Configuration
1. Unzip the PHP package to c:php (this path can be arbitrary, but if the following use this path, please modify the corresponding).
2. Copy all files under the Php4ts.dll and C:phpdlls directories in the c:php directory to the Windows System folder, and the folders vary depending on the version of Windows
If Windows 9x/me is C:windowssystem
If Windows nt/2000 is C:winntsystem32
If Windows xp/server2003 is C:windowssystem32
where C: For the system disk of the operating system you are using now, if your current operating system is not installed under C:windows, please make changes accordingly. Copy Php.ini-dist to C:windows (xp/2003/9x/me) or c:winnt (2000/nt) and rename it to PHP.ini. Open with Notepad, modify the information: Search Extension_dir =./This line and point its path to the extensions directory in your PHP directory, such as:
- extension_dir = C:P hpextensions
If you want to support more modules, please take the following to do, if you do not want to, directly save the php.ini file. PHP supports a lot of modules, but some DLLs are not free, so there is no PHP package with the release, but the DLLs folder is very much, just now we have copied them to the System32 folder, and now we test to see how many modules it supports. The following is the results of my test, only for reference, if the installation is complete, pop-up does not support the Xxx.dll module, the front semicolon plus go directly, search:
- Windows Extensions
- Note that MySQL and ODBC support are now built in, so no DLLs are needed for it.
The following is a semicolon in the previous comment out the supported extension module, if you want PHP to support a module, please put the previous ";" Remove, the following is the result of my test, generally as follows to remove the comment after the problem:
- 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
After the modification is complete, save the php.ini to complete the installation and configuration of PHP.
Master Guide PHP installation configuration