网站技术

Windows系统搭建PHP网站打开显示空白页的时候怎么查找原因打开php根目录下的php.ini 找到以下内容: display_errors = Off改成 display_errors = On保存后重启IIS,再访问空白的PHP页,就可以看到提示的报错,找到原因后,要将php.ini恢复回原来的display_errors = Off设置,不然有些网站会提示出错.

2022-03-06  701
网站技术

在现在目前的PHP开源系统基本上都需要开启gd2扩展,方法很简单,如下:1、找到php.ini文件2、打开后,搜索;extension=php_gd2.dll去掉前面“;”的注释。最终配置内容如下:extension=php_gd2.dll重新启动apache或者iis后,在phpinfo函数中查看,是否开启。PHP探针:<?php phpinfo();?>

2022-03-06  884
网站技术

网站上传图片提示错误:chmod() has been disabled for security reasons in 的解决方法问题:在php站点后台上传图片的时候出现如下错误:chmod() has been disabled for security reasons in解决方法:1.由英文提示可以得知是php禁用了chmod()函数,我们找到php.ini中的disable_functions将其中的值chmod删除即可注:这些默认被禁用函数是高危函数,请慎重

2022-03-06  711
网站技术

异步执行需要空间支持“fsockopen”的无阻塞模式解决方法如果网站用的是虚拟主机/空间的话1,如果fsockopen不存在或者存在但是不好用,联系空间商2,如果fsockopen存在但是检测异步执行不能用,说明是stream_set_blocking(无阻塞模式)不可用,联系空间商解决方法:第一种方法:第一步找到php.ini文件,用记事本打开,查找 allow_url_fopen = 看看后面是 off  还on, 如果是on,直接看下一步,如果是off 那就修改成on,需要注意

2022-03-05  971
Windows相关

windows下配置NGINX+PHP+MYSQL环境一、准备工作nginx官网下载:http://nginx.org/en/download.htmlphp官网下载:https://windows.php.net/downloads/releases/archives/Mysql官网下载:https://downloads.mysql.com/archives/installer/这里我准备的是nginx1.18+php5.5+mysql5.6二、安装nginx+php+mysql1.安装ng

2022-03-05  744
网站技术

Windows2012安装搭建php5.5环境教程php下载地址:https://windows.php.net/downloads/releases/archives/(需要什么版本就下载什么版本)Visual Studio 2010 动态链接库(必须装哦,如果不装就会出现msvcr100.dll丢失问题,导致500错误)下载地址:http://download.microsoft.com/download/9/C/D/9CD480DC-0301-41B0-AAAB-FE9AC1F60237/

2022-03-04  805
网站技术

Windows2012安装搭建php5.6环境教程php下载地址:https://windows.php.net/downloads/releases/archives/Visual Studio 2010 动态链接库下载地址:http://download.microsoft.com/download/9/C/D/9CD480DC-0301-41B0-AAAB-FE9AC1F60237/VSU4/vcredist_x64.exe下载地址:http://download.microsoft.co

2022-03-04  799
网站技术

PHP网站打开提示503 Service Unavailable的解决方法问题:网站打开提示503 Service Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity&nbs

2022-03-02  1073
网站技术

网站打开提示HTTP Error 500.21 - Internal Server Error的解决方法问题:HTTP Error 500.21 - Internal Server Error Handler “FastCGI” has a bad module “FastCgiModule” in its module list。有时候

2022-03-02  707
网站技术

网站打开提示The FastCGI Handler was unable to process the request.未指定的错误问题:网站打开提示以下报错FastCGI Error The FastCGI Handler was unable to process the request. Error Details: · The FastCGI process&

2022-03-02  1215