News Feed
Sections




News Archive
feed this:

Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Rob Allen's Blog:
Setting up PHP on OS X Leopard
March 06, 2009 @ 07:57:23

Rob Allen has made a new post to his blog today showing how he set up PHP (with MySQL, Apache and a few other extensions) on his OS X (Leopard) system.

In the vein of some of Lorna's articles, this is more a note for myself than anything else. Not everything is explained in detail as it assumes you know how to use a command line...These are the steps I take to get the Apple supplied PHP working with GD, PDO_MySQL and Xdebug working on OS X 10.5.

He show how to: run Apache in 32 bit mode, download and install MySQL, setup and configure Apache, changes values in the php.ini and install the other extensions (like XDebug and the GD library). He uses the latest PHP 5 distribution at the time - PHP 5.2.6 - but these instructions should work for any in the PHP 5.x series you might want to use.

0 comments voice your opinion now!
osx leopard mysql apache setup install gs xdebug phpunit


SugarCRM Developers Blog:
Enabling IMAP support under OS X Leopard
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.

0 comments voice your opinion now!
imap support leopard osx shared module compile


Havard Eide's Blog:
Leopard and PHP
January 14, 2008 @ 12:08:00

Havard Eide is asking for your help in a new entry to his blog. He's looking for ways to speed up his development in Eclipse, specifically in the debugging.

There is one thing I do need over everything else: remote debugging. Having used Zend Studio for 3 years now it hasn't been the best editor ( I'd rather prefer PHPEclipse/PDT ) but the remote debugging facility is superb [...] Eclipse it has all the tools you need to develop with but the debugging is slow, way too slow!

He's looking for anyone out there that might be able to help him speed up the debugging on his Leopard-installed version of Eclipse ("So slow actually that I had to install Zend Studio 5.5 for whenever I have to debug a file...")

0 comments voice your opinion now!
leopard osx mac zendcore eclipse debugging leopard osx mac zendcore eclipse debugging


Sean Coates' Blog:
php-5.2.5 on Leopard
November 26, 2007 @ 08:45:00

In a recent entry, Sean Coates shares some tips he found when working on a project (the redesign of the php|architect website) and trying to set up a development environment on his Mac in the latest version of Apple's operating system - Leopard.

There are a bunch of things wrong with Leopard, but over all I'm pretty happy with it. I did, however, have a bit of a hard time getting my development environment up and running (I did a clean install). I'll outline the steps that I took to get a functioning Apache, PHP, MySQL installed. Sure, you could use the leopard-bundled Apache and PHP, but if you're like me, you generally upgrade PHP (and use weird extensions) a lot more often than Apple will upgrade it.

He walks through the entire installation, complete with the commands that'll need to be made to both make the install and configure the Apache instance to work with PHP.

0 comments voice your opinion now!
leopard osx install compile mac leopard osx install compile mac


Wez Furlong's Blog:
PHP Objective-C Bridge
November 05, 2007 @ 12:04:00

Wez Furlong has posted an example showing a cool little tool that he's whipped up that looks to bridge the gap between PHP and the Objective-C runtime:

I've had some code hanging around on my laptop for the better part of a year (feels like two, but I don't think I've had my MBP that long), that implements a bridge between PHP and the Objective-C runtime.

Yesterday I debugged the last portion that I regarded as a total showstopper for anyone else that might want to use it, and added a script that pulls in your PHP installation and dependent libraries (such as Fink or Mac Ports libraries) and generates a "Bundle" and optionally a DMG containing the Bundle.

He had a fellow developer try it out on Leopard too (things broke, but most are fixed) who also created a simple ping example to show off this project in its (very early) alpha stages. He mentions in the post how to get to the code, but if you can't locate it, just wait a bit - he'll have it posted up soon enough.

Also check out Sean Coates' and Joseph Crawford's comments on the project too.

0 comments voice your opinion now!
objectivec bridge project ping example leopard objectivec bridge project ping example leopard


Tobias Ebnother's Blog:
Leopard native apache with custom (64bit) PHP
November 02, 2007 @ 07:58:00

Christian Stocker points out a blog post from Tobias Ebnother showing how to set up a native apache instance on Leopard (OS X) with a 64 bit PHP included.

With massive! help from Marc Ammann I was able to build a PHP Binary that loads with the Leopard shipped Apache.

His method replaces the standard iconv file with a custom built one (based on this source) prior to compiling. Then, in his configure, he sets certain flags, specifically the "arch x86_64" one, to get it to recognize the new setup.

0 comments voice your opinion now!
leopard osx install 64bit apache instance leopard osx install 64bit apache instance


Jeff Moore's Blog:
Working with PHP 5 in Mac OS X 10.5
October 29, 2007 @ 11:13:00

In his latest post, Jeff Moore talks about a much needed upgrade to a popular operation system (the Leopard version of Mac OS X) and something that it brought with it as a default - a version 5 installation of PHP (5.2.4 in fact).

His post is a guide to setting up a development environment on your newly upgraded system. He's broken it up into quite a few steps:

  • Enable Developer Tools
  • Editing Configuration Files
  • Enabling PHP
  • Starting Apache
  • Visiting our Web Site
  • Showing the World
  • Enabling a Personal Website
  • Virtual Hosting
  • Sharing with the World, Part II
  • Installing MySQL
  • Bring the mysql.sock to PHP
  • Where is PEAR?
  • PHP .ini configuration

Don't worry, each of the sections in the list don't have much more than one or two paragraphs under them and they're loaded with links to help you through some of the more detailed points.

0 comments voice your opinion now!
maxos leopard development environment php5 maxos leopard development environment php5



Community Events





Don't see your event here?
Let us know!


wordpress developer podcast framework release install application interview laravel unittest list code series library introduction configure community threedevsandamaybe api language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework