Skip to content
Advertisement

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 –enable-mailparse configure option”. This is not very helpful but so far I’ve had to do the following: But

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

Advertisement