Environment scheduling for PHP engine in Chapter 1 of PHP development

Source: Internet
Author: User
Tags vc9 netbeans
PHP development chapter I Environment deployment PHP engine Post from: netbeans.orgkbdocsphpconfigure-php-environment-windows_zh_CN.html download PHP5 engine. Windows: windows. php. netdownload ??? : Php-5.4.0-Win32-VC9 PHP development chapter I Environment deployment PHP engine

Post 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, do not download VC9 version, because VC9 is dedicated for IIS custom, VC6 is for other WEB service software provided, such as Apache. The Apache server can be divided into openssl and no_ssl. openssl indicates that the openssl module is provided, and openssl can be used to configure SSL security links for Apache.
  2. 5.3.10 run the php-5.3.10-nts-Win32-VC9-x86 after the download is complete. MsiInstallation File. The installation wizard is started. On the "Apache configuration directory" panel, specifyHttpd. confDirectory where the file is located. the default setting isC: \ Program Files \ Apache Software Foundation \ Apache \ Conf \ . PHP processing is automatically enabled.
  3. If you want to use the MySQL database server, select the "full" installation option, or select "MySQL" and "MySQLi" in the "extension" list.
  4. After the installation is complete, restart the Apache server.
    1. To check whether the PHP engine is successfully installed and whether PHP processing is enabled in 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 enter the following URL:Http: // localhost: /Test. php . The following page is displayed:
  • Troubleshooting

    If the page is not opened:

    1. Restart the Apache server.
    2. Check whether 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 preceding lines are missing, add them and save them.Httpd. confAnd 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.