PDA

View Full Version : FINK for web services?


Cobalt
02-26-2002, 06:26 PM
I'm looking into using Fink to load PHP and PostgreSQL on my machine, but there are a few points that I'm not clear about, and I'm wondering if someone could help me out. (I tried posting this question to fink-beginners, but got no responses and am hoping someone here has the answer to this simple question.)

First, if I load PHP and PostgreSQL from Fink, will they automatically have the appropriate modules loaded? In other words, will PHP have the pgsql module (or whatever it's called) loaded automatically so that PHP can interface with PostgreSQL, or do I need to do something by hand?

Second, and similarly, since I want all of that to work with Apache, do I need to also load Apache via Fink (and will it build the mod_php module, or whatever it's called, automatically?), or will the built-in version of Apache from OS X just work with the Fink part? (I'm guessing the answer here is "you need to load Apache via Fink" but I'm not certain.)

Finally, if I load Apache and everything else via Fink, then am I correct in assuming that the Web Sharing preference panel that allows me to start Apache with a button will not work with the Fink Apache (and I would therefore need to start it by hand)?

Thanks!

Tom

sao
02-27-2002, 10:31 AM
Sorry, although I installed more than 200 packages, I didn't install PHP with fink. I downloaded the PHP Apache Module and MySQL package from Marc Liyanage homepage.

If you are interested you can check them out at:

http://www.entropy.ch/software/macosx/php/

PHP Apache Module

This particular bulid of the module is based on the most recent version 4.1.1 of the software and includes support for

* the MySQL and PostgreSQL databases
* the PDFLib PDF library
* the cURL library for various communications protocols
* the GD image creation library (with PNG, JPEG, PostScript Type 1 and TrueType font options).
* the expat XML parser and WDDX support
* XSLT transformations
* LDAP access
* the IMAP client library
* the BCMath arbitrary precision mathematics functions library
* FTP client access
* exif digital camera image metadata support
* transparent session id propagation (--enable-trans-sid) option

See the official ChangeLog for the extensive list of improvements in this version.
NOTE: This module will only work with the original Apache web server as shipped by Apple.

He also build a package for the PostgreSQL Database Server at:

http://www.entropy.ch/software/macosx/postgresql/

This particular package was built with support for:

* GNU Readline library (means you have a command history in the interactive "psql" interpreter, use the up and down keys)
* JDBC drivers (in /usr/local/pgsql/share/java)
* ODBC
* C++
* Multibyte / Unicode

Cheers...