Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
求官方技术人员介绍一下PHP仓库里的编译方式如何分模块的
Experiences and Insight
749
views ·
2
replies ·
To
floor
Go
呆了个呆
deepin
2016-01-19 18:34
Author
我看了下,用仓库安装的 PHP7 的 /usr/lib/apache2/modules/libphp7.0.so 文件大小是 11M 左右。
而我自己用 PHP 源码编译的模块为 30M 左右,我就想知道为什么官方编译的这么小,debian 官方仓库的里的也是很小的。想学习一下,有人教教不?
Reply
Like 0
Favorite
View the author
All Replies
liujianfeng
deepin
2016-01-19 19:05
#1
apt-get source php7.0
Copy the Code
下载源码
在debian/rules可以找到编译的configure参数,对比下你的
Reply
Like 0
View the author
MattD
deepin
2016-01-19 19:41
#2
跟编译器的优化也有关系吧……另外也要看最终是否去掉调试符号,是否strip啥的
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Adding a Dancing Spectrum Bar to the Deepin Taskbar | deepin-spectrum
Popular Events
More
而我自己用 PHP 源码编译的模块为 30M 左右,我就想知道为什么官方编译的这么小,debian 官方仓库的里的也是很小的。想学习一下,有人教教不?