Skip to content
Advertisement

Tag: centos7

Fail install mongodb on Centos 7 with Package error

I try to install mongodb to Centos 7 server with PHP. I follow the install guide from https://www.php.net/manual/en/mongodb.installation.pecl.php But sudo pecl install mongodb show error message: As the error message recommded, I install php-devel package by But I got a lot of Dependency error: Below are the server details, any solution? yum repolist rpm -q centos-release php –version Answer remi-php73

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

SMTP ERROR: Failed to connect to server: Connection timed out (110) when using phpmailer

This works perfectly in my old server. 2020-07-18 16:37:45 SMTP ERROR: Failed to connect to server: Connection timed out (110) SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting I am now using CentOS 7 and php7.3.2 What I’ve tried. use port 587,465,25 use host smtp.gmail.com,108.177.122.108 This is my code: UPDATE I test telnet smtp.gmail.com for port 25 465 587,the result is also connection time

NGINX server configuration for Codeigniter

/etc/nginx/conf.d/default.conf my codeigniter folder is ‘ci’ which is located in /var/www/html/ci what configuration do I need to work url rewriting?… Answer I didn’t want to change the current document root (/var/www/html) since my ‘ci’ folder is located at /var/www/html/ci. So instead, I created a new location block in /etc/nginx/conf.d/default.conf: Thanks to Mert Öksüz for suggesting to use try_files $uri $uri/

Uncaught ReflectionException: Class log does not exist Laravel 5.2

I am currently trying to clone an existing project of mine from github. After clone I run composer install during the process I receive the following error: Uncaught ReflectionException: Class log does not exist I am running Laravel 5.2 on Centos 7. I have seen references to: Removing spaces within the .env file. Removing the vendor directory & re-installing Removing

Advertisement