How to solve the problem when configuring apache + php + mysql in windows _ PHP Tutorial

Source: Internet
Author: User
How to solve the problem when configuring apache + php + mysql in windows. Windows: install apache, php, mysql encountered a variety of problems: 1. test. php can not run, found that httpd. conf forgot to add AddTypeapplicationx-httpd-php.php; 2. set the configuration file windows:

Install apache, php, and mysql

Various problems encountered:

1. test. php cannot run. I found that I forgot to add AddType application/x-httpd-php. php in httpd. conf;

2. after setting the configuration file, a warning about the time zone of the date function will be reported. add date. timezone in php with date. timezone = Asia/Shanghai;

3. call to undefined function openssl_get_publickey is always reported. extension = php_openssl.dll in ini open; or error, found that the installation is a httpd-2.2.25-win32-x86-no_ssl.msi, should install the httpd-2.2.25-win32-x86-openssl-0.9.8y.msi, reinstall or there is a problem; in php. find extension_dir = "ext" in ini, remove the semicolon, and finally modify it;

Http://www.bkjia.com/PHPjc/825425.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/825425.htmlTechArticlewindows: various problems encountered when installing apache, php, and mysql: 1. test. php cannot run. it was found to be httpd. add AddType application/x-httpd-php in conf. php now; 2. set the configuration file...

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.