thanks @DawoudIO i will do that get back to you.
But i want say God bless you and the team for this wonderful work. Very appreciated
this will work or raspiberry pi or ubuntu
login with a user that has sudo
sudo systemctl enable ssh
sudo systemctl start ssh
mariaDB
sudo apt update
sudo apt install mariadb-server
sudo mysql
CREATE DATABASE churchcrm CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
GRANT ALL ON churchcrm.* TO 'churchcrm'@'localhost' IDENTIFIED BY 'SetAPassword';
FLUSH PRIVILEGES;
EXIT;
raspberry pi *
sudo apt-get install apt-transport-https lsb-release ca-certificates
sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/php.list
sudo apt-get update
sudo add-apt-repository ppa:ondrej/php # Press enter to confirm.
sudo apt update
both
sudo apt install apache2 php7.4 php7.4-gd php7.4-json php7.4-mysql php7.4-curl php7.4-mbstring php7.4-intl php7.4-imagick php7.4-xml php7.4-zip libapache2-mod-php7.4
sudo add-apt-repository ppa:ondrej/php # Press enter to confirm.
sudo apt update
sudo apt install php7.4 php7.4-gd php7.4-json php7.4-mysql php7.4-curl php7.4-mbstring php7.4-intl php7.4-imagick php7.4-xml php7.4-zip libapache2-mod-php7.4
sudo vi /etc/php/7.4/apache2/php.ini
change the following settings
memory_limit = 32M
upload_max_filesize = 24M
post_max_size = 32M
max_execution_time = 300
sudo apt update
sudo apt upgrade
sudo a2dismod mpm_event && sudo a2enmod mpm_prefork && sudo a2enmod php7.4
sudo service apache2 restart
sudo apt-get install unzip
wget https://github.com/ChurchCRM/CRM/releases/download/4.3.2/ChurchCRM-4.3.2.zip -P /tmp
sudo unzip /tmp/ChurchCRM-4.3.2.zip -d /var/www/html
sudo chown -R www-data: /var/www/html/churchcrm
sudo chmod -R 777 /var/www/html/churchcrm/Images
sudo a2enmod rewrite
sudo vi /etc/apache2/sites-enabled/000-default.conf
add the following to the bottom of the file
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
<Directory /var/www/html/churchcrm>
AllowOverride All
</Directory>
sudo service apache2 restart
sudo vi /var/www/html/index.html
replace contents with
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Refresh" content="0; url=/churchcrm" />
</head>
</html>
error.log
file (usually it is here: \xampp\apache\logs\error.log
). Please share any errors from there with us so we can help further. Also, we have a dedicated page to 500 errors on our wiki - https://github.com/ChurchCRM/CRM/wiki/500-Error
@jshotton: i am getting a prompt these:
memory_limit = 32M
upload_max_filesize = 24M
post_max_size = 32M
max_execution_time = 300
software says its too small, please recommend a best settings. thanks
Hardware Specs
intel i5 3470 3.2ghz 4 core
8gb ram
@inddixitx1 - you need to edit /etc/php/7.4/apache2/php.ini
and change those limits to something a little more generous:
memory_limit = 512M
upload_max_filesize = 500M
post_max_size = 600M
max_execution_time = 300
5 minute execution time should be plenty; our production system is set to 180 seconds and never complains.
This page outlining core configuration of PHP may be of assistance.