是否可以在共享主机上安装 LAME?
我有一个共享主机帐户,是否可以将 LAME 安装到我的帐户上?我也没有 SSH 访问权限。我想将 wav 转换为 mp3
I have a shared hosting account, is it possible to install LAME onto my account? I also don't have SSH access. I want to convert wav to mp3
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您需要请求服务器管理员安装它。大多数共享托管提供商都习惯了这些类型的请求,并且通常会满足。但是,他们可能会担心您处理大量音频内容以及使用超出应有份额的系统资源。
至少值得一问!
You will need to request that the server administrator installs it. Most shared hosting providers are used to these types of requests, and are generally accommodating. However, they may have concerns with you processing large amounts of audio content, and using more than your fair share of system resources.
It's worth asking, at least!
如果您无法直接访问服务器,我真的没有办法做到这一点。
If you don't have direct access to the server, I don't really see a way to do that.
这对于 https://serverfault.com/ 来说更像是一个问题。最好的办法就是询问您的提供商。
但除非有针对此的政策,否则您只需在您的网络空间上复制一个蹩脚的二进制文件(在 cgi-bin 和 htdocs 根目录之外!)并使其可执行(通过 ftp chmod +x)。它是独立的,所以你只需要关心架构(现在通常是 x86-64,但请参阅 phpinfo)。
That's more of a question for https://serverfault.com/. The best bet is to simply ask your provider.
But unless there is a policy against that, you could just replicate a lame binary on your webspace (outside of cgi-bin and htdocs root!) and make it executable (chmod +x via ftp). It's self-contained, so you just need to take care of the architecture (usually x86-64 nowadays, but see phpinfo).
如果无法访问服务器,您将无法在系统上安装 LAME。一些提供商会考虑您的请求并安装 LAME,这实际上取决于您的托管提供商是谁。
如果这是您想要提供的服务,您始终可以允许任何人上传 wav 文件,当您有时间时您可以转换它并向用户发送包含其 mp3 位置的链接。
Without having access to the server you will not be able to install LAME on the system. Some providers will take into consideration your request and will install LAME it really depends who your hosting provider is.
If this is a service you want to provide, you can always allow anyone to upload a wav file and when you have time you could convert it and send the user a link with the location of their mp3.