For the Apache Handler PHP is correctly configured like this:
Configuration File (php.ini) Path => /sw/etc/php5/apache2
Loaded Configuration File => /sw/etc/php5/apache2/php.ini
Scan this dir for additional .ini files => /sw/etc/php5/conf.d
php5-cli contains the file /sw/etc/php5/cli/php.ini but is configured like this:
Configuration File (php.ini) Path => /etc/php5/cli
Loaded Configuration File => (none)
Scan this dir for additional .ini files => /etc/php5/conf.d
php5-cli is still more or less unuseable as no modules are loaded. Manipulating the path in the info-File results in the following message:
dyld: NSLinkModule() error
dyld: Symbol not found: _executor_globals_id
Referenced from: /sw/lib/php5/libexec/[any module that should be loaded].so
Expected in: flat namespace
Btw., is this bug tracker in use at all?
apache2handler and cli SAPIs can't use the same modules because CLI is built without ZTS whereas the Apache 2 version is built with thread safety. This is because of the missing parameter --with-apxs2=%p/bin/apxs2 for the CLI built. Incidentally /sw/bin/apxs2 -q MPM_NAME allways returns "worker" (even if "prefork" is the active one) which allways results in an ZTS built. (Hm, the PHP 5 package description says that it should allways be built as non-ZTS ...?)
As php5 is a maintained package, we'd like to ask you to contact the maintainer (Justin F. Hallett <thesin@users.sourceforge.net>) directly with regard to this issue.
To find out who is the maintainer of a given package, type the following command on a terminal window:
fink info packagename
replacing packagename with the actual name of the package, e.g. php5.
Assigned bug report to maintainer.