PHP installation and configuration-PHP Tutorial

Source: Internet
Author: User
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:

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

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

 
 
  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, save php. ini and install and configure PHP.


Bytes. PHP execution efficiency is obvious to all, which is also...

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.