Apache http.conf

Craig Hoffman mountain.dog at gmail.com
Mon Oct 15 11:20:41 PDT 2012


No. That's whats odd.  I installed Mountain Loin when it was released and things (MacPorts) still worked.  I just did a restart and things are back to normal.  Localhosts loads normally.  No really sure what happened.
_______________________
Craig Hoffman
http://photography.eclimb.net
_______________________








On Oct 15, 2012, at 12:15 PM, Mikel King <mikel.king at olivent.com> wrote:

> did you upgrade recently?
> 
> 
> On Oct 15, 2012, at 2:10 PM, Craig Hoffman wrote:
> 
>> Okay, made the link and ran a config test: 
>> 
>> Macbook-Pro:bin choffman$ apachectl configtest
>> httpd: Syntax error on line 128 of /private/etc/apache2/httpd.conf: Cannot load /opt/local/apache2/modules/libphp5.so into server: dlopen(/opt/local/apache2/modules/libphp5.so, 10): Library not loaded: /opt/local/lib/libaprutil-1.0.dylib\n  Referenced from: /opt/local/apache2/modules/libphp5.so\n  Reason: Incompatible library version: libphp5.so requires version 5.0.0 or later, but libaprutil-1.0.dylib provides version 4.0.0
>> 
>> Ugg.  Any ideas?
>> _______________________
>> Craig Hoffman
>> http://photography.eclimb.net
>> _______________________
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> On Oct 15, 2012, at 11:48 AM, Mikel King <mikel.king at olivent.com> wrote:
>> 
>>> Easiest would be a symlink. 
>>> 
>>> ln -s good file to where the bad file is.
>>> 
>>> 
>>> On Oct 15, 2012, at 1:40 PM, Craig Hoffman wrote:
>>> 
>>>> Hey Folks,
>>>> I have an odd issue with Apache.  I have a more or less standard install of MacPorts PHP, MySQL and Apache for local web development. Everything was working fine until yesterday, honestly I'm not sure what happened - nothing has changed. It looks like my MacPort Apache is now using Apple's http.conf file.  To test this, I added a few extra characters to Apple's http.conf file and restarted the server with (/opt/local/apache2/bin apachectl restart) and it returned this message. 
>>>> 
>>>> apachectl configtest
>>>> Syntax error on line 41 of /private/etc/apache2/httpd.conf:
>>>> 
>>>> Plus the web server did not start. 
>>>> 
>>>> How do I redirect MacPorts Apache to look at the correct http.conf file?  I'm stumped.
>>>> 
>>>> Thanks,
>>>> Craig
>>>> _______________________
>>>> Craig Hoffman
>>>> http://photography.eclimb.net
>>>> _______________________
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> macports-users mailing list
>>>> macports-users at lists.macosforge.org
>>>> http://lists.macosforge.org/mailman/listinfo/macports-users
>>> 
>>> 
>> 
> 
> 



More information about the macports-users mailing list