Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!
0 Пользователей и 1 Гость просматривают эту тему.
a2enmod php
root@xuanzxcvbnm:/home/administrator# a2enmod phpERROR: Module php does not exist!
aptitude install php5 libapache2-mod-php5
Код: [Выделить]aptitude install php5 libapache2-mod-php5
root@xuanzxcvbnm:/home/administrator# aptitude install php5 libapache2-mod-php5Reading package lists... DoneBuilding dependency tree Reading state information... DoneReading extended state information Initializing package states... DoneNo packages will be installed, upgraded, or removed.0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.Need to get 0B of archives. After unpacking 0B will be used.Writing extended state information... DoneReading package lists... Done Building dependency tree Reading state information... DoneReading extended state information Initializing package states... Doneroot@xuanzxcvbnm:/home/administrator#
/etc/init.d/apache2 restart
перезапскул апач?Код: [Выделить]/etc/init.d/apache2 restart
Код: [Выделить]a2enmod php
a2enmod php5
Цитата: kostrukov от 06 Мая 2009, 17:30:11Код: [Выделить]a2enmod phpизвиняюсь, ошибся Код: [Выделить]a2enmod php5
root@xuanzxcvbnm:~# a2enmod php5Module php5 already enabled
root@xuanzxcvbnm:~# /etc/init.d/apache2 restart * Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName [ OK ]root@xuanzxcvbnm:~#
Страница сгенерирована за 0.017 секунд. Запросов: 20.