What should I do if the server does not support https access to php?

coldplay.xixi
Release: 2023-03-02 13:50:02
Original
3933 people have browsed it

The server does not support https access to php. Solution: first edit the statement [/apache2/conf/extra/httpd-ssl.conf]; then add the corresponding code to the program; finally save it and restart Apache. .

What should I do if the server does not support https access to php?

The server does not support https access to php solution:

1. Edit /apache2/conf /extra/httpd-ssl.conf

2. Add the following two items under the label:

  • ProxyPassMatch ^/(.*\. php)$ fcgi://127.0.0.1:10000/Your server default directory/$1

  • ##DirectoryIndex index.html index.php

3. Save and restart Apache (service httpd restart)

Related learning recommendations:

PHP programming from entry to proficiency

The above is the detailed content of What should I do if the server does not support https access to php?. 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