I'm running 10.5 Server on a Mac mini. I'm trying to install the "loaded" PHP5 that's part of MacPorts, but I want to use it with my existing, built in Apache2, not a separate MacPorts Apache2 (I want to be able to keep using OS X's Server Admin tools). I can't figure out how to do this. I installed PHP5 without any problem, but I can't figure out how to get it to function. I tried pointing my apache to the 'new' libphp5.so file, but that prevents apache from starting up.
Code:
httpd: Syntax error on line 147 of /private/etc/apache2/httpd.conf: Cannot load /opt/local/apache2/modules/libphp5.so into server: dlopen(/opt/local/apache2/modules/libphp5.so, 10): no suitable image found. Did find:\n\t/opt/local/apache2/modules/libphp5.so: mach-o, but wrong architecture
Anyone know how to do this?
ALSO, this forum should really bring back a 'server' group. There's no good place to post server-related questions.