Ubuntu11.10+Drupal7+OCI8配置
来源:岁月联盟
时间:2012-04-02
Ubuntu 11.10 Drupal Open Terminal sudo apt-get install eclipse sudo apt-get install apache2 sudo apt-get install php5 sudo apt-get install mysql-server sudo apt-get install phpmyadmin www.2cto.com sudo apt-get install php5-xcache dpkg -l | grep xcache (show xcache version) php -v sudo apt-get install memcached sudo apt-get install php5-memcache sudo apt-get install php5-xdebug modify /etc/php5/conf.d/xdebug.ini xdebug.remote_enable = 1 Enable apache url rewriter sudo a2enmod rewrite apache2ctl -M modify /etc/apahce2/sites-available/default <Directory /var/www/*> AllowOverride All </Directory> sudo /etc/init.d/apache2 restart install Oracle Instant Client, reference to https://help.ubuntu.com/community/Oracle Instant Client www.2cto.com download from www.oracle.com/technetwork/topics/linuxsoft-082809.html sudo apt-get install alien sudo alien -i oracle-instantclient11.2-basic-*.rpm sudo alien -i oracle-instantclient11.2-devel-*.rpm sudo alien -i oracle-instantclient11.2-sqlplus-*.rpm sqlplus username/password@//hostname:port/sid Install oci8, reference to https://help.ubuntu.com/community/PHPOracle sudo apt-get install php-pear sudo pecl install oci8
作者 HaipingChen