Arch LAMP, Webserver / php, apache, mysql

Tue, 01/03/2016 - 15:18

Debian 10


Apache 2

sudo apt-get install apache2

Mysql/Maria DB

sudo apt install mariadb-server

Run Security script: sudo mysql_secure_installation


sudo apt-get install php libapache2-mod-php php-mysql


  • gd/imagic
  • xsendfile Kram? Remove later
  • curl
  • json

Tip List PHP Modules: apt-cache search php | egrep 'module' | grep default

sudo apt install php-curl php-json php-cgi php-gd libgd-tools php-pear

apt install libapache2-mod-xsendfile

apt install php-mbstring php-zip

Wichtig für CMS

Aktiviere mod rewrite etc.


PHPmyadmin ist osvolete, adminer ist neu drin in Debian 10

apt install adminer


Debian 10 nutzt socket auth. Adminer kann sich also per Webineterface nicht als root authen! Login geht also per default so nicht!

Ach vergisses, ich machs per mysql console, Ende.



Add new comment
The content of this field is kept private and will not be shown publicly.

Plain text

  • Allowed HTML tags: <a href hreflang> <em> <strong> <cite> <blockquote cite> <code> <ul type> <ol start type> <li> <dl> <dt> <dd> <drupal-entity data-*>
  • Web page addresses and email addresses turn into links automatically.
  • Lines and paragraphs break automatically.