Myths behind Apple Logo

Apple Inc. logo story and Myths about it.


Myth 1 : “Apple Computes Inc. logo was inspired by Isaac Newton.” 


Myth 2 : “Apple adopted this logo because they wanted to pay tribute to father of Modern Computers and great Mathematician Alan Turing , who broke Enigma code in WWII and won a war for England and Allies.
He was a gay and did suicide by eating Apple with a cyanide poison”.

Logo 2


Myth 3 : “Bitten Apple portrays the story of Adam and Eve. Apple represents the lust for knowledge and is considered  as a fruit of knowledge because of Adam & Eve and obviously Isaac Newton”.

True Story

Steve Jobs was working in McIntosh Apple orchard. He named this company on his favorite fruit. When Jobs uttered the name ‘Apple’, Wozniak laughed and said,

‘It’s a computer company, not a fruit store.’

In a press conference in 1981, Jobs was asked why he named the company ‘Apple’.

“I like apples and love to eat them. But the main idea behind the apple was to bring simplicity to the people, in the most sophisticated way and that was it, nothing else”.

First Logo “Newton Cresent Logo” was made by  Ronald Wayne in 1976, who is the third co-founder of the Apple Company, designed its first logo.

After the Newton Crest, Jobs decided to explore something new, something different, for the logo. Hence, he hired Rob Janoff as the designer to come up with something modern.

Jobs and Rob Janoff was really inspired by hippie culture of that time and Jobs wanted every one to think different(ly).

“He wanted the green on the top because there was a leaf there”, explained Janoff.

According to Janoff, the bite on the Apple logo was to really let people know that it was an apple and not a cherry. The bite also played along with the computer buffs at that time because it had a similar sound off to the word ‘byte’, a unit of digital information in computing and telecommunication.


then Apple Inc. moved to different version of logo because Rob Janoff logo was not fit well with metal casing of new Apple products. This logo was active 1998-till date.

Stories are cool and simple but we made them fabricated and then rumors and falsehood takes place. 

Jobs said 


Hope you enjoyed the blog .. 🙂


MongoDB + PHP

MongoDB with PHP

Hey Guys !

Its Arsalan Peerzada Here .. In this Blog we try to learn how to connect MongoDB with PHP using WAMP, because WAMP (Windows Apache MySQL PHP) is more dedicated to windows as compare to XAMPP or other Servers.

So lets Start with the Downloading ….

MongoDB :

Windows 32-bit or Windows 64-bit 2008 R2+   , In .Zip format.



Windows 32-bit or Windows 64-bit.



This picture will appear , but don’t worry it is not that much dangerous as is look like …

Open WAMPServer Installation Wizard. With This icon


Click on Next >


Select “I accept the agreement” and then click Next.


Select the default path and Click Next >


Select both and Click Next.


Click Install


After Installation…!

Choose Browser of your own choice or Just click Open


If you are not sure , leave the default values ..


Now Click Select Launch and then Click Finish  …


You’ll see then WAMP icon in lower-right corner

Red Icon = All Services Stop .

Orange Icon = Partial Services are running .

Green Icon = All Services are running.

Open it ,


If Icon is Red , Orange or Green . Do not Worry we’ll configure it later.

Now Click Localhost , WAMPServer Page will Open .

If not ,

Go to


Open httpd and httpd.conf respectively and search Listen then change Every :80  to :8080

Go to


Open httpd-vhosts then change every :80 to :8080

Now your LocalHost will be LocalHost:8080

MongoDB Continue:

Now go to


Create a new folder , Copy the name of MongoDB zip file and rename the folder with it.



Extract the MongoDB zip file into this folder.

Now Create Folder , names conf , data , logs


In conf folder create a note pad file and save it in mongodb.conf and write this content in it.

# mongodb.conf

# data directory


# log directory



# run on localhost for development

bind_ip =

# using port

port = 27017


Note :- adjust your mongodb version in the file.


Open the windows command prompt as administrator privilege and locate it to




Note :- adjust your mongodb version


Install MONGODB :

Execute this command to install Mongo DB as a windows service.

Command to execute:

mongod.exe –install –config C:\wamp\bin\mongodb-win32-x86_64-2008plus-3.0.1\conf\mongodb.conf –logpath C:\wamp\bin\mongodb-win32-x86_64-2008plus-3.0.1\logs\mongodb.log


Note :- adjust your mongodb versions


Set Environment Path:

Now set the Windows Environment Path

Right click on My Computer.
Click Advanced system settings.
Click Environment Variables button.
Click PATH on Variable column, then append this path.



Note :- adjust your mongodb and PHP versions 


Now Open Command Prompt with Administrator and type mongod , you’ll see this


Check your MongoDB , Now Open another Command Prompt with administrator and type mongo

And some other commands to check your MongoDB database is working or not.


NOW ADD THE PHP Extension:

first of all you have to download the latest mongo dll files from

unzip the downloaded file and you will see a bunch of files like this:


now it is time to decide which dll file you have to use.
open your phpinfo() and search for word compiler. you will see sth like this:
so now according to my compiler version (MSVC11) I have to choose file with vc11 word inside their name. according to my PHP version which is 5.5.12 I have to choose file with word 5.5 inside their name.
now search for word thread safety in your phpinfo
and if it was enabled, it means that you have to choose file that doesn’t have word nts inside their name but if your thread safety was disabled then you need to choose file with word nts inside their name.
now according to your installation architecture you may choose files with x86_64 inside their name.
after choosing the appropriate dll file, rename it to


and copy paste it to your php extensions directory which is mostly located at



now open your php.ini file and add this at the end of it.

Edit your php.ini file to add the new extension.


wampmanager -> PHP -> php.ini

find extensions then add this line below other extension lines,


To use mongo with scripts run from the command line (PHP CLI) edit


and add the extension line again in there.


Copy all dll files from




Restart your system and Open WAMP

Run localhost:8080 by :-


and then click on the phpinfo() link on the homepage.

You should now see a section entitled ‘mongo’ with some configuration options listed. If you do the PHP MONGO extension is active.


Starting WAMP with MONGODB:

Now Open Notepad++ in c:\wamp\www

with MyPHP.php

write this code



$m = newMongoClient();


echo “MongoDB Successfully Running”;



Now open your browser type  LocalHost:8080\MyPhP.php


If this code work then your MongoDB+WAMP is running.



Today we learn how to Connect MongoDB with WAMP.

Now we are able to work with famous NoSQL MongoDB with PHP