WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: LAMP with piCore-8.0  (Read 4955 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
LAMP with piCore-8.0
« on: June 27, 2016, 04:12:41 PM »
Now you can setup a LAMP environment with piCore-8.0, all necessary components are available in the repo:

- apache2.4
- mariadb (replacing MySQL)
- apache2.4-mod-php5 or apache2.4-mod-php7

Just tested, Joomla-3.5.1 runs fine with php7 on RPi3. If you try it, please share your findings. Other PHP apps my require different PHP settings or modules which are not built yet.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: LAMP with piCore-8.0
« Reply #1 on: June 27, 2016, 04:45:50 PM »
phpMyAdmin and Wordpress also working.

SMF doesn't find SQL driver, will fix in next round.


Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: LAMP with piCore-8.0
« Reply #2 on: June 28, 2016, 05:10:22 PM »
apache2.4-mod-php5.tcz updated with more MySQL drivers.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline falcon

  • Newbie
  • *
  • Posts: 13
Re: LAMP with piCore-8.0
« Reply #3 on: September 18, 2016, 02:01:25 PM »
Hello Bela,
In Joomla setup on the second page database configuration, whats the password to Mariadb? Is it the same as when I log in with tc? I put user as root. It just says "Could not connect to MySQL".
What am I doing wrong?
Thanks in advance!
Yours
Magnus Falk in Oslo, Norway

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11705
Re: LAMP with piCore-8.0
« Reply #4 on: September 18, 2016, 02:36:16 PM »

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: LAMP with piCore-8.0
« Reply #5 on: September 19, 2016, 12:53:46 AM »
Hello Bela,
In Joomla setup on the second page database configuration, whats the password to Mariadb? Is it the same as when I log in with tc? I put user as root. It just says "Could not connect to MySQL".
What am I doing wrong?
Thanks in advance!
Yours
Magnus Falk in Oslo, Norway

Before installing Joomla create a new database for Joomla and create a user with a password as usual with MySql.

Dont forget to make database persistent.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline falcon

  • Newbie
  • *
  • Posts: 13
Re: LAMP with piCore-8.0
« Reply #6 on: September 19, 2016, 11:00:59 AM »
Thank you very much bmarkus and Rich! I will try to follow the instructions.
Yours Magnus

Offline falcon

  • Newbie
  • *
  • Posts: 13
Re: LAMP with piCore-8.0
« Reply #7 on: December 09, 2017, 03:48:04 PM »
Hello Bela Markus,

I just got this error 2002 message when I try to run mysql_secure_installation in piCore 9.0.3. I have MariaDB 10.1.14 installed and start with "mysqld_safe --user=root &". Whats wrong here? I attach my box.err if you like to read in it. Cant connect via socket to database or something it says.
Thank you in advance!
Yours Magnus Falk in Oslo, Norway