查看mysql,apache,php的编译参数

查看mysql编译参数:
cat /usr/local/mysql/bin/mysqlbug | grep CONFIGURE_LINE
查看apache编译参数:
cat $apachehome$/build/config.nice
查看php编译参数:
$PHP$/bin/php -i | grep configure

查看mysql数据库存放位置:

mysql> show variables like '%datadir%';
+---------------+-----------------+
| Variable_name | Value           |
+---------------+-----------------+
| datadir       | /var/lib/mysql/ |
+---------------+-----------------+
1 row in set (0.00 sec)

你可能感兴趣的:(apache,mysql,数据库,PHP,variables)