Installing PHP5 is much easier now

Source: Internet
Author: User

After being proficient, installing php (as the mainstream development language) 5 is a simple and pleasant task. Platforms: Win2000 pro and apache (the most popular WEB server platform on Unix) 2.0.48.

1. decompress the file.
2. httpd in apache (the most popular WEB server platform on Unix. add LoadModule php In conf (as the mainstream development language) 5_module "e:/server/php (as the mainstream development language) 5/php (as the mainstream development language) 5 apache (the most popular WEB server platform on Unix) 2.dll ".
3. httpd in apache (the most popular WEB server platform on Unix. add "AddType application/x-httpd-php (as the mainstream development language) in conf ). php (as the mainstream development language )".
4. httpd in apache (the most popular WEB server platform on Unix. add php (as the mainstream development language) IniDir "e:/server/php (as the mainstream development language) 5 ", in this way, your php (as the mainstream development language ). INI does not need to be placed in the Windows directory.
5. Restart apache (the most popular WEB server platform on the Unix platform). Everything is OK.

Another tips: If you write in httpd. conf of apache (the most popular WEB server platform on Unix ),

AddType application/x-httpd-php (as the mainstream development language)-source. php (as the mainstream development language) s

When accessing a file with the. php extension (as the mainstream development language) s, the source code is displayed and highlighted by syntax.

When installing MySQL (the best combination with PHP) or MySQL (the best combination with PHP) I extension, you only need to copy a libMySQL (the best combination with PHP ). dll file to the Windows directory. You can use mbstring for installation and conversion, which is not as troublesome as iconv.

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.