安装PHP 5.2.6时出现问题 [英] Problem installing PHP 5.2.6

查看:92
本文介绍了安装PHP 5.2.6时出现问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以帮助我弄清楚为什么我在安装PHP 5.2.6时尝试
不起作用?我甚至不知道从哪里开始

寻找原因。

当我发出configure时,一切顺利和make,但当我发出

make test时,我得到了这个输出:

构建完成。

Don'不要忘记运行''make test''。

make:[test]错误139(忽略)


如果我发出make install无论如何,我得到一个功能失调的PHP

安装。甚至php -v也是如此。给我一个分段错误。

我的配置选项是:

--prefix = / usr / local / php --with-config-file-path = / usr / local / php / etc

--with-apxs2 = / usr / local / apache / bin / apxs --without-pear --with-gd

- with-curl --with-mysql = / usr / local / mysql

--with-pdo-mysql = / usr / local / mysql --with-jpeg-dir = / usr

--with-png-dir = / usr --with-freetype-dir = / usr --with-zlib-dir = / usr


哦,和在任何人考虑指出这一点之前:我很清楚在news.php.net服务器上的php.install组

。正如我已经指出

这个组中的另一个主题我完全无法在该服务器上发布任何组




提前致谢。


祝你好运,

David List

解决方案

David List schreef:


我的配置选项包括:



[...]


--with-apxs2 = / usr / local / apache / bin / apxs



你确定吗这个标志指向正确的apxs版本?我希望
可以预期/ usr / local / apache2 / bin / apxs ...

JW


问候,Janwillem Borleffs。

回复你在2008年6月9日星期一,19:31:02发出的消息,


>我的配置选项如下:



[...]


> - with-apxs2 = / usr / local / apache / bin / apxs

>


你确定这个标志指向正确的apxs版本吗?我希望
会像/ usr / local / apache2 / bin / apxs ...



因为apache2.2,它只是"阿帕奇"我认为。但我不确定。

-

真诚的你,AnrDaemon< an ******* @ freemail.ru>


David List写道:


这里的任何人都可以帮我弄清楚为什么我会尝试

安装PHP 5.2.6不起作用?我甚至不知道从哪里开始

寻找原因。

当我发出configure时,一切顺利和make,但当我发出

make test时,我得到了这个输出:

构建完成。

Don'不要忘记运行''make test''。

make:[test]错误139(忽略)


如果我发出make install无论如何,我得到一个功能失调的PHP

安装。甚至php -v也是如此。给我一个分段错误。

我的配置选项是:

--prefix = / usr / local / php --with-config-file-path = / usr / local / php / etc

--with-apxs2 = / usr / local / apache / bin / apxs --without-pear --with-gd

- with-curl --with-mysql = / usr / local / mysql

--with-pdo-mysql = / usr / local / mysql --with-jpeg-dir = / usr

--with-png-dir = / usr --with-freetype-dir = / usr --with-zlib-dir = / usr


哦,和在任何人考虑指出这一点之前:我很清楚在news.php.net服务器上的php.install组

。正如我已经指出

这个组中的另一个主题我完全无法在该服务器上发布任何组




提前致谢。


祝你好运,

David List



你的输出是什么来自make test show?你确定没有任何错误吗?


-

======= ===========

删除x来自我的电子邮件地址

Jerry Stuckle

JDS计算机培训公司
js ******* @ attglobal.net

==================


Could anyone here please help me figure out why my attempts at
installing PHP 5.2.6 do not work? I don''t even know where to begin
looking for causes.

All goes well when I issue "configure" and "make", but when I issue
"make test", I get this output:
Build complete.
Don''t forget to run ''make test''.
make: [test] Error 139 (ignored)

If I issue "make install" anyway, I get a dysfunctional PHP
installation. Even "php -v" gives me a segmentation fault.
My configure options are these:
--prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc
--with-apxs2=/usr/local/apache/bin/apxs --without-pear --with-gd
--with-curl --with-mysql=/usr/local/mysql
--with-pdo-mysql=/usr/local/mysql --with-jpeg-dir=/usr
--with-png-dir=/usr --with-freetype-dir=/usr --with-zlib-dir=/usr

Oh, and before anyone considers pointing that out: I am well aware of
the php.install group at the news.php.net server. As I have pointed in
another thread in this group I am completely unable to post to any group
at that server.

Thanks in advance.

Best regards,
David List

解决方案

David List schreef:

My configure options are these:

[...]

--with-apxs2=/usr/local/apache/bin/apxs

Are you sure that this flag is pointing to the correct apxs version? I
would expect something like /usr/local/apache2/bin/apxs...
JW


Greetings, Janwillem Borleffs.
In reply to Your message dated Monday, June 9, 2008, 19:31:02,

>My configure options are these:

[...]

>--with-apxs2=/usr/local/apache/bin/apxs
>

Are you sure that this flag is pointing to the correct apxs version? I
would expect something like /usr/local/apache2/bin/apxs...

Since apache2.2, it is just "apache" I think. But i''m unsure.
--
Sincerely Yours, AnrDaemon <an*******@freemail.ru>


David List wrote:

Could anyone here please help me figure out why my attempts at
installing PHP 5.2.6 do not work? I don''t even know where to begin
looking for causes.

All goes well when I issue "configure" and "make", but when I issue
"make test", I get this output:
Build complete.
Don''t forget to run ''make test''.
make: [test] Error 139 (ignored)

If I issue "make install" anyway, I get a dysfunctional PHP
installation. Even "php -v" gives me a segmentation fault.
My configure options are these:
--prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc
--with-apxs2=/usr/local/apache/bin/apxs --without-pear --with-gd
--with-curl --with-mysql=/usr/local/mysql
--with-pdo-mysql=/usr/local/mysql --with-jpeg-dir=/usr
--with-png-dir=/usr --with-freetype-dir=/usr --with-zlib-dir=/usr

Oh, and before anyone considers pointing that out: I am well aware of
the php.install group at the news.php.net server. As I have pointed in
another thread in this group I am completely unable to post to any group
at that server.

Thanks in advance.

Best regards,
David List

What did your output from make test show? Are you sure there weren''t
any errors in it?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================


这篇关于安装PHP 5.2.6时出现问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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