你好,这个问题解决了哈,原因是旧宝塔mysql服务和小皮冲突了,卸掉旧宝塔的mysql服务就正常了。
现在有两个新问题,
问题一:
mac 版的小皮最新版,每次修改apache的端口,然后重新启动apchae,就会报如下错误:
httpd: Syntax error on line 506 of /Applications/phpstudy/Extensions/Apache2.4.41/conf/httpd.conf: Cannot load modules/mod_log_rotate.so into server: dlopen(/Applications/phpstudy/Extensions/Apache2.4.41/modules/mod_log_rotate.so, 10): image not found
且查看当前apache的httpd.conf就会自动生成日志分割文本这些。。。如下:
LoadModule log_rotate_module modules/mod_log_rotate.so
RotateLogs On
RotateLogsLocalTime On
然后mac系统下又没有这个文件,我去拿win下的拷贝过来用,启动apache也会报错:
httpd: Syntax error on line 506 of /Applications/phpstudy/Extensions/Apache2.4.41/conf/httpd.conf: Cannot load modules/mod_log_rotate.so into server: dlopen(/Applications/phpstudy/Extensions/Apache2.4.41/modules/mod_log_rotate.so, 10): no suitable image found. Did find:\n\t/Applications/phpstudy/Extensions/Apache2.4.41/modules/mod_log_rotate.so: unknown file type, first eight bytes: 0x4D 0x5A 0x90 0x00 0x03 0x00 0x00 0x00\n\t/Applications/phpstudy/Extensions/Apache2.4.41/modules/mod_log_rotate.so: unknown file type, first eight bytes: 0x4D 0x5A 0x90 0x00 0x03 0x00 0x00 0x00
问题二:有时候点启动会卡在 正在启动... 或 正在关闭...
点重启功能也是这样的情况~