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;