Master Guide PHP installation configuration

Source: Internet
Author: User

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:

    1. 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:

    1. Windows Extensions
    2. 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:

  1. extension=php_bz2.dll extension=php_cpdf.dll
  2. extension=php_crack.dll extension=php_curl.dll
  3. extension=php_db.dll extension=php_dba.dll
  4. extension=php_dbase.dll extension=php_dbx.dll
  5. extension=php_domxml.dll extension=php_exif.dll
  6. extension=php_fdf.dll extension=php_filepro.dll
  7. extension=php_gd2.dll extension=php_gettext.dll
  8. extension=php_hyperwave.dll extension=php_iconv.dll;
  9. extension=Php_ifx.dll; extension=php_iisfunc.dll
  10. extension=php_imap.dll extension=php_interbase.dll
  11. extension=php_java.dll extension=php_ldap.dll
  12. extension=Php_mbstring.dll; extension=php_mcrypt.dll
  13. extension=php_mhash.dll extension=php_mime_magic.dll
  14. extension=php_ming.dll extension=php_mssql.dll
  15. extension=Php_msql.dll; extension=php_oci8.dll
  16. extension=Php_openssl.dll; extension=php_oracle.dll
  17. extension=php_pdf.dll extension=php_pgsql.dll;
  18. extension=php_printer.dll extension=php_shmop.dll
  19. extension=php_snmp.dll extension=php_sockets.dll;
  20. extension=php_sybase_ct.dll extension=php_w32api.dll
  21. extension=php_xmlrpc.dll extension=php_xslt.dll
  22. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.