解决报错合集--搭建Dcat-Admin框架
文章平均质量分 52
搭建Dcat-Admin框架时淌过的所有坑及解决方法。
have_a_cat
我是 有猫彬,一个爱法律的程序员,一名爱做菜的生活家~
展开
-
安装Dcat-Admin框架后,执行“php artisan serve”命令后,启动的还是laravel框架
安装Dcat-Admin框架后,执行“php artisan serve”命令后,启动的还是laravel框架。解决:浏览器的地址应为http://127.0.0.1:8000/admin,千万注意记得加“/admin”!!原创 2021-04-01 09:55:06 · 326 阅读 · 0 评论 -
安装、启动laravel框架时 在/home/admin/test10目录下找不到.env文件(已解决)
安装、启动laravel框架时 在/home/admin/test10目录下找不到.env文件(已解决)原创 2021-03-30 16:49:02 · 435 阅读 · 0 评论 -
解决curl error 28 while downloading https://repo.packagist.org/p2/laravel/frame work.json: OpenSSL报错
执行“composer create-project --prefer-dist laravel/laravel 项目名称”时报错curl error 28 while downloading https://repo.packagist.org/p2/laravel/frame work.json: OpenSSL原创 2021-03-30 16:44:09 · 22030 阅读 · 3 评论 -
解决:虚拟机中有多个版本的PHP,默认PHP不是想要的。(安装了PHP7.4,PHP-v显示PHP7.2怎么办)
虚拟机中有多个版本的PHP,默认PHP不是想要的。(比如图中,直接”php -v”查到版本是7.2.24;用安装路径“/usr/local/php/bin/php -v”版本是7.4.16)不用质疑,安装正确,是你没切换版本。依次执行以下命令。rm -f /usr/bin/phpln -sf usr/local/php/bin/php /usr/bin/php在安装PHP么?欢迎来看我的原创文章“零基础Centos8安装PHP7.4”(https://blog.csdn.net.原创 2021-03-26 15:09:42 · 485 阅读 · 0 评论 -
安装PHP7.4时$PATH 在/etc/profile中设置后不生效
安装PHP7.4时$PATH 在/etc/profile中设置后不生效解决:可能是权限不够,给/etc目录赋权限后重新加载chmod a+x /etcsource /etc/profile在安装PHP么?欢迎来看我的原创文章“零基础Centos8安装PHP7.4”(https://blog.csdn.net/have_a_cat/article/details/115206879),这里有详细安装步骤、安装截图、报错解决,只要跟着步骤,就能完成PHP7安装...原创 2021-03-26 15:07:04 · 358 阅读 · 0 评论 -
执行命令service php-fpm start时报ERROR: No pool defined. at least one pool section must be specified in co
执行命令service php-fpm start时报ERROR: No pool defined. at least one pool section must be specified in config fileERROR: failed to post process the configurationERROR: FPM initialization failed原创 2021-03-26 15:10:32 · 692 阅读 · 0 评论 -
执行命令service php-fpm start时报ERROR: failed to load configuration file ‘/usr/local/php/etc/php-fpm.conf
安装PHP7.4时执行命令service php-fpm start时报ERROR: failed to load configuration file '/usr/local/php/etc/php-fpm.conf'解决:依次执行以下命令cd /usr/local/php/etccp php-fpm.conf.default php-fpm.conf在安装PHP么?欢迎来看我的原创文章“零基础Centos8安装PHP7.4”(https://blog.csdn.net/hav原创 2021-03-25 16:41:14 · 2235 阅读 · 2 评论 -
执行命令service php-fpm start时报 Unit php-fpm.service not found
安装PHP7.4时执行命令service php-fpm start时报Unit php-fpm.service not found原创 2021-03-25 16:39:02 · 7014 阅读 · 0 评论 -
执行命令./configure --prefi...时报configure: error: Package requirements (oniguruma) were not met:
解决configure: error: Package requirements (oniguruma) were not met:Package 'oniguruma', required by 'virtual:world', not found报错原创 2021-03-25 16:38:17 · 2713 阅读 · 1 评论 -
执行命令./configure --prefi...时报Package ‘libcurl‘, required by ‘virtual:world‘, not found
解决configure: error: Package requirements (libcurl >= 7.15.5) were not met:Package 'libcurl', required by 'virtual:world', not found报错。原创 2021-03-25 16:37:44 · 5279 阅读 · 2 评论 -
执行命令./configure --prefi...时报Package ‘sqlite3‘, required by ‘virtual:world‘, not found
解决configure: error: Package requirements (sqlite3 > 3.7.4) were not met:Package 'sqlite3', required by 'virtual:world', not found报错。原创 2021-03-25 16:37:15 · 3746 阅读 · 0 评论 -
执行命令./configure --prefi...时报Package ‘openssl‘, required by ‘virtual:world‘, not found
解决configure: error: Package requirements (openssl >= 1.0.1) were not met:Package 'openssl', required by 'virtual:world', not found报错原创 2021-03-25 16:36:36 · 4325 阅读 · 0 评论 -
执行命令./configure --prefi...时报configure: error: Package requirements (libxml-2.0 >= 2.7.6) were not me
解决configure: error: Package requirements (libxml-2.0 >= 2.7.6) were not met:Package 'libxml-2.0', required by 'virtual:world', not found报错。原创 2021-03-25 16:35:49 · 5256 阅读 · 0 评论 -
执行命令./configure --prefi...时报configure: error: no acceptable C compiler found in $PATH
解决configure: error: in `/root/php-7.4.16':configure: error: no acceptable C compiler found in $PATH报错原创 2021-03-25 16:34:39 · 263 阅读 · 1 评论