| Производите подключение по SSH. Выполняете следующие команды:
1) wget http://ru2.php.net/get/php-5.2.11.tar.bz2/from/ru.php.net/mirror 2) tar -xjvf php-5.2.11.tar.bz2 3) cd php-5.2.11 ./configure –prefix=/storage/home/srvXXX/php \ –with-mysql=/usr/local \ –with-gd=/usr/local \ –enable-fastcgi 4) make 6) cp /storage/home/srvXXX/php/bin/php-cgi /storage/home/srvXXX/cgi-bin/php 7) chmod 755 /storage/home/srvXXX/cgi-bin/php в файл .htaccess добавляете следующие директивы: Action php-script /cgi-bin/php AddHandler php-script .php |
