如何修改php源代码并重新编译呢? [英] How to modify the php source code and recompile it?

查看:886
本文介绍了如何修改php源代码并重新编译呢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我的研究,我修改的c代码,使php(而不是用php写的代码,但实际上使php)。我想要一些编译它,并使其与apache工作..我如何做到这一点?

Hi for my research, i modify the c code that makes the php ( not the code that is written with php but that which actually makes php ). I want some way of compiling it and making it work with apache.. How do i do that?

推荐答案

朋友:

http://www.php.net/manual/en/install.unix.apache2.php

./configure --with-apxs2=/usr/local/apache2/bin/apxs --other-options
make
make install

这篇关于如何修改php源代码并重新编译呢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆