I have a Linux machine running CentOS 7 with Python 2.7.5 installed. I am trying to run the Arduino-CLI, which is an executable that requires Python. I wrote a command to compile a sketch. As seen on …
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 …
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 …
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.…
URL Rewrite to Remove .php in my Nginx PHP-FPM
I setup Nginx PHP-FPM, with Centos 7, and Virtualmin control panel. I want to have all pages a SEO Friendly link without .php. System automatically create configuration : etc/nginx/nginx.conf And …
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/c…
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 f…
PHP Warning: Module already loaded in Unknown on line 0
On Mac OSX Mavericks using homebrew php55 whenever I run a a php command I get the following error message (everything runs fine it’s just annoying) I ran and the output was Checked in the php.ini file and the only place intl is loaded is at the top and it’s commented out. The other files contents…