Changes between Initial Version and Version 1 of Ticket #48499


Ignore:
Timestamp:
Aug 4, 2015, 12:37:48 PM (9 years ago)
Author:
Ionic (Mihai Moldovan)
Comment:

Thank you for the report. Next time, please also CC the port maintainer(s), if any.

The reason for your problem is easy to explain.

Take a look at port contents apache2.

You will notice that apache is (mostly) installed in ${prefix}/apache2, with httpd as ${prefix}/apache2/bin/httpd. As far as I know, this has been done on purpose to isolate Apache HTTPd versions as much as possible.

Secondly, MacPorts does have Apache HTTPd 2.4, but it's shipped as a separate (and conflicting) port called apache24-devel. It is currently not considered ready for prime time yet (i.e., replacing apache2.) This is mostly due to lack of overall interest by Port Developers (and also because getting there involves some issues that aren't easily resolved.)

I'd mark that report as invalid, but am though leaving closure of this ticket to the maintainer's hands.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #48499

    • Property Owner changed from macports-tickets@… to ryandesign@…
    • Property Summary changed from which httpd not point to macports apache/passenger not detect macports apache to apache2: httpd binary not available through PATH (apache/passenger does not detect macports apache)
  • Ticket #48499 – Description

    initial v1  
    1 on Yosemite when I install apache2 installation goes without problems. However command `which httpd` results in: /usr/sbin/httpd
     1on Yosemite when I install apache2 installation goes without problems. However command `which httpd` results in: `/usr/sbin/httpd`
    22which means system version of Apache.
    33I dont think it is expected behaviour especially when my $PATH looks currently like this:
    4 
     4{{{
    55/Users/sebastian/.rvm/gems/ruby-2.2.0/bin:/Users/sebastian/.rvm/gems/ruby-2.2.0@global/bin:/Users/sebastian/.rvm/rubies/ruby-2.2.0/bin:/opt/local/lib/mysql55/bin:/Users/sebastian/.composer/vendor/bin:/opt/local/bin:/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin:/Users/sebastian/Skrypty:/usr/texbin:/usr/local/bin:/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/Server.app/Contents/ServerRoot/usr/bin:/Applications/Server.app/Contents/ServerRoot/usr/sbin:/usr/texbin:/tools:/Users/sebastian/.rvm/bin
    6 
     6}}}
    77I am not sure of this, but this may be also source of problem with passenger because for some reason passenger-install-apache2-module
    88detects only system version of Apache and denied install module to macport version.