

- #ARCH LINUX INSTALL MYSQLI HOW TO#
- #ARCH LINUX INSTALL MYSQLI DRIVER#
- #ARCH LINUX INSTALL MYSQLI PASSWORD#


#ARCH LINUX INSTALL MYSQLI HOW TO#
install -n -webroot=/srv/http If you get a somewhat illogical error like: Checking if Asterisk is running and we can talk to it as the 'asterisk' user.Error! Unsupported Version of 17.0.0 Supported Asterisk versions: 13, 14, 15, 16, 17 edit install.php and installlib/ is tutorial how to install Apache,Mysql,PHP on arch linux.įirst of all lets update arch linux: sudo pacman -Syu start_asterisk start ps -ef | grep safe_asteris sudo.
#ARCH LINUX INSTALL MYSQLI DRIVER#
If you need older asterisk: cd asterisk edit PKGBUILD (line with pkgver) makepkg -i -skipinteg Configure and enable PHP and apacheĮcho "extension=pdo" | sudo tee -a /etc/php/conf.d/freepbx.ini echo "extension= pdo_mysql.so" | sudo tee -a /etc/php/conf.d/freepbx.ini echo "extension=gettext" | sudo tee -a /etc/php/conf.d/freepbx.ini echo "extension=sysvsem" | sudo tee -a /etc/php/conf.d/freepbx.ini sudo sed -i 's/\(^upload_max_filesize = \).*/\120M/' /etc/php/php.ini sudo sed -i 's/\(^memory_limit = \).*/\1256M/' /etc/php/php.ini sudo sed -i 's/^\(User\|Group\).*/\1 asterisk/' /etc/httpd/conf/nf sudo sed -i 's/AllowOverride None/AllowOverride All/' /etc/httpd/conf/nf # enable PHP in Apache per sudo a2enmod rewrite sudo systemctl enable -now httpd Configure ODBCĬat < useradd -s /bin/bash -m instuser echo "instuser ALL=(ALL) ALL" >/etc/sudoers # set password for the user passwd instuser su - instuser # make sure sudo works sudo -l # enter password for instuser # the output should be similar to this: User instuser may run the following commands on YOURHOST: (ALL : ALL) ALL Initialize and enable mariadb Commands that require root permissions are prepended with sudo. Pacman -noconfirm -Sy apache sudo nodejs wget base-devel git cmake unixodbc \ alsa-lib speex libvorbis jansson libxslt opus gsm \ ffmpeg libsamplerate libsrtp portaudio python swig dd \ mariadb cron sox Create a user that will be used for compilation, set password and switch to this userĪs a good security practice you will use the user until end of this manual. Update system pacman -noconfirm -Syu Install required packages Parts of these instructions are shared with. This manual-install method builds a FreePBX system on a recent Arch Linux installation with the following specifications:#ARCH LINUX INSTALL MYSQLI PASSWORD#