ubuntu LAMP 配置
ubuntu LAMP 配置文件位置:[*]
apache:/etc/apache2/apache2.conf
[*]
php:/etc/php5/apache2/php.ini
[*]
mysql:/etc/mysql/my.cnf
ubuntu LAMP 常见命令:
[*]
apache重启:sudo /etc/init.d/apache2 restart
[*]
apache启动:sudo /etc/init.d/apache2 start
[*]
apache停止:sudo /etc/init.d/apache2 stop
[*]
mysql重启:sudo /etc/init.d/mysql restart
ubuntu LAMP 配置开发环境:
[*]修改PHP配置文件,脚本出错时要报错:
1 // 第521行修改为
2 error_reporting = E_ALL
3
4 // 第538行修改为
5 display_errors = On
页:
[1]