473,472 Members | 1,882 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Problem installing PHP 5.2.6

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
Jun 27 '08 #1
10 1277
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
Jun 27 '08 #2
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>

Jun 27 '08 #3
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
==================

Jun 27 '08 #4
Janwillem Borleffs wrote:
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...
"which apxs" gives me this:
/usr/local/apache/bin/apxs

I gather that I should then set the configure option to this:
--with-apxs2=/usr/local/apache/bin/apxs

Is that wrong? Thank you for your answer.

Best regards,
David List
Jun 27 '08 #5
Jerry Stuckle wrote:
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)
...........<snip>..........
What did your output from make test show? Are you sure there weren't
any errors in it?
Yes, as mentioned there is one error (and that's all I get!). Please see
above. I don't get anything specific to work with when I Google for that
error code in a PHP context.

Any ideas?

Best regards,
David List
Jun 27 '08 #6
David List wrote:
Jerry Stuckle wrote:
>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)
..........<snip>..........
>What did your output from make test show? Are you sure there weren't
any errors in it?

Yes, as mentioned there is one error (and that's all I get!). Please see
above. I don't get anything specific to work with when I Google for that
error code in a PHP context.

Any ideas?

Best regards,
David List
OK, sorry, I misunderstood. I thought this was from your make install.
Now I see I read it wrong.

What version of gcc are you using? I suspect it's an older one - and
may be causing problems.

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

Jun 27 '08 #7
David List schreef:
I gather that I should then set the configure option to this:
--with-apxs2=/usr/local/apache/bin/apxs

Is that wrong? Thank you for your answer.
Depends on whether you are using Apache2. If you using Apache from the
1.x branch, the line should read:

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

JW
Jun 27 '08 #8
Jerry Stuckle wrote:
What version of gcc are you using? I suspect it's an older one - and
may be causing problems.

Is this too old?

sol:~# which gcc
/usr/bin/gcc
sol:~# gcc -v
Reading specs from /usr/lib/gcc-lib/sparc-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)

I am already looking into installing a newer version, but would still
like to hear your opinion on the output above.

Best regards,
David List
Jun 27 '08 #9
Janwillem Borleffs wrote:
David List schreef:
>I gather that I should then set the configure option to this:
--with-apxs2=/usr/local/apache/bin/apxs

Is that wrong? Thank you for your answer.

Depends on whether you are using Apache2. If you using Apache from the
1.x branch, the line should read:

--with-apxs=/usr/local/apache/bin/apxs
I'm not, and if I try using that configure option, the configure script
complains about finding a 2.x Apache HTTPD, and the configure option
being for the 1.x versions.

Thank you for your answer.

Best regards,
David List
Jun 27 '08 #10
David List wrote:
Jerry Stuckle wrote:
>What version of gcc are you using? I suspect it's an older one - and
may be causing problems.


Is this too old?

sol:~# which gcc
/usr/bin/gcc
sol:~# gcc -v
Reading specs from /usr/lib/gcc-lib/sparc-linux/2.95.4/specs
gcc version 2.95.4 20011002 (Debian prerelease)

I am already looking into installing a newer version, but would still
like to hear your opinion on the output above.

Best regards,
David List
That's pretty old - over six years. I'm currently running 4.1.1-21 and
considering upgrading.

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

Jun 27 '08 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: fripper | last post by:
I posted this problem a couple of days ago but felt I might have better luck re-stating the problem. Apparently I messed up IIS (v. 5) somehow because I am suddenly unable to load web forms! A...
1
by: santhosh_176 | last post by:
:I Created a Pocket PC application for iPAQ 5450. Every thing went fine even installer creation. I could run the setup and install it into the actual device and worked fine. The application enables...
5
by: summerwind | last post by:
I have distributed my app to a few users without problems (Not too many anyway) using the packaging wizard. I now have a problem that it causing me a great deal of concern. My client has no MS...
1
by: AspDotNetDeveloper | last post by:
Hello, I have Windows 2003 Server with .Net Framework 1.1 installed (part of the OS), and have used Windows Update to install the Service Pack 2 (the only way you can install it). The install...
11
by: Magdelin | last post by:
Hi, I accidently uninstalled IIS 5.1 on my XP Pro workstation and I think I messed up my .Net framework. Then, I reinstalled IIS and ran aspnet_regiis -i. After this, all asp.net applications...
0
by: Benny Ng | last post by:
Hi,All, When i deploy Enterprise library with my application ,i used XCOPY to deploy it into my test server. But when application runs, shown some error related registry. (But actually I haven't...
0
by: OverTheTop | last post by:
All the usual Newbie stuff applies... I have a Windows2000 Server with ActivePerl and a module (DBD-Interbase) that worked fine. Trying to duplicate the environment on Windows2003 Server for...
1
by: sureshbup | last post by:
Hi to all, I am trying to install CPAN modules using the command perl -MCPAN -e 'install qw (Text::CSV_XS)' but i get the problem like this even i changed the working proxies but none is...
5
by: John | last post by:
Hi I have an Outlook add-in solution which includes a setup project. If I install the Outlook add-in by right clicking on the setup project and sleeting Install then the add-in gets installed...
0
by: trihaitran | last post by:
I am reading chapter two of the Pylons book. In the text I am told to run: $ python virtualenv.py --no-site-packages env This is what I got back: $ python virtualenv.py --no-site-packages...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.