Lateo.net - Flux RSS en pagaille (pour en ajouter : @ moi)

🔒
❌ À propos de FreshRSS
Il y a de nouveaux articles disponibles, cliquez pour rafraîchir la page.
☐ ☆ ✇ nixCraft

How to install PHP 8.2 with Apache on Debian 11 Linux

Par : Vivek Gite — 4 avril 2023 à 10:43
See all PHP related FAQ

Debian 11 is an excellent server OS to run the LAMP stack. PHP (Hypertext Preprocessor) is a widely-used open source general-purpose scripting language especially suited for web development. However, Debian 11 comes with PHP version 7.4. Here is how to install PHP 8.2 with Apache server on Debian 11 using the CLI or over ssh based session.

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How to install PHP 8.2 with Apache on Debian 11 Linux appeared first on nixCraft.

☐ ☆ ✇ nixCraft

PHP Warning: Constant ABSPATH already defined in wp-config.php

Par : Vivek Gite — 1 août 2022 à 08:16
See all PHP related FAQ

While looking into the nginx PHP error log file fixing unrelated issues, I noticed I was spammed with the following message:

[28-Jul-2022 10:27:13 UTC] PHP Warning: Constant ABSPATH already defined in /home/lighttpd/cyberciti.biz/http/faq/wp-config.php on line 73
[29-Jul-2022 10:29:13 UTC] PHP Warning: Constant ABSPATH already defined in /home/lighttpd/cyberciti.biz/http/faq/wp-config.php on line 73
31-Jul-2022 10:31:13 UTC] PHP Warning: Constant ABSPATH already defined in /home/lighttpd/cyberciti.biz/http/faq/wp-config.php on line 73
[-Jul-2022 10:32:38 UTC] PHP Warning: Constant ABSPATH already defined in /home/lighttpd/cyberciti.biz/http/faq/wp-config.php on line 73
[31-Jul-2022 10:33:13 UTC] PHP Warning: Constant ABSPATH already defined in /home/lighttpd/cyberciti.biz/http/faq/wp-config.php on line 73

I was surprised by this as it was filling up disk space for no good reasons. So I decided to look into it.

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post PHP Warning: Constant ABSPATH already defined in wp-config.php appeared first on nixCraft.

☐ ☆ ✇ nixCraft

file_get_contents(): https:// wrapper is disabled in the server configuration

Par : Vivek Gite — 8 avril 2022 à 11:45
See all PHP related FAQ

So while working on some custom code for this website, I noticed broken functionality. Initially, I thought Cloudflare blocked the origin server IP address. So I looked into the Cloudflare log and found nothing. So, upon close inspection of a php error log, I found this:

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post file_get_contents(): https:// wrapper is disabled in the server configuration appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to tell and force Composer to use a specific PHP version such as 7.x or 8.x

Par : Vivek Gite — 16 décembre 2021 à 12:39
See all UNIX related articles/faq

I have multiple versions of PHP installed on my development VM. I am migrating all my projects from PHP 7.x to 8.x and testing it. However, this leads to specific problems. For example, my production Linux container is on PHP 7.4.26, while the development VM is on PHP 8.1. So they don't match and causes problem even in the dev environment because I have 7.x and 8.x. Here is how to tell the composer to use different PHP versions per project requirements.

Love this? sudo share_on: Twitter - Facebook - LinkedIn - Whatsapp - Reddit

The post How to tell and force Composer to use a specific PHP version such as 7.x or 8.x appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to Install PHP on OpenSUSE 15.2/15.1

Par : Vivek Gite — 15 juillet 2020 à 19:47

In this tutorial, you will learn how to install PHP 7.4 on OpenSUSE Linux 15.2/15.1 and configure it with Nginx. PHP is server-side and very popular for various PHP frameworks such as Symfony, Laravel, and open source apps like MediaWiki, WordPress, Nextcloud, and more.

This entry is 3 of 3 in the OpenSUSE Linux LEMP Stack Tutorial series. Keep reading the rest of the series:

  1. Install and use Nginx on OpenSUSE Linux
  2. Secure Nginx with Let's Encrypt on OpenSUSE Linux
  3. Install PHP on OpenSUSE Linux 15.2/15.1

The post How to Install PHP on OpenSUSE 15.2/15.1 appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to Install phpredis on CentOS 8 / RHEL 8

Par : Vivek Gite — 15 février 2020 à 21:03

How do I install PHP extension called phpredis (php-redis) for interfacing with Redis cluster on CentOS 8 or RHEL 8?

The post How to Install phpredis on CentOS 8 / RHEL 8 appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to Install PHP 7.x on CentOS 8 For Nginx

Par : Vivek Gite — 16 décembre 2019 à 16:01

How do I install PHP 7.x on CentOS 8 Linux server along with Nginx? How can I install the latest version of PHP 7.4 on CentOS Enterprise Linux 8 server?

The post How to Install PHP 7.x on CentOS 8 For Nginx appeared first on nixCraft.

☐ ☆ ✇ nixCraft

Amazon Linux AMI Install Linux, nginx, MySQL, PHP (LEMP)

Par : Vivek Gite — 15 octobre 2019 à 21:39

How do I install Linux, nginx, MySQL, PHP (LEMP) stack on Amazon Linux AMI running on AWS?

The post Amazon Linux AMI Install Linux, nginx, MySQL, PHP (LEMP) appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How to install LAMP on Debian 10 (Buster)

Par : Vivek Gite — 15 juillet 2019 à 19:18

How do I install a LAMP stack on Debian 10 (Buster)?

The post How to install LAMP on Debian 10 (Buster) appeared first on nixCraft.

☐ ☆ ✇ nixCraft

How To Install Linux, Apache, MySQL, PHP (LAMP) stack On RHEL 8

Par : Vivek Gite — 13 décembre 2018 à 12:01

How do I set up a LAMP stack on RHEL 8 cloud server or VPS or bare metal server? How can I install Linux, Apache, MySQL/MariaDB, PHP (LAMP) stack On RHEL (Red Hat Enterprise Linux) 8?

The post How To Install Linux, Apache, MySQL, PHP (LAMP) stack On RHEL 8 appeared first on nixCraft.

❌