Home>Article>Backend Development> What should I do if the server does not support https access to php?
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. .
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
Related learning recommendations:
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!