Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  Request: mod_php

    Posted Tue July 23, 2019 04:09 PM

    Originally posted by: KiloBravo


    Any chance we could start getting mod_php in the toolbox for the current versions of httpd and php (2.4.39-1 and 7.2.18-1 at the time of this post).

    Thanks!


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 2.  Re: Request: mod_php

    Posted Wed July 24, 2019 01:47 AM

    Originally posted by: sanket


    Sure.

    We will look into this. If we see no challenge in porting then we will try to include in our next update of httpd. 


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 3.  Re: Request: mod_php

    Posted Fri July 26, 2019 02:35 AM

    Originally posted by: AyappanP


    We already have mod_php delivered by php rpm. 

    "/opt/freeware/lib/httpd/modules/libphp7.so" configured into the httpd-phpconf as  "LoadModule php7_module /opt/freeware/lib/httpd/modules/libphp7.so"


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 4.  Re: Request: mod_php

    Posted Fri July 26, 2019 03:59 AM

    Originally posted by: KiloBravo


    Missed that, was expecting to see mod_php in the loadmodules section of httpd.conf or a mod_php.so in the modules directory, not having the config buried in a separate file in the extras directory and the php module be the only thing in the modules directory that is named differently than every other module in that directory. *cough standards*

     

    Had to restart the server to get .php files to parse properly,  But embedded php doesn't parse - so I'll have to go find the missing handler declaration and enable it.

     

    Thanks - I feel a right idiot now,.

     


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 5.  Re: Request: mod_php

    Posted Fri July 26, 2019 02:36 AM