Articles Hierarchy

Articles Home » PHP-Fusion work » RPI LAMP php-fusion 9

RPI LAMP php-fusion 9

i could install test server tools on laptop like easyphp again to test the new
PHP-Fusion 9 from here, but why not use my raspberry pi.

a new setup RASPBIAN / updated 21/06/2017 where i first need to install apache...
( i did last time over a year ago, so there might be some changes..? PHP7? )
sudo apt-get update
sudo apt-get install apache2 apache2-doc apache2-utils libapache2-mod-php5 php5 php-pear php5-xcache php5-mysql mysql-server mysql-client phpmyadmin
need 183 MB

need to give password for sql root user
sql_root_pw / sql_root_pw / and set apache2 ok
sql_mysql_pw /sql_mysql_pw

sudo reboot
any browser in my LAN: RPI_IP

sudo nano /etc/apache2/apache2.conf
add line at end
Include /etc/phpmyadmin/apache.conf

sudo /etc/init.d/apache2 restart

browser: RPI_IP/phpmyadmin
user root
pw sql_mysql_pw

sudo nano /var/www/html/phpinfo.php"<"?php phpinfo();

ok, you see "<" but pls not use the "

copy from
PHP-Fusion 9.0/files/
unzip its only 22MB but many files, so first i try with SFTP from laptop to RPI many hours, bad idea, better copy or download zip file to RPI.
still the unzip of 2800 files by RPI3 takes an hour,
i do the unzip/copy as sudo (sudo mc)
also i copy
readme-en.html to /var/www/html/

sudo chmod -R 777 infusions/gallery/submissions/images/
error, dir does not exist?

make a new database "phpfusion9"

installation: RPI_IP/phpfusion9/

now this went wrong,
but i can see by phpmyadmin that the database is now filled with tables,
so my settings could not be that wrong!
drop all tables and do again use dbprefix "fusion9_"
error Notice: Use of undefined constant DB_PREFIX - assumed 'DB_PREFIX' in /var/www/html/phpfusion9/includes/multisite_include.php on line xx
see 38 tables again.