linux php源码编译完成之后
今天在查看php apache 错误日志文件error_log 发现有很多的错误,于是想到了php的'./configure' '--with-apxs2=/usr/sbin/apxs' '--with-mysql=/usr/local/mysql' '--enable-debug' '--with-layout=PHP' '--with-config-file-path=/etc/php.ini' '--with-config-file-scan-dir=/etc' '--enable-sigchild' '--enable-magic-quotes' '--enable-libgcc' '--with-curlwrappers' '--enable-ftp' '--enable-gd-native-ttf' '--enable-mbstring' '--enable-pcntl' '--enable-shmop' '--enable-soap' '--enable-sqlite-utf8' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-wddx' '--enable-zip' '--enable-calendar' '--enable-bcmath' '--with-gd' '--with-zlib
这是我的编译参数,但是我现在已经编译完成了 我想改变下编译参数该怎么弄呢?我去查看了php的配置文件 但是发现里面木有,请教高手解决 用你新的参数再次configure,包含原来你不想变化的参数,再make 难道make 之后不需要在make install 了吗?? 我都纳闷了,,,难道说不用这种办法,只修改配置文件php.ini 不行吗? 如果不是php核心的话。只是想用扩展模式的话。
cd ext
phpize
configure --with-php-config=/xxx/php/bin/php-config
make;make install
去ini里面把这个so文件加上extension=yyy.so 我只是想修改一个编译参数而已,并不是想新增模块啊。
:em17::em17:
页:
[1]