![]() After some trial and error, getting PHP working properly with both MySQL and PostgreSQL required a carefully crafted configure line: Again, be sure you use a reasonable value for the -prefix flag. Once again, useful installation docs can be found here: PostgreSQL on Mac OS X, though the section about "Postgres and PHP" isn't what you want to read. The important thing is that when you run configure you use a reasonable value for the -prefix flag. Good instructions can be found on this page: MySQL on Mac OS X. Unpackage all of these inside /usr/local/src.Download the latest copies of everything you need:. ![]() Make a directory where you can build all of these programs.While you're at it, you might want to upgrade to a newer version of MySQL, as well. Unfortunately, the version of PHP that ships with Mac OS by default is not compatible with PostgreSQL, so to do this, you will need to compile both pgsql and php from source. You can even configure both sites to point to the same Drupal installation, using symbolic links. If you're interested in helping to ensure that Drupal and its contributed modules are compatible with both MySQL and PostgreSQL (also known as "pgsql"), you should consider setting up local test sites using both database back ends on the same machine.
0 Comments
Leave a Reply. |