Category : centos

i have two php verison on my centos8 ; php8.0 -> defualt use php7.4 -> for someone v.host php-fpm i try to rum phpmyadmin and see : Composer detected issues in your platform: Your Composer dependencies require the following PHP extensions to be installed: mysqli, xml in my php.ini mysql extension enabled but on moadule ..

Read more

I have installed PhpMyAdmin on a Centos 8 machine sucessfully following this tutorial: https://www.itzgeek.com/how-tos/linux/centos-how-tos/how-to-install-phpmyadmin-on-rhel-8.html I can access phpmyadmin through MY_IP/phpmyadmin. I want to change /phpmyadmin to something different, for example: /mydb Checking the internet looks like its as easy as changing the alias, so in my conf file this is what I do: /etc/httpd/conf.d/phpMyAdmin.conf #Alias ..

Read more

I’m trying set proper configuration for apache in Centos 7 in below file: /etc/httpd/conf/httpd.conf My application is Laravel and it works with php 8. Also I need a subdomain for second application too which is laravel. These are my server block: <VirtualHost IP:80> SuexecUserGroup "#1000" "#1000" DocumentRoot /home/example/public ServerName example.com <Directory /home/example/public> Options -Indexes +IncludesNOEXEC ..

Read more

For those wanting to use this on PHP 7.4 on Centos 7, I ran the following: curl https://packages.microsoft.com/config/rhel/7/prod.repo > /etc/yum.repos.d/mssql-release.repo yum remove unixODBC-utf16 unixODBC-utf16-devel ACCEPT_EULA=Y yum install msodbcsql yum install unixODBC-devel gcc-c++ gcc autoconf automake plesk-php74-devel /opt/plesk/php/7.4/bin/pecl install pdo_sqlsrv echo "extension=pdo_sqlsrv.so" > /opt/plesk/php/7.4/etc/php.d/pdo_sqlsrv.ini /opt/plesk/php/7.4/bin/pecl install sqlsrv echo "extension=sqlsrv.so" > /opt/plesk/php/7.4/etc/php.d/sqlsrv.ini and tested it with: /opt/plesk/php/7.4/bin/php ..

Read more