質問

I'm new in installing packages on server. On php.net it says how you can install rar package by hand (http://www.php.net/manual/en/rar.installation.php):

gunzip rar-xxx.tgz
tar -xvf rar-xxx.tar
cd rar-xxx
phpize
./configure && make && make install

I've downloaded the package and uploaded it to server. My question is, WHERE do I need to write the installation commands? I've tried in CMD but, of course, it doesn't work. Help? :)

役に立ちましたか?

解決

You need SSH access to the Linux machine you want to install this on. By the sound of your comments you either don't have SSH access (shared hosts) or don't know how to use it.

If you have SSH access to the server you're working on use a program like PuTTY to establish an SSH connection to the server. Once you've logged in with your SSH credentials type these commands:

cd /tmp
wget http://pecl.php.net/get/rar-3.0.1.tgz
gunzip rar-3.0.1.tgz
tar -xvf rar-3.0.1.tar
cd rar-3.0.1
phpize
./configure && make && make install
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top