Jean-Pierre Pommet
CTO at New Media Plus - Paris, France
Mark Zuckenberg, Facebook CEO Interview by Building43
I encourage you to check their website, some good content !! spread the word :)
3 weeks agoHow to install PECL package APC on ubuntu
Before you start, you may know that if you have installed the apache-prefork-mpm package on your ubuntu distribution, you should install apache-prefork-dev to build correctly APC.
After installing apc, you should set apc parameters correctly in file apc.ini according to your needs.
Further informations about APC are available below :
http://us.php.net/apc
http://www.slideshare.net/search/slideshow?q=apc+php
How to install php extension FileInfo and get a file MIME type
Just a little post that may help PHP developers. It works under Ubuntu Hardy Heron Server and PHP version < 5.3.
When developing in PHP, you need sometimes to get informations about a file, especially the MIME type ( ex : text/plain, image/gif ).
In order to do so, you need first, to install the PECL extension FileInfo. ( Since PHP 5.3, the FileInfo extension is packaged by default.)
Here is the following command lines to install this extension:
and then copy the code to get the file MIME type :
Hope it helps :)
More resources about MIME types :
http://en.wikipedia.org/wiki/MIME
http://www.iana.org/assignments/media-types/
