Home>Article>Backend Development> How to locate php 500 error

How to locate php 500 error

coldplay.xixi
coldplay.xixi Original
2020-09-01 13:41:57 2706browse

How to locate the php 500 error: first find the php configuration file and configure the parameter value code; then restart the apache service command and reconfigure the code; then add the relevant code at the end of the apache configuration file ;Finally restart the apache server.

How to locate php 500 error

[Related learning recommendations:php graphic tutorial]

How to locate php 500 error:

1. First find the php configuration file

How to locate php 500 error

2. Configuration parameter value code:

How to locate php 500 error

3. Restart apache service command

How to locate php 500 error

4. Need to reconfigure The code is as follows

How to locate php 500 error

5.Add two lines of code at the end of the apache configuration file as follows

How to locate php 500 error

6.Restart the apache server

How to locate php 500 error

Related learning recommendations:php programming(video)

The above is the detailed content of How to locate php 500 error. For more information, please follow other related articles on the PHP Chinese website!

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