mac重启,开启apache时报错~~~镜像没有找到

mac重启apache时,报类似下面的错

dyld: Library not loaded: /usr/local/lib/libjpeg8.dylib
Referenced from: /usr/local/bin/php
Reason: image not found
[1]    4494 trace trap  php

这个可能是因为你原来的jpeg的东西升级了,然后PHP配置没有变,所以就加载不到原来的文件

解决办法:

1.brew info libjpeg

结果:

2. brew switch libjpeg 8d

3.重启服务器即可

如果其他情况,比如png等这些报类似的错误,这个办法应该也能解决

 
时间: 2024-10-12 12:49:19

mac重启,开启apache时报错~~~镜像没有找到的相关文章

Linux 启动 Apache 时报错:(98)Address already in use: make_sock: could not bind to address [::]:80

1. 启动 Apache 时报错: [[email protected] sh]# service httpd start Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain for ServerName (98)Address already in use: make_sock: could not bi

编译apache时报错

编译报错 checking whether to enable mod_deflate... configure: error: mod_deflate has been requested but can not be built due to prerequisite failures 原因:没装zlib-devel yum -y install zlib-devel

apache添加模块时报错:module status_module is built-in and can't be loaded

在使用cacti监控linux主机上的apache时,apache需要加载 mod_status.so 模块. 编辑httpd.conf,手动添加下行: LoadModule status_module modules/mod_status.so 在重启apache时报错如下: httpd: Syntax error on line 58 of /etc/httpd/httpd.conf: module status_module is built-in and can't be loaded

解决pytest运行时报错ModuleNotFoundError

封装代码后通过pytest运行时报错模块没找到错误. 导入模块前面加上这2句话解决 No modlue name '模块名'的报错. import os,sys sys.path.append(os.getcwd())            #告诉pytest运行前先检索当前路径 报错原因pytest运行时没有检索当前目录自己导入的模块. 报错截图: 原文地址:https://www.cnblogs.com/xiamaojjie/p/11515708.html

重启Apache报错

重启Apache报错,如图所示:server: /etc/httpd/modules/mod_jk.so: wrong ELF class: ELFCLASS64 解决方法

重启Apache报错apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting的解决方法

启动apache提示 : apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName (1)

apache源码编译时报错ssl_engine_init.c:546: error: 'STACK' undeclared (first use in this function)

操作系统:centos6.4 X86_64 apache版本:httpd-2.2.6 openssl版本:openssl-1.0.1e 源码编译apache时报如下错误: ssl_engine_init.c: In function 'ssl_init_ctx_protocol': ssl_engine_init.c:390: warning: assignment discards qualifiers from pointer target type ssl_engine_init.c:39

Apache HTTP Server 2.2.25执行Test Configuration时报错(Could not reliably determine the server's fully qualified domain name, using 192.168.0.103 for ServerName)

以httpd-2.2.25-win32-x86-openssl-0.9.8y.msi为例. Apache HTTP Server 2.2.25执行Test Configuration时,实际上是直接运行了httpd.exe C:\Program Files (x86)\Apache Software Foundation\Apache2.2\bin>httpd.exehttpd.exe: Could not reliably determine the server's fully qualif

独立运行Apache FtpServer 1.0.0启动时报错

本机已安装JRE 1.4.2_19-b04,通过独立运行的方式启动Apache FtpServer 1.0.0时报错. D:\apache-ftpserver-1.0.0>bin\ftpd.bat res\conf\ftpd-typical.xml Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/ftpserver/main/CommandLine (Unsupported