问题:在写php代码的时候,误将代码写 $name = $_GET("name");运行的时候,提示" Function name must be a string"解决:$_GET[""]方法写错了.写成了$_GET(""),原因: 写成$_GET(""),php首先会认为get()是一个方法,但是前面又多了$符号,php又认为这是一个变量,而变量名不能作为function的名字,所有
转载 2022-03-28 15:05:32
106阅读
安装php时发生如下错误:Starting php-fpm [04-Jan-2017 08:45:43] ERROR: [pool www] cannot get uid for user 'php-fpm' [04-Jan-2017 08:45:43] ER
原创 2017-01-05 12:42:07
1392阅读
最近换了台新电脑,打开 VSCode 准备用 npm 安装依赖,结果发现还没装 Node。所以先去下了 Node 的安装包,并安装好。 回到 VSCode 运行 node -v,居然报错。 打开 Git Bash,运行 node -v,正常显示 Node 版本,于是重启 VSCode 再次运行命令, ...
转载 2021-09-11 11:31:00
361阅读
2评论
npm -v报错解决办法,node的正确安装方式
原创 2021-11-18 10:09:00
2011阅读
php 启动报错[root@abc lnmp]# service php-fpm start Starting php-fpm eAccelerator: Could not allocate 67108864 bytes, the maximum size the kernel allows is 33554432 bytes. Lower the amount of memory reques
原创 2013-12-04 11:10:25
821阅读
时间:2011.8.4 环境:windows2003 , apache2.2 , php5 错误日志: 错误应用程序 httpd.exe,版本 2.2.14.0,错误模块 php5ts.dll,版本 5.3.1.0,错误地址 0x0000c200。 解决方法:复制php5ts.dll到apaceh的bin目录下或者系统目录下c:\windows\system32后,重启系统。
原创 2011-08-04 16:06:54
678阅读
2、如果出现以下错误:/root/tmp/php-5.2.2/ext/mysqli/mysqli_api.c: In function 'zif_mysqli_stmt_bind_param':/root/tmp/php-5.2.2/ext/mysqli/mysqli_api.c:144: error: 'gptr' undeclared (first use in this function)/
原创 2015-07-18 22:24:46
797阅读
1.error:xml2-confignotfound.Pleasecheckyourlibxml2installation.解决办法:yuminstall-ylibxml2-devel.x86_642.error:CannotfindOpenSSL'syuminstall-yopenssl-devel.x86_643.error:PleasereinstalltheBZip2distri
php
原创 2017-12-06 17:17:20
509阅读
2点赞
/root/soft/php-5.4.45/sapi/cli/php: error while loading shared libraries: /usr/local/mysql/lib/libmysqlclient.so.16: cannot restore segment prot after reloc: Permission denied
原创 2015-11-22 21:01:11
424阅读
  Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1099 bytes) in Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1099 bytes) i
原创 2011-11-23 18:25:59
1156阅读
php在make过程中出现“usr bin ld cannot find lltdl”错误,详细错误如下:/usr/bin/ld: cannot find -lltdlcollect2: ld returned 1 exit statusmake: *** [libphp5.la] Error 1解决方法:于是我又: cd  ext/phar/即路径:/usr/local/src/php
php
原创 2014-04-18 19:05:11
1513阅读
2010-08-08 13:33 cannot find -lltdl ,编译php又出错了 php在make过程中出现“usr bin ld cannot find lltdl”错误,详细错误如下: /usr/bin/ld: cannot find -lltdl collect2: ld returned 1 exit status make: *** [libphp5.la
php
原创 2014-05-31 11:31:58
793阅读
安装oniguruma报错 [root@Stable oniguruma-6.9.4]# ./autogen.sh && ./configure --prefix=/usr/local/oniguruma6Generating autotools files.Can't exec "aclocal" ...
qt
转载 2021-08-20 17:58:00
357阅读
2评论
迁移服务器,PHP版本5.2.14特别老, 启动php-fpm时,出现Starting php-fpm … failed,但是php却启动成功,日志也没有什么有用的信息。 经排查出现这个问题是因为启动脚本 php-fpm 和配置文件 php-fpm.conf 中的pid路径不一致所致
原创 2021-10-22 09:48:45
137阅读
一般服务器为了安全都会再php.ini配置中关闭报错功能。(display_errors=Off)   显示页面报错:(注意:加在网页最上面)   <?php if(!ini_get('display_errors')){     ini_set('display_errors','On'); 
原创 2012-08-14 10:01:38
1745阅读
在Linux系统中,红帽(Red Hat)是一种常用的操作系统发行版。它基于自由软件开发并开放源代码,被广泛用于服务器端和企业级应用中。在红帽系统中,PHP是一种流行的服务器端脚本语言,用于开发动态网站和Web应用程序。当我们在终端中输入命令“-v”和“-bash”时,通常是用来查看PHP的版本信息和BASH的运行环境。 首先让我们来了解一下Linux系统中的PHP版本查询命令。在终端中输入“p
原创 2024-05-21 10:27:46
67阅读
configure: error: xml2-config not found. Please check your libxml2 installation.解决办法是:yum install -y libxml2-devel还有错误:configure: error
转载 精选 2016-01-17 12:46:05
508阅读
Apache 连接php报错
原创 2021-05-12 16:33:55
656阅读
linux下编译安装php各种报错大集合转载2016-04-1519:29:28标签:365PHP开源脚本语言PHP(外文名:HypertextPreprocessor,中文名:“超文本预处理器”)是一种通用开源脚本语言。语法吸收了C语言、Java和Perl的特点,入门门槛较低,易于学习,使用广泛,主要适用于Web开发领域。PHP的文件后缀名为php。本文为大家整理汇总了一些linux下编译安装p
php
转载 2018-12-11 18:43:03
765阅读
1点赞
相信自己,加油!****  nginx+php 出现502 bad gateway,一般这都不是nginx的问题,而是由于 fastcgi或者php的问题导致的   服务器出现 502 的原因是连接超时 我们向服务器发送请求 由于服务器当前链接太多,导致服务器方面无法给于正常的响应 , 产生此类报错因此如果你服务器并发量非常大,那只能先增加机器,然后按以下方式优化会取得更好效果 ; 但如果你并发不
原创 2019-06-05 11:32:39
1750阅读
  • 1
  • 2
  • 3
  • 4
  • 5