A summary of some problems encountered when installing the Lavarel framework

巴扎黑
Release: 2023-03-13 16:00:01
Original
2142 people have browsed it

The work requires the use of the Lavarel framework. I encountered several ups and downs during the installation process. Fortunately, I will remember it.

Installation environment: Apache2.4.26 PHP7.1.6 Lavarel5. 4

##1.composer problem

Composer was previously installed on the computer, but problems were encountered when installing it according to the Lavarel documentation content- length mismatch composer

The reason is that the installation package URL is a foreign mirror,
Execute the command composer config -g repo.packagist composer
After successful installation
2.Apache settings When the machine accesses the URL
when configuring Apache, the ServerName used is Fushicho_blog
## and a 400 error is reported
Attention please do not use underscores in the URL!!!
Use Fushicho.blog to survive successfully
3.Apache permissions issue
After Apache is configured successfully and accesses the local URL, a 403Forbidden error occurs
After several modifications, the configuration The Options Indexes in the file were changed to Options FollowSymLinks
I don’t know the principle, but the next error occurred successfully!
4.Call to undefined function openssl_encrypt() problem
After searching online, there is a solution:
Install root from php Copy libeay32.dll and ssleay32.dll in the directory, overwrite the corresponding files under apache/bin, and restart apache.
I found that these two files did not exist in the locally installed Apache/bin. I experimented decisively and successfully escaped the disaster!
5. The Long March....(Self-feeling)
Attached is a picture

##

The above is the detailed content of A summary of some problems encountered when installing the Lavarel framework. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!