您好,欢迎来到三六零分类信息网!老站,搜索引擎当天收录,欢迎发信息

Mac 下mysql,apache,php的一些配置操作

2025/12/12 7:07:27发布18次查看
php.ini
文件地址 /private/etc/php.ini php不显示错误提示,那么 display_errors = off 和 error_reporting 前的注释(;)去掉,重启apache就ok
apache
开启重启和关闭 sudo apachectl start/restart/stop 把.php/.html文件放在/library/webserver/documents下,直接在浏览器中运行即可。
mysql
开启 /usr/local/mysql/bin/mysql -u root -p 修改用户密码 启动mysql; mysql>use mysql; mysql> update user set password=password( new password) where user=user name; mysql> flush privileges;
该用户其它信息

VIP推荐

免费发布信息,免费发布B2B信息网站平台 - 三六零分类信息网 沪ICP备09012988号-2
企业名录 Product