Tag » PHP5

PHP 5 Tutorial Learn Classes And Object

PHP5TUTORIAL
The Third version of PHP provides the support for Object Oriented programming approach but not more usable like other Object Oriented programming languages. It’s some very simple concept of Oops and not more improved at the time of release of PHP version 4. 394 altre parole

Object Oriented Model

The php 5.5 upgrade struggle

Some things I’ve run into upgrading from Ubuntu 12.04 to 14.04. Someone else may find this useful.

  •  APC is gone, long live APCU.
    APCU is not backwards compatible; expect to (have your devs) make some solid code changes to support APC.
  • 390 altre parole
Linux

Hello, Again!

I chanced upon some amusing JAVA code today and decided to translate it into PHP. Here’s the code: 489 altre parole

PHP

PHP: Going to Zero

Following in the tradition of its predecessor Perl, PHP has its own secret operators (see “Inchworm on a Stick“).Today let’s explore the heretofore unknown PHP operator, “-->”, most remarkable for quickly reducing a numerical value to zero. 888 altre parole

PHP

How to install PHP to Apache HTTP Server in Ubuntu 14.04 (Trusty Tahr)

This blog post describes how I install PHP to Apache HTTP Server and test the installation on my Ubuntu installation.

Steps

  1. Installation
  2. Verifying PHP5 Modules in Apache2 HTTP Folder…
  3. 454 altre parole
Ubuntu

Ubuntu 14.04 - Mcrypt extension missing

Php5-mcrypt shows it installed properly, but xibo complains its missing.

Solution:

sudo updatedb

sudo locate mcrypt.ini

Output:
/etc/php5/mods-available/mcrypt.ini

sudo locate mcrypt.so

Output:
/usr/lib/php5/20121212/mcrypt.so

Edit mcrypt.init and add the above path for extension.

52 altre parole
Bash