How to handle problems when configuring Apache+php+mysql under Windows _php tips

Source: Internet
Author: User

Windows:

Install Apache,php,mysql

The various problems encountered:

1. test.php can't afford to run, the discovery is httpd.conf to forget add AddType application/x-httpd-php. php;

2. Set up the configuration file, found that will report a date function of the time zone warning, the PHP date.timezone plus date.timezone = Asia/shanghai;

3. Always report call to undefined function Openssl_get_publickey, php.ini extension=php_ Openssl.dll Open, or an error, found that the installation is Httpd-2.2.25-win32-x86-no_ Ssl.msi, should install Httpd-2.2.25-win32-x86-openssl-0.9.8y.msi, reload or have a problem; find Extension_dir = "ext" in php.ini, remove the semicolon in front, and finally change it well;

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.