I used phpstudy to configure the php environment (php7.0n)
Modified the configuration file php.ini:
1. Remove the semicolon in front of extension=php_mbstring.dll
2. Remove the semicolon in front of extension=php_openssl.dll
3.extension_dir = "D :\Application\phpStudy\php70n\ext"
cd locates the laravel-v5.1.11 directory, enter and execute the php artisan serve command
Then visit http://localhost:8000/
But it seems that the picture is not the same as expected....
Prompt error: Fatal error Call to undefined function Illuminate Encryption openssl_encrypt
Inside php.ini
Then restart the server
;extension=php_openssl.dll
Just remove the ; before the above code in php.ini
I also encountered it today, and it took me a long time to solve it by climbing over the wall.
1. Copy libeay32.dll and ssleay32.dll from the PHP installation root directory, and overwrite the corresponding files under apache/bin.
2. Restart apache.