Module 'ssh2' already loaded in Unknown on line 0

前端 未结 3 2000
你的背包
你的背包 2021-01-19 02:39

I use the functions below to copy files from one server to another. It works most of the time, but sometimes I start getting this error in log files:

Module          


        
3条回答
  •  萌比男神i
    2021-01-19 03:08

    In my case, I commented out the one line in ssh2.ini located here: /etc/php5/mods-available/ssh2.ini

    The content of this file now is as follow:

    ;extension=ssh2.so
    

    Thanks!

提交回复
热议问题