Changes between Version 1 and Version 2 of Ticket #35824, comment 9


Ignore:
Timestamp:
Jan 25, 2014, 6:19:01 PM (11 years ago)
Author:
ldl@…
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35824, comment 9

    v1 v2  
    44> Bradley, what would be the best way to move forward?
    55
    6 I have 5 days to make sure a ton of Drupal 6 code will run on PHP 54 and potentially convert the install to Drupal 7.
     6I have 3 days to make sure a ton of Drupal 6 code will run on PHP 54 and potentially convert the install to Drupal 7.
    77
    8 I need a version of apache2handeler that works with Apache 2.4 and PHP 5.4.  Right now I have PHP 5.4 compiled and linked, and Apache 2.4 works and serves a php file as text.  But Apache does not hand the PHP file to PHP, merely serves it.
     8I got Ryan's apache24-devel hack version to compile and link, but felt that was probably unstable ground to add other PHP ports to, so I downloaded Bradley's local repository and hacked it to include the latest PHP 5.4 and other details.
    99
    10 What can I do to help?
     10Got both to compile, and modified config files to load php into apache.
     11
     12sudo apachectl start gives me this:
     13
     14
     15{{{
     16httpd: Syntax error on line 169 of /opt/local/apache24/conf/httpd.conf:
     17Cannot load /opt/local/apache24/modules/mod_php54.so into server:
     18dlopen(/opt/local/apache24/modules/mod_php54.so, 10):
     19Symbol not found: _unixd_config\n 
     20Referenced from: /opt/local/apache24/modules/mod_php54.so\n 
     21Expected in: /opt/local/apache24/bin/httpd\n in /opt/local/apache24/modules/mod_php54.so
     22
     23}}}
     24
     25Ryan uses this code to set up the php port group:
     26
     27
     28{{{
     29# Set up the php portgroup, for extension subports.
     30if {[is_extension_subport]} {
     31    if {![info exists php.extensions]} {
     32        php.extensions ${php.rootname}
     33    }
     34    php.setup ${php.extensions} ${version}
     35}}}
     36
     37While Bradley uses this code to set up the php portgroup:
     38
     39
     40{{{
     41# Set up the php portgroup, for extension subports.
     42if {[is_extension_subport]} {
     43    default php.extensions ${php.rootname}
     44}}}
     45
     46It's over my head how this works and if it matters.
     47
     48You can do a diff on my portfile with Bradleys to see all changes.
     49
     50Anyone?