<div dir="ltr">Problem: <div><br></div><div>I originally ran the update to Apache 2.4, then quickly changed the active Apache version back to 2.2 as I had not yet tested everything out.  </div><div><br></div><div>I'm still running php70, and I found that <span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px">mod_php70.so had been moved to the new modules directory (</span>/opt/local/lib/apache2/modules/)<span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">.  Everything worked fine when I moved it back to the original modules directory (</span>/opt/local/apache2/modules/)<span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">.</span></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px">Now, a couple days later and having run some other updates (libcomerr and php70_apache2handler)</span><span style="color:rgb(0,0,0);font-family:Menlo;font-size:11px;font-variant-ligatures:no-common-ligatures">. I once again found mod_php70.so in the new directory and not in the old.  This time I made a copy, so it's in both places. </span></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px">When I run configtest now, I see:</span></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0);font-family:Menlo;font-size:11px"><br></span></div><div>







<p class="gmail-p1"><span class="gmail-s1">Cannot load /opt/local/apache2/modules/mod_php70.so into server: dlopen(/opt/local/apache2/modules/mod_php70.so, 10): Symbol not found: _ap_unixd_config\n<span class="gmail-Apple-converted-space">  </span>Referenced from: /opt/local/apache2/modules/mod_php70.so\n<span class="gmail-Apple-converted-space">  </span>Expected in: /opt/local/apache2/bin/httpd\n in /opt/local/apache2/modules/mod_php70.so</span></p><p class="gmail-p1"><span class="gmail-s1"><br></span></p><p class="gmail-p1">Pointers as to what to do next?</p><p class="gmail-p1"><br></p><p class="gmail-p1">Thanks.</p></div>







</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 16, 2017 at 10:48 AM, Marius Schamschula <span dir="ltr"><<a href="mailto:lists@schamschula.com" target="_blank">lists@schamschula.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>Done in <a href="https://github.com/macports/macports-ports/commit/1e70102f38315d1bfaa0d08401b3c41daf7e2dd7" target="_blank">https://github.com/<wbr>macports/macports-ports/<wbr>commit/<wbr>1e70102f38315d1bfaa0d08401b3c4<wbr>1daf7e2dd7</a></div><div><br></div><div>Also there are useful transition notes under <a href="https://trac.macports.org/ticket/50965#comment:18" target="_blank">https://trac.macports.<wbr>org/ticket/50965#comment:18</a></div><span class=""><div><br><blockquote type="cite"><div><div style="word-wrap:break-word"><div><div>Well, the old apache2 installed everything under ${prefix}/apache2, which violated the MacPorts tree. The new version installs things under:</div><div><br></div><div>1) configuration - ${prefix}/etc/apache2/</div><div><br></div><div>2) data - ${prefix}/www/</div><div><br></div><div>3) binaries -   ${prefix}/sbin</div><div><br></div><div>4) modules -  ${prefix}/lib/apache2/modules</div><div><br></div><div>I had meant add a note to the Portfile. I will add this.</div></div></div></div></blockquote></div><br></span><div><div><div>Marius</div><div>--</div><div>Marius Schamschula</div><div><br></div></div><div><blockquote type="cite"><div style="word-wrap:break-word"><div></div></div></blockquote></div></div></div></blockquote></div><br></div>