Hi I’m trying to install mailparse for my php7.4.21 on my linux centos7 server but the documentation is not great and I’m no sysadin. https://www.php.net/manual/en/mailparse.installation.php states “In order to use these functions you must compile PHP with mailparse support by using the –enable-mailparse configure option”. This is not very helpful but so far I’ve had to do the following: But
Tag: centos
Laravel migrations won’t apply on MySQL (InnoDB)
Hello everyone, This is my first time posting ! I am running into a problem when applying laravel 8 migrations on my new web server. While trying to deploy my projet I’m unable to apply migrations and I’m not sure why. Below images of the error and my migration, i’m using the php artisan migrate –seed command Outputed message when
Docker Centos with php fails to start
I am trying to build a centos server with php on it I am using centos:7 image and in it install php dependencies. But that doesn’t seem to work as every time, the build is successful but just after that the container shuts down. Here is my docker-compose.yml And the Dockerfile (found in .docker/Dokerfile): Any ideas ? Answer There are
phpmyadmin 403 Forbidden after php downgrade from 7.4 -> 7.3 on CentOS 7 Apache
I have acquired VPS and got it with LAMP. I installed phpmyadmin and configured it’s phpmyadmin.conf file to make it accessible from browser and it was working. Later I upgraded my PHP 5.x to 7.4. version following this tutorial: https://computingforgeeks.com/how-to-install-php-7-4-on-centos-7/ After upgrade I got memory problems with script so I tried “downgrade” to PHP 7.3. First I uninstalled my current
Installing pdo_sqlsrv driver in PHP 7.4 using CentOS 8
I have successfully installed php 7.4 with Remi packages in my CentOS 8 VPS (Used this guide https://www.digitalocean.com/community/tutorials/how-to-run-multiple-php-versions-on-one-server-using-apache-and-php-fpm-on-centos-8) I have a VirtualHost in my Apache server, that points to my domain and load the required php version for that environment. How do you enable the pdo_sqlsrv extension to a php 7.4 installation using Remi? I’ve followed this guide: https://learn.microsoft.com/en-us/sql/connect/php/installation-tutorial-linux-mac?view=sql-server-ver15#installing-the-drivers-on-red-hat-7-and-8 but
CentOS 7 – Impossible to install PHP 7.3
I want to enable php73 as default version and install all packages related to it. So I did: And then: Right after, I can see that it wants to install PHP 8.0 (remi-php80, which breaks my project dependencies): How can I enable & force installation of PHP 7.3 on Centos 7? I want to avoid doing it manually like: $
How to update PHP versions with Yum on AWS Linux / CentOS
I have a web server with PHP 7.3 installed (And Apache + Wordpress), plus a number of PHP related modules. This server is on AWS Linux. When the AWS repo makes PHP 7.4 available, what’s the best way …
why is composer not working centos symfony4
my English is very bad, I have a problem at install project symfony4.4 in server centos7 , with php7.3 , not php7.4 in windows is OK with php7.3 i run the command line /opt/plesk/php/7.3/bin/php /…
Linux scheduled task not working in Laravel
The below cronjob is not working, although the task itself is working when I manually run it using php artisan q:calc . I just added the path for php and artisan files as shown below, and pasted the …
How to install ffmpeg for PHP
I’ve successfully installed ffmpeg using ssh, as root, on my dedicated server (CentOS 7). ffmpeg works fine – but now I need to use it without root access. When i try to use ffmpeg without root access, I get the following error : The final goal is to be able to use ffmpeg inside my PHP scripts which do not