Master Guide PHP installation configuration. With the rapid development of PHP, it becomes more and more powerful and convenient to use. The following describes the installation and configuration of PHP5. The execution efficiency of PHP is obvious to all. this is also the rapid development of PHP. it becomes more and more powerful and convenient to use it. next we will introduce the installation and configuration of PHP5 in detail. The execution efficiency of PHP is obvious to all, which is one of the reasons I like it. to integrate it with Mysql and Apache, which is called a wonderful partner, we can't help but wonder at its efficiency.
PHP is also updated very quickly. The latest version PHP4.3.2RC4 is listed here (there are almost no bugs, and it is estimated that the official version will be available soon after the writing), and the installation process of the latest version Mysql4.0.13. PHP5 installation configuration file can be directly to the http://www.php.net/download, get for win32.zip package (5.8 M) Mysql installation file can be directly to the http://www.mysql.com download, get for win32.zip package in addition if you want to experience the effect of Apache and PHP cooperation and want to give up IIS, please download the latest for win31 http://www.apache.org. MSI installation package. The latest version is 2.0.45.
PHP installation configuration
1. decompress the PHP compressed package to C: PHP (this path can be used at will, but please modify the path as follows ).
2. copy all the php4ts. dll and C: PHPdlls files under the C: PHP directory to the windows system folder, which varies depending on the Windows version.
◆ C: windowssystem for Windows 9x/ME
◆ For Windows NT/2000, it is c: winntsystem32
◆ C: windowssystem32 for Windows XP/server2003
C: The system disk of your current operating system. if your current operating system is not installed in C: windows, modify the disk accordingly. Copy php. ini-dist to C: windows (XP/2003/9 x/Me) or C: Winnt (2000/nt) and rename it php. ini. Open it in Notepad and modify the following information: Search for extension_dir =./, and direct the path to the extensions directory under your PHP Directory, for example:
- extension_dir = C:PHPextensions
If you want to support more modules, follow these steps. if you don't want to, save php directly. ini file. PHP supports many modules, but some dll files are not free of charge, so they are not released along with the PHP compressed package. However, there are many modules in the dlls folder, we copied them to the system32 folder just now. now we can test how many modules it supports. The following are my test results for your reference only. if The xxx. dll module is not supported in the pop-up after installation, you can simply add the semicolon (;) and search:
- Windows Extensions
- Note that MySQL and ODBC support is now built in, so no dll is needed for it.
The following sections describe the supported extension modules with semicolons. if you want PHP to support a certain module, remove the previous ";". The following is the result of my test, it is normal to remove the comment as follows:
- 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, save php. ini and install and configure PHP.
Bytes. PHP execution efficiency is obvious to all, which is also...