打开php会出现下载框,而不是解释,哪错了
时间:2010-03-30
来源:互联网
本帖最后由 lyf362345 于 2010-03-30 19:50 编辑
apache都装好了,php也装好了
版本是apache2.2,php5.3.2
因为是用nginx做的前端所以apache开的东西少
这是我编译的参数
apache:
./configure --prefix=/usr/local/apache2 --enable-access=shared --enable-setenvif=shared --enable-negotiation=shared --enable-mime=shared --enable-autoindex=shared --enable-negotiation=shared --enable-alias=shared --enable-so --enable-rewrite=shared
php:
./configure --prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5/etc --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --with-xmlrpc --with-bz2 --disable-rpath --enable-discard-path --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-mcrypt --with-mhash --with-apxs2=/usr/local/apache2/bin/apxs
中途还出现过/usr/bin/ld: cannot find -lltdl错误,什么意思?我把--with-apxs2=/usr/local/apache2/bin/apxs去掉就可以了
我解压的命令是tar zxvf ....没错吧
apache都装好了,php也装好了
版本是apache2.2,php5.3.2
因为是用nginx做的前端所以apache开的东西少
这是我编译的参数
apache:
./configure --prefix=/usr/local/apache2 --enable-access=shared --enable-setenvif=shared --enable-negotiation=shared --enable-mime=shared --enable-autoindex=shared --enable-negotiation=shared --enable-alias=shared --enable-so --enable-rewrite=shared
php:
./configure --prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5/etc --with-iconv-dir=/usr/local --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --with-xmlrpc --with-bz2 --disable-rpath --enable-discard-path --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-mcrypt --with-mhash --with-apxs2=/usr/local/apache2/bin/apxs
中途还出现过/usr/bin/ld: cannot find -lltdl错误,什么意思?我把--with-apxs2=/usr/local/apache2/bin/apxs去掉就可以了
我解压的命令是tar zxvf ....没错吧
作者: lyf362345 发布时间: 2010-03-30
还有就是编译不出来libphp5.so我自己复制了一个进去 但是在启动apache的时候会提示打不开,apache不认识他?编译的时候少了哪个选项
作者: lyf362345 发布时间: 2010-03-30
OS是什么?
作者: level 发布时间: 2010-03-30
回复 3# level
OS就是系统的意思
哪为知道原因啊
OS就是系统的意思
哪为知道原因啊
作者: lyf362345 发布时间: 2010-03-31
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28