[24] Results

Fix "Failed to start php5-fpm.service: Unit php5-fpm.service is masked."

php fpm service-is-masked

Problem:

Encounter this error message :

Failed to start php5-fpm.service: Unit php5-fpm.service is masked.

after upgrading Ubuntu with do-release-upgrade.... read more


Linux/Unix/PHP : Restart PHP-FPM

linux php-fpm php5-fpm unix defunct pkill

Problem :

One of my server ran out of memory because of defunct php-fpm process. Need to restart php-fpm (FastCGI….... read more


PHP : Hide PHP version information from curl

php

By default, PHP will expose its version information when query by curl -I and you may want to hide the version information to prevent a….... read more


PHP : See installed compiled-in-modules

php

PHP has compiled-in modules that allows it to perform various operation. If you want see what modules is linked to PHP. Enter the following command:….... read more


Ubuntu : connect() to unix:/var/run/php5-fpm.sock failed (13: Permission denied) while connecting to upstream

ubuntu linux permission-denied php5-fpm upstream

Encountered a permission denied problem while setting up a server with Ubuntu + PageSpeed + Nginx + PHP5-FPM. From the….... read more


CodeIgniter : How to check if a session exist in PHP?

php codeigniter session

Problem :

How to check if a CodeIgniter or PHP session exist or not?

Solution :

From the official PHP….... read more


PHP : Send HTML email

php html email

Sending email with PHP is easy and in this tutorial, we will learn how to send HTML based email with….... read more


Facebook PHP getUser() returns 0

facebook php

Recently upgraded my DigitalOcean droplet's PHP to version 5.4.2 and couple of days later I started getting complaints from the users that Facebook sign up….... read more


Advertisement