Category : php-7.4

I have a server running ubuntu 16.04 I am using the PPA:ondrej/php (https://launchpad.net/~ondrej/+archive/ubuntu/php) and have been for years. I use update-alternatives to switch between multiple php-fpm versions as needed. using: sudo update-alternatives –set phar /usr/bin/phar7.4 sudo update-alternatives –set phar.phar /usr/bin/phar.phar7.4 sudo update-alternatives –set phpize /usr/bin/phpize7.4 sudo update-alternatives –set php-config /usr/bin/php-config7.4 (changing the version number as ..

Read more

I installed Apache 2.4.41 and PHP-FPM 7.4 on Ubuntu 20.04 by following the commands below: sudo apt install apache2 sudo apt install php libapache2-mod-php sudo a2dismod php7.4 sudo a2dismod mpm_prefork sudo a2enmod mpm_event sudo apt install php-fpm sudo apt install libapache2-mod-fcgid sudo a2enconf php7.4-fpm sudo a2enmod proxy sudo a2enmod proxy_fcgi By default the 000-default site ..

Read more

I have a laravel query form using {!! Form::open([‘method’ => ‘GET’]) !!} with different query fields. For example, I have fields like name category price The user fills out the fields as required, however, even if a field is left ”blank” (null) the query parameter appears in the URL e.g sitename.com/products?name=’test’&category=&price= I was wondering if ..

Read more