Opened 6 years ago

Closed 2 years ago

#41478 closed update (fixed)

php55-apache2handler not working with apache24-devel

Reported by: djlambert (Derek J. Lambert) Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: Schamschula (Marius Schamschula)
Port: php55-apache2handler

Description

It appears php55-apache2handler has a fixed dependency on the Apache 2.2 package. In the process of upgrading my development environment to PHP 5.5 and Apache 2.4 I found that installing php55-apache2handler reactivated my Apache 2.2 port. I worked around this by modifying the local portfile:

321c321
<     depends_lib-append      port:apache24-devel
---
>     depends_lib-append      port:apache2
323,325c323,325
<     set apxs ${prefix}/bin/apxs
<     set confdir ${prefix}/etc/apache2
<     set moduledir ${prefix}/lib/apache2/modules
---
>     set apxs ${prefix}/apache2/bin/apxs
>     set confdir ${prefix}/apache2/conf
>     set moduledir ${prefix}/apache2/modules

Unfortunately apache24-devel uses different (though more consistent with other ports) file locations. It would be great if php55-apache2handler supported both versions/ports. Even better would be unifying the two versions into one port like php, but that's another thing entirely.

Change History (6)

comment:1 Changed 6 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… removed
Owner: changed from macports-tickets@… to ryandesign@…

I'm not planning on making any changes to the php5x-apache2handler ports until apache24-devel is renamed to (merged into) the apache2 port.

comment:2 Changed 6 years ago by djlambert (Derek J. Lambert)

Fair enough.

I'll continue to use a work-around until the apache2 port maintainer(s) have a chance to merge them ;)

comment:3 Changed 6 years ago by ryandesign (Ryan Schmidt)

I am the maintainer of the apache2 port, however apache isn't very exciting to me these days and I haven't worked on merging these changes. The port is openmaintainer and if anyone else wants to merge the changes, and be responsible for checking and updating all ports that use apache2 to account for the new file layout, they're welcome to do so. The ticket for that is #35824.

comment:4 Changed 6 years ago by matthew.g.russell@…

May just be inexperience, but how exactly did you do this?

I created a local Portfile and made those modifications, but now I have checksum issues.

comment:5 Changed 5 years ago by ryandesign (Ryan Schmidt)

Cc: mschamschula@… added

Duplicate #44116 has a patch.

comment:6 Changed 2 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: newclosed

Marius updated apache2 to 2.4.x and adjusted php*-apache2handler to match the new directory layout.

Note: See TracTickets for help on using tickets.