Announcement

Collapse
No announcement yet.

Custom PHP extensions

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Custom PHP extensions

    Hello, I have compiled ssh2-php into my default cPanel PHP setup and its enabled in php.ini with extension = ssh2.so
    If I want to use the same module with the PHP selector, how can I do it? I tried inserting the line into alt_php.ini but I got an error.
    Thank you.

  • #2
    Ill ask developers to document how to do it, but we will add ssh2 to list of available extensions. I presume you are talking about this one?

    Comment


    • #3
      Yes.

      Comment


      • #4
        Please try the following (for example for PHP 5.4):
        1) put ssh2.so in /opt/alt/php54/usr/lib/php/modules
        2) create ssh2.ini in /opt/alt/php54/etc/php.d.all (with "extension=ssh2.so" directive).
        3) choose ssh2 in Selector tab in LVEManager
        4) choose ssh2 in user cpanel interface
        5) restart apache

        Comment


        • #5
          Thank you, now it appears without error.

          Comment


          • #6
            I noticed one thing when choosing the default modules for alt-php. If using Internet Explorer it doesnt save what you have chosen.

            Comment


            • #7
              We will try to address it in the next release, early next week.

              Comment

              Working...
              X