PHP in today's unfamiliar network technical terminology, think of the Web site or the Web may most developers will think of PHP, a free and open source, both easy and practical and some other benefits to have the world's many IT technical staff, I am a java developer, contact PHP is not an accident, But some of the needs of their own work, in the university was also a hot and crazy to learn PHP, but the head of the heat is after all the young people will have things, but after the heat is more to reflect on themselves.
For a variety of reasons, I am engaged in the development of Java technology, but at leisure time will also do some research on PHP knowledge and share with you, first 工欲善其事, its prerequisite, perhaps the analogy is not very appropriate. What I would like to say here is that if you are working with Java developers, maybe the teacher will initially teach you how to install JDK, JDK is what to use, then PHP is the same, he also needs a series of environment configuration. Here are some of the manuscripts I have configured for PHP that have been successfully run!
Copy CodeThe code is as follows:
1. Copy php.ini-development to the Windows directory of the C drive named php.ini file
2. Copy the Php5ts.dll and Libmysql.dll to the System32 directory under C-disk windows
3. Locate the Php_gd2.dll and Php_mysql.dll and php_mbstring.dll copies to the System32 directory in the ext directory of the PHP directory
Locate the php.ini file under Windows
Find Extension=php_gd2.dll to remove its front semicolon.
Find Extension=php_mysql.dll to remove its front semicolon.
Find Extension=php_mbstring.dll to remove its front semicolon.
MySQL Apache PHP configuration works together
Open Apache's conf folder for httpd.conf
Find # LoadModule Foo after adding a row
LoadModule Php5_module C:/php5/php5apache2_2.dll
Add a row after finding AddType
AddType application/x-httpd-php. php
Find DirectoryIndex index.html after adding to
DirectoryIndex index.html Index.html.var index.php
Modify the Apache file path in the httpd.conf folder
Find DocumentRoot changes to the path you want
Find directory changes to the path you want above
The above-used
Apache version is (Httpd-2.0.64-win32-x86-no_ssl.msi)
PHP version is (php-5.2.17-win32-vc6-x86.zip)
http://www.bkjia.com/PHPjc/326668.html www.bkjia.com true http://www.bkjia.com/PHPjc/326668.html techarticle PHP in today's unfamiliar network technical terminology, think of the Web site or the Web probably most developers will think of PHP, a free and open source, both easy and practical benefits to have ...