Skip to content

Tag: centos

Install mailparse on linux centos7

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 &#82…

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 mig…

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/Dokerfil…

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 …

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 whi…