Re: Re: Mac OS X + Apache2 + Dynamic Libraries
| From: | Lists | Date: | Mon, 30 Mar 2009 19:06:50 +0000 |
| Subject: | Re: Re: Mac OS X + Apache2 + Dynamic Libraries | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-290859@lists.php.net to get a copy of this message | ||
Stutter Stutters wrote:
I used Pecl to install memcache and imagick, I ran the command you mentioned and this was the output: $ file /usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so /usr/lib/php/extensions/no-debug-non-zts-20060613/memcache.so: Mach-O bundle i386 I don't see anything regarding x86_64, so I assume it's not built with 64 bit support. Sounds like an awesome time to fix. Especially, since I don't know where to begin :( Any pointers? -StutterOne option: it may be better to run your entire web system in 32 bit mode. It's more compatible than 64bit and you really don't lose anything regarding performance. The default Leopard PHP mod will run in 32bit mode. To do this, you'd need to 'thin' your apache build using a command-line called lipo. Use your google fu: lipo thin httpd i386 (make sure to do a backup of your httpd file and call it something like: httpdFat.bu. This way you can always revert back if compatibility is not the issue.) HTH, Donovan -- =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o D. BROOKE EUCA Design Center WebDNA Software Corp. WEB:> http://www.euca.us | http://www.webdna.us =o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o=o