[MacPorts] #45117: mythweb.27 @.27_1: depends on obsolete php5-mysql

MacPorts noreply at macports.org
Wed Sep 24 06:07:55 PDT 2014


#45117: mythweb.27 @.27_1: depends on obsolete php5-mysql
--------------------------+--------------------------
  Reporter:  alh_ports@…  |      Owner:  ctreleaven@…
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.3.1
Resolution:               |   Keywords:
      Port:  mythweb.27   |
--------------------------+--------------------------

Comment (by ctreleaven@…):

 OK, I pushed a commit (r125712) that should update mythweb.27 to use PHP
 5.4.  However, certain aspects of the configuration and setup need to be
 changed or re-done to match.  Could you please try the following steps and
 let me know if there are any problems:

 0) Stop the Apache2 server, if running
 {{{
 sudo port unload apache2
 }}}
 1) Register PHP 5.4 with Apache
 In Terminal, enter:
 {{{
 cd /opt/local/apache2/modules
 sudo /opt/local/apache2/bin/apxs -a -e -n "php5" mod_php54.so
 }}}

 2) Edit Apache's httpd.conf

 In '/opt/local/apache2/conf/httpd.conf' verify that mod_php54.so module
 will be loaded.  You should find the following line already added by the
 command in step 1) above.
 {{{
 LoadModule php5_module modules/mod_php54.so
 }}}
 If you find a line like the following, delete it or comment it out:
 {{{
 LoadModule php5_module modules/libphp5.so
 }}}

 3) Set up your PHP 5.4 configuration files
 We'll cheat and reuse the config file created for php5
 {{{
 sudo cp -np /opt/local/etc/php5/php.ini /opt/local/etc/php54/php.ini
 }}}
 4) Restart Apache2
 {{{
 sudo port load apache2
 }}}
 With luck, MythWeb should be back up!

 If these steps work out correctly for you, I'll update the wiki page and
 point others to that.  And update MythWeb.{25|26} in similar fashion.

 BTW, I had always believed that MythWeb could be installed on a machine
 that did NOT have Myth installed.  Turns out that is not true so I've
 fixed that, too.

-- 
Ticket URL: <https://trac.macports.org/ticket/45117#comment:6>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list