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