In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article is about how to configure apache and php environments. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Php is a familiar term in network technology today. When you think of a website or web, most developers will think of php, which is free and open source, easy and practical, and so on. I am a JAVA developer. Contact with PHP is not an accident, but some needs of my own work. When I was in college, I went crazy to learn php. But after all, head fever is something that happens to every young person, but it is more likely to reflect on yourself after the heat.
Due to various reasons, I have engaged in the development of JAVA technology, but in my spare time, I will also do some research on PHP knowledge to share with you. First of all, if you want to do good work, you must sharpen its tools first, which may not be very appropriate. What I want to say here is that if the person who is engaged in JAVA development, the teacher may initially teach you how to install JDK and what JDK is for, then php also needs a series of environment configurations. Here are some manuscripts of my configuration of php, which have been tested and run successfully!
The copy code is as follows:
1. Copy the php.ini-development file named php.ini to the windows directory of disk c
two。 Copy php5ts.dll and libmysql.dll to the system32 directory on disk c windows
3. Find php_gd2.dll and php_mysql.dll and php_mbstring.dll in the ext directory of the php directory and copy them to the system32 directory
Find the php.ini file under windows
Look for extension=php_gd2.dll and remove the semicolon before it.
Look for extension=php_mysql.dll and remove the semicolon before it.
Look for extension=php_mbstring.dll and remove the semicolon before it.
Mysql apache php configuration works together
Open the httpd.conf of the conf folder of apache
Find # loadmodule foo and add a line
LoadModule php5_module C:/php5/php5apache2_2.dll
Add a line after looking for AddType
AddType application/x-httpd-php .php
Find DirectoryIndex index.html and add as
DirectoryIndex index.html index.html.var index.php
Modify the apache file path in the 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 above adopted
The version of apache is (httpd-2.0.64-win32-x86-no_ssl.msi)
The version of php is (php-5.2.17-Win32-VC6-x86.zip)
Thank you for reading! This is the end of the article on "how to configure the apache and php environment". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.