Can't copy files via ssh on shared hosting?

So I’m trying to install ioncube
but I’m stuck with Permission denied
$ cp /tmp/ioncube/ /usr/local/php72/lib/php/extensions/no-debug-non-zts-2010**

cp: cannot create regular file ‘/usr/local/php72/lib/php/extensions/no-debug-non-zts-2010**/’: Permission denied

any help pls
thank you Community

With DH’s Shared or VPS hosting plans, you don’t get root access to the server, so location like /usr/local are read-only.

There’s are help articles on how to add PHP extensions and IonCube:


Great budy! that worked.
Thank you so much

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.