Configuration experience sharing for collaborative work between apache and php_PHP tutorial

WBOY
Release: 2016-07-21 15:12:23
Original
818 people have browsed it

PHP is a familiar network technology term today. When thinking of a website or web, most developers will probably think of PHP. It is free and open source, easy and practical, and has the favor of many IT technicians in the world. I I am a JAVA developer. I came into contact with PHP not by chance, but because of some needs in my work. When I was in college, I once had a fever and went crazy to learn PHP, but after all, every young person will have a fever. Things, but after the heat is over, I think more about myself.

Due to various reasons, I am engaged in the development of JAVA technology, but in my spare time I will also do some research on PHP knowledge and share it with everyone. First of all, if you want to do your job well, you must first sharpen your tools. This may not be a metaphor. Very appropriate. What I want to say here is that if you are engaged in JAVA development, your teacher may initially teach you how to install JDK and what JDK is used for. The same is true for PHP, which also requires a series of environment configurations. The following are some manuscripts I used to configure PHP, and they have been successfully tested!

Copy the code The code is as follows:

1. Copy the php.ini file named php.ini-development to the c drive Windows directory
2. Copy php5ts.dll and libmysql.dll to the system32 directory under Windows on the C drive
3. Find php_gd2.dll, php_mysql.dll and php_mbstring.dll in the ext directory of the php directory Copy it to the system32 directory
Find the php.ini file under Windows
Find extension=php_gd2.dll and remove the semicolon in front of it.
Look for extension=php_mysql.dll and remove the semicolon in front of it.
Look for extension=php_mbstring.dll and remove the semicolon in front of it.
mysql apache php configuration collaborative work
Open httpd.conf in apache's conf folder
Look for # loadmodule foo and add a line
LoadModule php5_module C:/php5/php5apache2_2.dll
Look for AddType Then add a line
AddType application/x-httpd-php .php
Find DirectoryIndex index.html and add it as
DirectoryIndex index.html index.html.var index.php
Modify the apache file path in httpd.conf folder
Find DocumentRoot and change it to the path you want
Find Directory and change it to the path you want above

The version of
apache used above is ( httpd-2.0.64-win32-x86-no_ssl.msi)
The version of php is (php-5.2.17-Win32-VC6-x86.zip)

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/326668.htmlTechArticlephp is a familiar network technology term today. When thinking of a website or web, most developers will probably think of php. One that is both free and open source, easy and practical, has some advantages...
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