laravel 如何删除laravel php框架
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/26758515/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to remove laravel php framework
提问by qwertymaster
I installed Laravel PHP frameworkin ubuntu 14.04. But I want to uninstall it. I'm not getting any help about this.
Check the screen shot:
It says, "I've arrived", but I don't find any related laravel file in my system.
Please help me.
我在 ubuntu 14.04 中安装了Laravel PHP 框架。但我想卸载它。我没有得到任何帮助。
检查屏幕截图:
它说,“我到了”,但我在我的系统中没有找到任何相关的 Laravel 文件。请帮我。
回答by ceejayoz
A Laravel installation is just a folder containing source code. Remove it and you're all set.
Laravel 安装只是一个包含源代码的文件夹。删除它,你一切都准备好了。
If you created a MySQL database or something similar, you may want to delete that as well.
如果你创建了一个 MySQL 数据库或类似的东西,你可能也想删除它。
回答by Abhijit Jagtap
if you want to disable laravel.conf then go to terminal and paste below line
如果你想禁用 laravel.conf 然后去终端并粘贴下面的行
sudo a2ensite 000-default.conf
check if exist conf file by cd /etc/apache2/sites-available
通过 cd /etc/apache2/sites-available 检查是否存在 conf 文件
and if you want to enable laravel again then
如果你想再次启用 Laravel 那么
sudo a2dissite laravel.conf
for more check link https://www.howtoforge.com/tutorial/install-laravel-on-ubuntu-for-apache/
更多检查链接 https://www.howtoforge.com/tutorial/install-laravel-on-ubuntu-for-apache/
回答by J4GD33P 51NGH
sudo a2dissite laravel.conf
a2dismod rewrite
sudo systemctl restart apache2.service