AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  php socket module error

    Posted Thu January 02, 2025 02:13 PM

    We have installed php on our webserver but we need the socket module enabled. Much of what we read it says to run 'dnf install php8-socket' but that doesn't seem to exist in the aixtools repo. Has php already been compiled for this module and it just needs to be enabled? If so, how do I do this?

    Here is our error:

    PHP Warning:  PHP Startup: Unable to load dynamic library 'sockets' (tried: /opt/freeware/lib/php/modules/sockets (Could not load module /opt/freeware/lib/php/modules/sockets.

    System error: No such file or directory), /opt/freeware/lib/php/modules/sockets.so (Could not load module /opt/freeware/lib/php/modules/sockets.so.



    ------------------------------
    Scott Brown
    ------------------------------


  • 2.  RE: php socket module error

    Posted Fri January 17, 2025 02:03 AM

    Hello,

    php in AIX Toolbox has not been compiled with the socket module enabled. 
    We will try to enable this module and check it out.



    ------------------------------
    RESHMA KUMAR
    ------------------------------



  • 3.  RE: php socket module error

    Posted Fri January 24, 2025 05:06 PM

    Thank you, Reshma, for your response. What is the timeframe you usually have for completing something like this?



    ------------------------------
    Scott Brown
    ------------------------------



  • 4.  RE: php socket module error

    Posted Fri February 07, 2025 04:55 AM

    We have already started working on this and will try to publish it by the end of 1Q.



    ------------------------------
    RESHMA KUMAR
    ------------------------------



  • 5.  RE: php socket module error

    Posted Wed March 19, 2025 02:02 PM

    When that is published, how will I know that that has happened, if it hasn't already?



    ------------------------------
    Scott Brown
    ------------------------------



  • 6.  RE: php socket module error

    Posted Fri March 21, 2025 02:45 PM

    Hello Scott,

    We are targeting next week to publish this and will send you a confirmation here once it is completed.



    ------------------------------
    Sumitra Dawn
    ------------------------------



  • 7.  RE: php socket module error

    Posted 8 days ago

    php 8.1.31-2 is now available in AIX Toolbox. Socket module is enabled in this release. It is shipped with the php8-common sub-rpm.
    Please use DNF to update to this release.



    ------------------------------
    RESHMA KUMAR
    ------------------------------