PHP Development The first chapter of the Environment scheduling PHP engine

Source: Internet
Author: User
Tags vc9
PHP Development The first chapter of the environment to deploy the PHP engine

Reprint from: http://netbeans.org/kb/docs/php/configure-php-environment-windows_zh_CN.html

    1. Download the PHP5 engine. Windows:http://windows.php.net/download/??? : Php-5.4.0-win32-vc9-x86.zip Note: php-5.3.5-nts-win32-vc6-x86 version, not to download VC9 version, because VC9 is specifically for IIS customization, VC6 is for other Web services software provided, such as Apache. The Apache server also has OpenSSL and no_ssl points, and OpenSSL represents the OpenSSL module, which uses OpenSSL to configure SSL secure links to Apache.
    2. 5.3.10 after the download is complete, run the php-5.3.10-nts-win32-vc9-x86. msi installation file. The Installation Wizard starts. On the Apache configuration directory panel, specify the directory where the httpd.conf file is located, and the default setting is C:\Program files\apache software Foundation\apache \conf\ . PHP processing will be enabled automatically.
    3. If you are using a MySQL database server, select the Full installation option, or select the MySQL and mysqli items in the Extensions list.
    4. After the installation is complete, restart the Apache server.
    1. To check if the PHP engine has been successfully installed, and if PHP processing is enabled in the Apache configuration, please:
    2. In Notepad, create a file and type the following text:
          
           
    • Save this file in the Htdocs folder:C:\Program files\apache software foundation\apache \htdocs\test.php
    • Run the browser, and then enter the following URL:http://localhost: /test.php . The following page opens:
  • Troubleshooting

    If the page is not open:

      1. Restart the Apache server.
      2. Check that the Apache server configuration file httpd.conf contains the following lines:
          AddType application/x-httpd-php. php   LoadModule php5_module "C:/php/sapi/php5apache2_2.dll"
      3. If the above lines are missing, add them, save the httpd.conf, and then restart Apache.
      4. Refresh http://localhost: /test.php page.

    ?

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