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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: xtreeme at gmail dot com
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Tue May 13 12:01:27 2025 UTC