Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/8.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
PHP-Zend-httpd(无pid文件)未在Mac上运行_Php_Macos_Apache_Zend Framework_Httpd.conf - Fatal编程技术网

PHP-Zend-httpd(无pid文件)未在Mac上运行

PHP-Zend-httpd(无pid文件)未在Mac上运行,php,macos,apache,zend-framework,httpd.conf,Php,Macos,Apache,Zend Framework,Httpd.conf,我的Mac操作系统是OSX El Capitan 我不明白 给予 及 给予 及 给予 在上面,您可以看到httpd(没有pid文件)没有运行 如何解决此问题?有关专业服务器或网络相关基础设施管理的问题与堆栈溢出无关,除非它们直接涉及编程或编程工具。您可能可以获得有关的帮助。首先使用ps ax查看httpd是否正在运行。如果是的话,它可能就是无法写入pidfile目录(通常/var/run)。如果它没有运行,请检查其错误日志文件以了解原因(其配置文件可能有问题)。有关专业服务器或网络相关基础设施管

我的Mac操作系统是OSX El Capitan

我不明白

给予

给予

给予

在上面,您可以看到httpd(没有pid文件)没有运行


如何解决此问题?

有关专业服务器或网络相关基础设施管理的问题与堆栈溢出无关,除非它们直接涉及编程或编程工具。您可能可以获得有关的帮助。首先使用
ps ax
查看httpd是否正在运行。如果是的话,它可能就是无法写入pidfile目录(通常
/var/run
)。如果它没有运行,请检查其
错误日志
文件以了解原因(其配置文件可能有问题)。有关专业服务器或网络相关基础设施管理的问题与堆栈溢出无关,除非它们直接涉及编程或编程工具。您可能可以获得有关的帮助。首先使用
ps ax
查看httpd是否正在运行。如果是的话,它可能就是无法写入pidfile目录(通常
/var/run
)。如果它没有运行,请检查它的
错误日志
文件以了解原因(可能是它的配置文件有问题)。
httpd -v
Server version: Apache/2.4.16 (Unix)
sudo apachectl restart
httpd not running, trying to start
/usr/local/zend/bin/apachectl restart [OK]
sudo /usr/local/zend/bin/zendctl.sh restart
Stopping Deployment [OK]
Starting Deployment [OK]
[19.01.2016 12:06:20 SYSTEM] watchdog for zdd is running. 
[19.01.2016 12:06:20 SYSTEM] zdd is running. 
Stopping Zend Server Monitor node [OK]
Starting Zend Server Monitor node [OK]
[19.01.2016 12:06:27 SYSTEM] watchdog for monitor is running. 
[19.01.2016 12:06:27 SYSTEM] monitor is running. 
httpd (no pid file) not running
/usr/local/zend/bin/apachectl stop [OK]
/usr/local/zend/bin/apachectl start [OK]
Stopping Zend Server GUI [Lighttpd] [OK]
spawn-fcgi: child signaled: 5
Starting Zend Server GUI [Lighttpd] [OK]
Stopping Java bridge [OK]
Starting Java bridge [OK]
Stopping JobQueue [OK]
Starting JobQueue [OK]
[19.01.2016 12:06:43 SYSTEM] watchdog for jqd is running. 
[19.01.2016 12:06:43 SYSTEM] jqd is running.