php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58259 pecl install apc problem in 64 bit, always produce 32 bit
Submitted: 2008-07-01 03:45 UTC Modified: 2009-09-24 22:32 UTC
From: xtreeme at gmail dot com Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 5.2.0 OS: Solaris 10 64 bit
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
34 - 9 = ?
Subscribe to this entry?

 
 [2008-07-01 03:45 UTC] xtreeme at gmail dot com
Description:
------------
There is a problem when I tried to get APC extension on Solaris 10 64 bit.

After issuing:
# pecl install apc

The output (apc.so) is 32 bit ELF format. When I try to look at the script, it used uname -p that always return i386 no mater in Solaris 32 or 64 bit.

Can you change to check using isainfo -b to get the right version of binary file?

Thanks,
Regards,
Adhari

Reproduce code:
---------------
Using Solaris 10 U5 64 bit kernel mode, Sun Java Web Server+PHP Pack or Apache2 + PHP 5.x.

# pecl install apc


Expected result:
----------------
64 bit ELF binary format

Actual result:
--------------
Investigate the output that always in 32 bit ELF format.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-07-05 19:54 UTC] pierre dot php at gmail dot com
Moved to APC
 [2009-06-14 00:29 UTC] kalle@php.net
Without looking deeply into this, and not being an expert on anything non Windows related then I guess this issue isn't in APC but phpize when it does the lookup?

Does this happen with other extensions aswell?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 08:01:27 2024 UTC