PHP Development Environment Configuration

Source: Internet
Author: User
Tags php development environment

First download Apache on the official website, install. After installation, locate the httpd file in the installation directory, open httpd file, find: servername change to: localhost:80 (change according to the actual situation); Change DocumentRoot "E:/project/phpproject" (according to the directory where the actual project is located), change <directory "E:/project/phpproject" > (according to the actual project directory); DirectoryIndex index.php index.html (Apache home default file, of course you can also define more, priority to find the front, no words to find the back); Change LoadModule php5_module "D:/php/php5apache2_4.dll" (Php5apache2_4.dll file path in the directory where PHP was extracted), Phpinidir "d:/php" (the Directory after PHP decompression), AddType application/x-httpd-php. php. html. HTM (let Apache support PHP, HTML, htm Three formats, of course you can define more formats); Apache configuration is complete.

The second step to download PHP, note to download the safe thread version, Non safe version of the inside no Php5apache2_4.dll file, I just started to download the wrong, went to the Bay Road. Unzip after download. Open the Extract directory, change the php.ini.develop to PHP.ini, open php.ini, the extension=php_curl.dll percent of the semicolon removed (the other), change extension_dir = "d:/php /ext"; Change date.timezone = Asia/shanghai

PHP Development Environment Configuration

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.