PHP-------2.php launch. php file

Source: Internet
Author: User

Reference Link: http://jingyan.baidu.com/album/0f5fb099ca944b6d8334eadb.html?picindex=4

1. Prepare the PHP environment

Baidu Cloud Link: Link: http://pan.baidu.com/s/1slU7905 Password: tds2

2. Install Apache Server

3. Open the httpd.conf configuration file

Locate the directory file that corresponds to the PHP directory

Phpinidir "d:/php-5.4.31"
LoadModule php5_module "D:/php-5.4.31/php5apache2_2.dll"


AddType application/x-httpd-php. php
AddType Application/x-httpd-php-source. Phps
AddType application/x-httpd-php. php3
AddType application/x-httpd-php. htm

<ifmodule!mpm_netware_module>
<ifmodule!mpm_winnt_module>

4. Configure PHP files

Copy the Php.ini-development file again and rename the php.ini

Extension_dir= "d:/programming software/php Environment/php-5.4.31/ext"

Date.timezone=prc

5. Place the. php file in the Httdoc directory to start

You may encounter port conflicts, modify port numbers

Launch http://localhost:8088/a.php in Browser

PHP-------2.php launch. php file

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.