Trying to install ssh2 onto a litespeed server and using the traditional install methods are not working for me. I have successfully installed ssh2 into the /etc/php/cli and it works from the command line. However my litespeed server is using the php.ini from the directory /usr/local/lsws/lsphp74/etc/7.4/litespeed/php.ini. I confirmed that by running phpinfo() from the browser and looking at the Loaded Configuration File entry which shows /usr/local/lsws/lsphp74/etc/php/7.4/litespeed/php.ini. No matter what I try and what examples or steps provided to me, I cannot get it to install in an area that I can use via the browser. I do see this line "/usr/local/lsws/lsphp74/etc/php/7.4/mods-available/50-ssh2.ini," in the Additional .ini files parsed section of the phpinfo() page however no matter what I have tried, I cannot get it so show up like its installed when I view the phpinfo() page.
Where does ssh2 for php need to be installed?
1k Views Asked by Beanno1116 At
1
There are 1 best solutions below
Related Questions in PHP
- How to add the dynamic new rows from my registration form in my database?
- Issue in payment form gateway
- How to create a facet for WP gridbuilder that displays both parent and child custom fields?
- Function in anonymous Laravel Blade component
- How to change woocomerce or full wordpress currency with value from USD to AUD
- General questions about creating a custom theme Moodle CMS
- How to add logging to an abstract class in php
- error 500 on IIS FastCGI but no clue despite multiple error loggings activated
- Composer installation fails and reverts ./composer.json and ./composer.lock to original content
- How to isolate PHP apps from each other on a local machine(Windows or Linux)?
- Laravel: Using belongsToMany relationship with MongoDB
- window.location.href redirects but is causing problems on the webpage
- Key provided is shorter than 256 bits, only 64 bits provided
- Laravel's whereBetween method not working with two timestamps
- Implementing UUID as primary key in Laravel intermediate table
Related Questions in PEAR
- PEAR SPREADSHEET EXCEL issue on writing local file
- How to install Mail.php with Pear and XAMPP?
- How to prepare a consensus including overhangs using forward and reverse fastq files from sanguer sequencing?
- PHP Fatal Error: require_once(Mail.php): Failed opening required 'Mail.php'
- Does including php-pear in a Dockerfile automatically force install of latest PHP version?
- cannot connect to oracle 19 with php oci_connect
- PHP raphf extension version issues
- Fixing a fatal error with PECL/PEAR with multiple php versions
- No releases available for package "pecl.php.net/imagick". OpenSSL Error?
- PHPCS overrule PEAR rule with custom tags
- PHP 7.4 and HTML_Quickform 1.3 to 3.2.16?
- run File_PDF on php 8 (upgrade to Horde_Pdf)
- go-pear.phar file error and unknown charachters
- Pear installation in Windows XAMPP PHP 8.1.10
- Quickform2's HTML_QuickForm2_Renderer_Proxy triggers a segfault
Related Questions in PECL
- Imagick extension don't works
- How to install V8Js for PHP on Linux Ubuntu 22.04?
- php_yaml extension is installed but can't be found
- Building an extension php .dll (ext_http)
- Why running pecl I got /tmp/xdebug.log could not be opened error
- Is there any other way to install MongoDB PHP driver?
- "pecl http" php extension can't be loaded in local (xampp/wampp)
- PHP Apache Docker container: No releases available for package "pecl.php.net/xdebug" in some networks in Ubuntu 18
- php doesn't have standard libraries, how to install 'em
- Install mongodb failing on M1 Mac using pecl
- How can I install Xdebug on DDEV for PHP 8.3 before it's ready in a release?
- sqlsrv not getting installed for php 7.4
- is mailparse dll for windows php8.2 available?
- Does including php-pear in a Dockerfile automatically force install of latest PHP version?
- cannot connect to oracle 19 with php oci_connect
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
This works for LSPHP81 with SSH2, feel free to replace the PHP version with your current version.
1 - Install necessary PHP packages and ssh2 lib
2 - Download SSH2 package from pecl
3 - Compile ssh2 package
4 - Reload lsws and PHP
5 - Result