Configuring the PHP Environment under Windows _php Tutorial

Source: Internet
Author: User
1. Required Software Environment:
1. Apache (the most popular Web server platform on UNIX platforms) 2.2
2. Active Perl 5.8 C:perl
3. PHP (as the current mainstream development language) 5.1 must be Ann c:php (as the current mainstream development language)
4. ZendOptimizer-3.0.2
5. PHP (as the current mainstream development language) environment required includes-in PHP (as the current mainstream development language) after the installation, not the normal operation of the necessary library.
-----------------------------------------------
2. Apache (the most popular Web server platform for UNIX platforms) 2.2--------httpd.conf file configuration
1. Front of Line 133th plus #
2. Modifications Between
SCRIPTALIAS/CGI (not many people are using it now)-bin/"D:/programmes/server/apache (the most popular Web server platform for UNIX platforms) 2.2/cgi (now not many people are using)-bin/"
And

The scribing section is changed to c:/php (as the mainstream development language now)/and c:/php (as the current mainstream development language)
3. Change #!c:/program Files/perl/perl to #! C:/perl/bin
4. Add at the end of the file
Scriptalias/php (as the current mainstream development language)/"c:/php (as the current mainstream development language)/"
AddType application/x-httpd-php (as the current mainstream development language). PHP (as the current mainstream development language)

# for PHP (as the current mainstream development language) 4
#Action application/x-httpd-php (as the current mainstream development language) "/php (as the current mainstream development language)/php (as the current mainstream development language). exe"

# for PHP (as the current mainstream development language) 5
Action application/x-httpd-php (as the current mainstream development language) "/php (as the current mainstream development language)/php (as the current mainstream development language)-cgi ( Not many people are using it now.. exe "
-------------------------------------------------------------------------------
3. PHP ( As the current mainstream development language) configuration rules:
1. Add c:php (as the current mainstream development language) into the Windows environment variable path
2. Copy includes into c:php (as the mainstream development language now) includes
3 . PHP (as the current mainstream development language). Ini-dist renamed PHP (as the current mainstream development language). INI
4. The following is PHP (as the current mainstream development language). INI configuration rules:
1. Set doc_root = to Doc_ro OT = D:programmesserverapache (the most popular Web server platform for UNIX platforms) 2.2htdocs
2. Set Extension_dir = to Extension_dir = "c:php ( As the current mainstream development language) ext "
3. extension=php (as the current mainstream development language) _mysql (and PHP collocation of the best combination). dll before"; "removed, changed to extension=php (as the current mainstream development language) _mysql (best combination with PHP). dll
4. In; Windows: "Path1;path2" under include_path = changed to
include_path = ".; C:php (as the current mainstream development language) includes "
5. Configure the [MySQL (and PHP Best Mix)]

4. Active Perl installation It's easy to follow the instructions and it's best to be c:perl.
5. Zendoptimizer the Apache (the most popular Web server platform for UNIX platforms) server off during installation and specify the installation path of Apache (the most popular Web server platform for UNIX platforms) and PHP (as the current mainstream development language).


http://www.bkjia.com/PHPjc/508556.html www.bkjia.com true http://www.bkjia.com/PHPjc/508556.html techarticle 1. Required Software Environment: 1. Apache (the most popular Web server platform for UNIX platforms) 2.2 2. Active Perl 5.8 C:perl 3. PHP (as the current mainstream development language) 5.1 must be in the c:php (as now ...

  • 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.