PHP museum

php1, php2, php3, php4, php5, php7 +php-gtk install

Really Do you make it your mission to terrify them

Nick Cave - 20,000th day on the planet Earth

creating PHP extension

Írjunk PHP extension-t: az alapok :

bejegyzés megértéséhez a következőkre lesz szükségünk:

Linux parancssori ismeretek
PHP ismeretek
a C nyelv ismerete
egy működőképes Linux rendszer (esetemben ez egy Ubuntu 16.04.-es disztribúció)

It's not that the moment you walk on you turn into an angel or something like that.

Nick Cave - 20,000th day on the planet Earth

The Evolution of PHP – Infographic

PHP was created by Rasmus Lerdorf in 1994 and was publicly released in June 1995. Back then, it was the abbreviated form of Personal Home Page tools. After two years, in 1997, it entered public domain as PHP/F1 2.0. A year later, two programmers, Zeev Suraski and Andi Gutmans, rewrote the base of the original version and launched PHP 3.

PHP 4, which came out in 2000, incorporated a scripting engine named Zend Engine that was designed by Suraski and Gutmans. Three more major versions with some sub-versions were launched in the later years with the latest version 7.0 released in 2015.

Two decades after its inception, PHP has registered a phenomenal growth and is still going strong. Today, it controls over 80% of all the websites on the globe. This includes majors like Facebook, Wikipedia and WordPress among others.

The Evolution of PHP – Infographic

I got a feeling I just can't shake

Nick Cave - 20,000th day on the planet Earth

Your software is Vitamin or Painkiller?

How to Quickly Tell If Your Software Product Idea Will Be Successful :

The dream of many software developers is to create their own business, so they can work for themselves all the time instead of working for others.

So they start thinking of ideas for new software products, but they are never certain of which ideas will be successful. So they often pick one idea they like and then start working it. After many months they launch it but often the product does not have the traction they hoped.

This is what is called the shot in the dark. The dream turns into a frustration. I have found myself in this situation many times, so I thought to myself that there should be a way to avoid the frustration.

Ah give us a kiss

Nick Cave - 20,000th day on the planet Earth

I found the best description for PHP 7 upgrade

I did the upgrade by this article but the PHP did’nt work:

This works for me: 1. Re-Install PHP 5.6

sudo add-apt-repository ppa:ondrej/php

sudo apt-get update

sudo apt-get install php7.0 php5.6 php5.6-mysql php-gettext php5.6-mbstring php-xdebug libapache2-mod-php5.6 libapache2-mod-php7.0

From php5.6 to php7.0 :

sudo a2dismod php5.6 ; sudo a2enmod php7.0 ; sudo service apache2 restart


PHP7: Mcrypt PHP extension required.

sudo apt-get update
sudo apt-get install mcrypt php7.0-mcrypt
sudo apt-get upgrade


php7 CURL PHP extension:

sudo apt-get install php7.0-curl

install GD:

sudo apt-get install php7.0-gd
max_file_uploads 2 -> 20M

sudo nano /etc/php/7.0/apache2/php.ini

I edited in nano.

sudo service apache2 restart



sudo apt-get install php7.0-sqlite3
sudo service apache2 restart


like looking really pissed off and not wanting to be there.

Nick Cave - 20,000th day on the planet Earth

php framework independent development

I am searching the solution. Some useful article.

Build your own PHP Framework with Symfony Components :

Symfony2: How to create framework independent controllers? :

Symfony2: Framework independent controllers part 2: Don’t use annotations :

Symfony2: Framework independent controllers part 3: Loose ends :

Definitive Laravel 4 to Laravel 5 Migration Guide :

of having a hit record

Nick Cave - 20,000th day on the planet Earth

Removes duplicates values from an multidimensional array (PHP)

The idea: Serialize the item of the item (array) of the multidimensional array

Than Sort out the same item.

// serialize — Generates a storable representation of a value
$workArr =array();
foreach ($newDateArr as $value) {
$workArr[]= serialize ( $value );

$workArr = array_unique($workArr);

//unserialize — Creates a PHP value from a stored representation
$workArr2 =array();
foreach ($workArr as $value) {
$workArr2[]= unserialize( $value );

other source – but this was not worked for me:

How to remove duplicate values from a multi-dimensional array in PHP

and Susie was heavily pregnant at the time with the twins.

Nick Cave - 20,000th day on the planet Earth

PHP sessions default timeout

Q: would a user eventually be “logged out” after some time of inactivity?
A: It depends on the server configuration or the relevant directives (session.gc_maxlifetime) in php.ini. Typically the default is 24 minutes (1440 seconds), but your webhost may have altered the default to something else.

CakePHP – session timeout:

Yeah. Like am I doing that...

Nick Cave - 20,000th day on the planet Earth