 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Derick Rethans' Blog: PHP on OpenMoko
by Chris Cornutt September 02, 2008 @ 11:11:15
Having just received his brand new Neo Freerunner device (a linux-based phone) Derick Rethans did what any other good PHP developer out there would do - he installed PHP on it right away.
As I mentioned, the Freerunner is basically a Linux computer - which means total freedom of what you install on it. Traditionally it comes with perl and python, including GTK bindings. However, no PHP is found on it. I set out to change that. Unfortunately there were some issues with cross compiling, so I decided to compile PHP on the phone. There were some issues with this.
Because the included BusyBox toolset (that emulates much of the traditional Unix tools) didn't have all he needed to compile directly, he compiled the "coreutils" libraries and installed them to the phone. After a few manual tweaks and file copies he had what he needed and ran the compile without issues. He even created a package you can download (a countdown timer) to see if your install is working correctly.
voice your opinion now!
openmoko phone compile neofreerunner busybox coreutils
SugarCRM Developers Blog: Enabling IMAP support under OS X Leopard
by Chris Cornutt August 28, 2008 @ 12:05:01
John Mertic passed along a note about a new post to the SugarCRM developers blog detailing how to enable IMAP support for PHP on an OS X machine.
With the release of Mac OS X 10.5 Leopard last fall, Apple (finally) included a modern version of PHP (currently version 5.2.6 as of this writing). [...] However, the default install of PHP that Apple included didn't include all of the available PHP extensions. Most notable is the IMAP extension, which is used in SugarCRM for the Campaigns and Emails modules. However you can build this extension and have it loaded dynamically, without affecting the rest of the default PHP install.
He shows where to get the packages and libraries you'll need to get the support working. The method involves building a shared module and including it to be loaded in your php.ini. This way it doesn't disrupt anything the current build has and you don't have to recompile everything over again.
voice your opinion now!
imap support leopard osx shared module compile
Tony Bibbs' Blog: PHP 5.3 on Mac OS X 10.5
by Chris Cornutt August 05, 2008 @ 13:49:58
In a recent post to his blog Tony Bibbs shares his experience with getting the most recent release (PHP 5.3 alpha) of PHP up and working on his MacBook.
If there is anything you should gleam from this article for future reference, Leopard comes with a 64bit Apache installation.
He points out this fact because, if you go and build it as per the normal install instructions, it will toss a "wrong architecture" error. He points out a blog post from Marc Liyanage that helped him understand a bit better. His fix was to run Apache as 32 bit instead of trying to get PHP to compile up to its 64 bit standards. He even includes the two commands you'll need to change Apache over to run this way.
voice your opinion now!
mac osx php5 alpha compile 32bit 64bit
Elizabeth Smith's Blog: The Great Compile Project
by Chris Cornutt March 10, 2008 @ 10:29:00
Elizabeth Smith has set out on something she calls the Great Compile Project - her effort to get all dependencies for PHP and PECL compiled on (at the least) Visual Studio 2005 transparently and provided openly.
Anyone crazy enough to help out is more than welcome. I'm currently working on the GTK dependency stack, which will hit quite a few PHP dependencies and PECL extension dependencies in the process. And yes I'd love to submit my hacks/fixes upstream, if someone could find me some information (where do you send libiconv patches?)
Her post mentions some of the things she's already been working on to help further the cause - compiling various Open Source libraries, figuring out issues surrounding MiniGW and some examples of more complex dependency issues she's come across.
voice your opinion now!
compile project windows visualstudio pecl dependency
Hasin Hayder's Blog: Installing Imagick extension for PHP in Ubuntu 7.10
by Chris Cornutt February 07, 2008 @ 09:30:00
Hasin Hayder has provided some instructions he's created to install the Imagick extension for PHP on a Ubuntu linux system (7.10) in a new blog entry.
I already have ImageMagick installed in my machine and I tried to install the Imagick extension for PHP but I was stuck with strange errors. I have spent couple of hours today to figure out what I did wrong and Why I cant build that extension. Finally I've figured out that I must install ImageMagick from source first to build that extension. Heres how to.
He walks through the install, talking about where to get the package from, where to get the PECL extension for PHP and the compile process (with the result of a .so file PHP's extension can use).
voice your opinion now!
ubuntu imagick extension pecl compile shared module
John Coggeshall's Blog: Compiling extensions for Zend Core
by Chris Cornutt January 08, 2008 @ 09:32:00
John Coggeshall has blogged about a method he's worked up for compiling extensions into the Zend Core software.
While Core does ship with a large list of extensions (which are all QA'd and supported by Zend) there are times when you would like to include non-official extensions from PECL for various reasons.
He breaks it down into a few simple steps - download, "phpize" the extension, compile it and add the extension to the php.ini. He details the second step of the process (the phpize) because of some of the differences there are between doing it for a normal PHP install and a Zend Core install.
He also provides directions for an exception to the rule - compiling a PDO driver for your ZC install. You'll have to trick the Zend Core installation into using the right files, though. Full instructions are included.
voice your opinion now!
compile extension zendcore pdo sqlite phpize compile extension zendcore pdo sqlite phpize
|
Community Events
Don't see your event here? Let us know!
|