LAMP + Estobuntu 12.08 + PHP 5.5.8

3742 vaatamist
  1. Brunn

    2014-01-27 Administrator Estonia

    Terminali käsud:
    sudo apt-get install lamp-server^ phpmyadmin
    gksudo gedit /etc/apache2/apache2.conf sisesta faili rida: Include /etc/phpmyadmin/apache.conf
    sudo service apache2 restart
    Kui kõik sujus siis aadressid töötavad.Phpmyadmin: http://localhost/phpmyadmin jal localhost: http://localhost/
    PHP versiooniks saab vist 5.3 vms. Kontrollida saab seda: php -v

  2. Brunn

    2014-01-29 Administrator Estonia

    LAMP PHP 5.5
    Php install:
    sudo apt-get update
    sudo add-apt-repository ppa:ondrej/php5
    sudo apt-get dist-upgrade
    sudo apt-get install -y python-software-properties
    sudo apt-get update
    sudo apt-get install -y php5
    Apache install:
    sudo apt-get install -y apache2
    sudo apt-get update
    sudo apt-get install -y libapache2-mod-php5
    Mysql install:
    sudo apt-get install -y mysql-server
    sudo apt-get install -y php5-mysql

    Kõik toimis aga siis oli vaja vähe kõrvalisi tegevusi:
    Tühi fail teha etc/apache2/httpd.conf
    Kaust mkdir -p /etc/apache2/conf.d/
    Failis apache2.conf rida: LockFile ${APACHE_LOCK_DIR}/accept.lock välja vahetada Mutex file:${APACHE_LOCK_DIR} default
    Ja alles siis apache restardile:
    sudo service apache2 restart

  3. Brunn

    2014-01-29 Administrator Estonia

    Errorid olid järgnevad:

    Output of config test was:
    apache2: Syntax error on line 214 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory
    Action 'configtest' failed.
    Output of config test was:
    apache2: Syntax error on line 234 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/conf.d/: No such file or directory
    Action 'configtest' failed.