Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > Mixing MacPorts with Built-On Software

Mixing MacPorts with Built-On Software
Thread Tools
Addicted to MacNN
Join Date: Jan 2000
Location: Stoneham, MA, USA
Status: Offline
Reply With Quote
May 30, 2011, 06:51 PM
 
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.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 04:30 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2