LAMP with MSSQL (via freetds)
1 | rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm |
1 | yum --enablerepo=webtatic install php php-gd php-mbstring php-mcrypt php-mssql php-mysql php-xml ImageMagick |
1 2 3 | cd /etc/yum.repos.d nano webtatic.repo #set enabled to 1 |
1 | yum groupinstall "Web server" "Mysql Database" |
1 | /etc/init.d/mysqld start |
1 | mysql_secure_installation |
1 | chkconfig httpd on (autorun) |
1 | setup >> turn off selinux |
თემის განახლება:
CENTOS 6-ისთვის php-mssql რეპოზიტორი
1 | rpm -Uvh 'http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm' |
1 2 3 | nano /etc/yum.repos.d/epel.repo Change "enabled=1" to "enabled=0" |
1 | yum install php-mssql --enablerepo=epel |