PHP5 and Apache server configuration in Windows environment _php tutorial

Source: Internet
Author: User
Tags mysql download
Currently PHP5 has released a third candidate version, and it is estimated that the official version will soon be released. The installation process should not change, the following article will tell Windows2000/xp/2003 (not recommended under Windows 98 build PHP Environment) under the configuration of the PHP environment, the server select Apache 2.0.49, database selection MySQL 4.0.20 Version.
Several packages need to be downloaded:
1. PHP5 RC3
2. Apache 2.0.49
3. MySQL 4.0.20
Download package
1. PHP5 RC3
PHP's download address is: http://www.php.net/downloads.php, find the location, download the box two packages. Where the PHP 5.0.0rc3 Zip package is the PHP5 bundle, and Collection of PECL modules for PHP 5.0.0RC3 is PHP5 PECL expansion Module collection package.
After the download is complete, place it on the C drive.
2. Apache 2.0.49
Apache Official Download address is: http://httpd.apache.org/download.cgi, find such as location, download for Windows MSI installation package, saved in the C drive standby.
3. MySQL 4.0.20
The official MySQL download address is: http://dev.mysql.com/downloads/mysql/4.0.html, locate the Windows downloads section, download the without installer package and save it in the C drive as shown in:

Installing PHP5
Assume that your system is installed on the C drive, otherwise the following directories must be changed to the corresponding disk directory.
Extract the downloaded PHP5 RC3 (php-5.0.0rc3-win32.zip) to the C:PHP5 directory. Unzip all the files in the PECL Expansion module collection package to the C:php5ext directory.
Copy the Php5ts.dll file under the C:PHP5 directory to c:windows (if it is a Windows 2000 operating system, the C:winnt directory, below, no longer repeat).
Copy the following DLL files under the C:PHP5 directory in the C:windowssystem32 directory:
Fdftk.dll
Fribidi.dll
Gds32.dll
Libeay32.dll
Libintl-1.dll
Libmhash.dll
Libmysql.dll
Libmysqli.dll
Ntwdblib.dll
Ntwdblib.dll
Yaz.dll

Where Libmysql.dll is extended support for versions prior to MySQL 4.1, Libmysqli.dll is extended support for versions after MySQL 4.1. Because I download the above is the MySQL 4.0.20, so actually copy libmysql.dll can.
Copy the Php.ini-dist file under the C:PHP5 directory into the c:windows directory and rename it to PHP.ini, and open the edit with Notepad:
Navigate to the following two lines:
; Directory in which the loadable Extensions (modules) reside.
Extension_dir = "./"

http://www.bkjia.com/PHPjc/631754.html www.bkjia.com true http://www.bkjia.com/PHPjc/631754.html techarticle currently PHP5 has released a third candidate version, and it is estimated that the official version will soon be released. The installation process should not change, the following article will tell Windows2000/xp/2003 (not recommended ...

  • 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.