Home > Backend Development > PHP Tutorial > Setting up the environment for PHP learning_PHP tutorial

Setting up the environment for PHP learning_PHP tutorial

WBOY
Release: 2016-07-13 10:37:29
Original
958 people have browsed it

Computer environment win7 64 bit

Build apache-httpd-2.2-win64 + php-5.3.6-Win32-VC9-x64 +MySQL_5.5.13_winx64 development environment
Problems encountered during installation:
1. PHP version problem, you must download the version corresponding to apache to have the php5apache2.dll library (apache needs to load this library to call the php component);
2. Pay attention to setting file access permissions;
3.After modifying httpd.conf, you need to restart apache
In addition, during the environment setting process, you must understand the relationship between the three. To provide web services, apache needs to add some code. The first line represents that when the client accesses the PHP file through the web, apache will load the component. Output to php files. The second line represents the php that parses the php file. The third line represents the circumstances under which Apache loads the PHP component.
LoadModule php5_module "D:/Server/php-5.3.6-Win32-VC9-x64/php5apache2_2.dll"
PHPiniDir "D:/Server/php-5.3.6-Win32-VC9-x64"
AddType application/x-httpd-php .html .htm .php
MySql is relatively simple. It at least provides data storage functions, and can also be replaced with other types of databases. Of course, the data can be deployed anywhere, as long as it can be accessed!

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/735866.htmlTechArticleComputer environment win7 64-bit build apache-httpd-2.2-win64 + php-5.3.6-Win32-VC9- Problems encountered during the installation process of x64 +MySQL_5.5.13_winx64 development environment: 1. PHP version problem, you must download the corresponding...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template