广告
返回顶部
首页 > 资讯 > 后端开发 > PHP编程 >查看mysqk,php,apache,nginx编译参数
  • 209
分享到

查看mysqk,php,apache,nginx编译参数

参数phpmysqk 2023-01-30 21:01:45 209人浏览 安东尼
摘要

由于服务器经过多个人维护,没有文档,需要迁移。但是必须知道编译参数才行下面列举几个常用的线上Mysql编译参数:cat /usr/local/mysql/bin/mysqlbug|grep configure "./co

由于服务器经过多个人维护,没有文档,需要迁移。但是必须知道编译参数才行

下面列举几个常用的


线上Mysql编译参数:

cat /usr/local/mysql/bin/mysqlbug|grep configure

 

"./configure '--prefix=/usr/local/mysql' '--with-charset=utf8' '--with-extra-charsets=all' '--enable-static'"

 

PHP编译参数:

/usr/local/php/bin/php -i |grep configure

 

'./configure'  '--prefix=/usr/local/php' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-config-file-path=/usr/local/php/etc' '--with-jpeg-dir=/usr/local/jpeg6/' '--with-png-dir=/usr/local/libpng/' '--with-freetype-dir=/usr/local/freetype/' '--with-zlib-dir' '--with-mysql=/usr/local/mysql/' '--with-mysqli=/usr/local/mysql/bin/mysql_config' '--with-curl=/usr/local/curl/' '--with-openssl' '--enable-mbstring' '--with-gd=/usr/local/gd/' '--enable-magic-quotes' '--with-gettext' '--with-iconv'

 

apache编译参数:

cat /usr/local/apache/build/config.nice

 

"./configure" \

"--prefix=/usr/local/apache" \

"--with-mysql=/usr/local/mysql/" \

"--enable-module=so" \

"--enable-mods-shared=max" \

"--enable-rewrite=shared" \

"--enable-mem-cache" \

"--enable-cache" \

 

Nginx编译参数:

/usr/local/nginx/sbin/nginx -V

 

--prefix=/usr/local/nginx --user=nginx --group=nginx --with-Http_ssl_module --with-http_stub_status_module --with-http_gzip_static_module --with-pcre


--结束END--

本文标题: 查看mysqk,php,apache,nginx编译参数

本文链接: https://www.lsjlt.com/news/178899.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作