Last updated March 18, 2010. Created by geodaniel on February 4, 2009.
Edited by ReMedAct, jmstacey. Log in to edit this page.
If you are using the standard installation of PHP and MySQL on Mac OS X 10.5 (Leopard), and you want to try out the latest Drupal 7 code, you will run into some problems. The standard installation of PHP that Apple include with Leopard does not include support for MySQL databases through the PDO layer, which Drupal now relies upon to gather information about which databases are available on the system.
There are some suggestions online (see below) for how to add this support to your installation, but your luck may vary. As such, you may find it better to switch to a pre-packaged solution such as MAMP (recent version with PHP 5.2.x or later for Drupal 7).
Resources:
Comments
What about Snow Leopard?
Anyone care to comment ?
Drupal 7.8
MAMP rocks
I'm using Drupal 7 on Snow Leopard and MAMP with no problems. Not sure if it would work without MAMP, but I highly recommend MAMP anyways.
Drupal 7 Beta 3 under Snow Leopard
I installed using the stuff that ships with the OS. It works fine.
There is stuff in 7 that is not yet ready for prime time (or maybe even secondary time?). Currently my biggest problem is that there generally appears no way to select files that are local (on my hard drive). In any situation where I need to "upload" a file, Drupal is attempting to use FTP and falling into a black hole.
Example: I set up a content type with a "graphic" field. The dialog that shows up when I try to create content of this type gives me the options to "Browse" and "Upload". In this context, Browse means to find the local copy of the file that is to be "uploaded". I get a half-page of error messages if I try this.
It really needs a "Browse" and "Use local file". One of the byproducts is that if a graphic is to be used in multiple places (i.e. in more than one node), there doesn't appear to be a mechanism to share one copy of the file.
———
JRG
No problem with local file upload
I'm not experiencing any problems with uploading images or files with my Drupal 7 / Snow Leopard / MAMP set-up. It could be your configuration or it could be a module causing the error. I have not installed any modules and all core settings are default.