Home  >  Article  >  Backend Development  >  How to deal with problems when configuring apache+php+mysql under windows_PHP tutorial

How to deal with problems when configuring apache+php+mysql under windows_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:24:30882browse

windows:

Install apache, php, 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. Set up the configuration file and find that a warning about the time zone will be reported for the date function. Add date.timezone in php to date.timezone = Asia/Shanghai;

3. It always reports Call to undefined function openssl_get_publickey, open extension=php_openssl.dll in php.ini; it still reports an error, and finds that httpd-2.2.25-win32-x86-no_ssl.msi is installed, which should be installed httpd-2.2.25-win32-x86-openssl-0.9.8y.msi, there is still a problem after reinstallation; find extension_dir = "ext" in php.ini, remove the semicolon in front, and finally change it;

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/825425.htmlTechArticlewindows: Various problems encountered when installing apache, php, mysql: 1. test.php cannot run, I found that I forgot to add AddType application/x-httpd-php .php in httpd.conf; 2. Set up the configuration file...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn