Ubuntu – Unable to load dynamic library ‘/usr/lib/php5/20090626+lfs/sqlite.so’

Linux, Tips and Tricks, Tutorials, Ubuntu
The other day, I was getting this weird error [code]PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/sqlite.so' - /usr/lib/php5/20090626+lfs/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0[/code] Fix it by doing this [code]root@beta:~# rm -fr /etc/php5/conf.d/sqlite.ini[/code] Because this extension does not exist, you can verify it by running this, you will see that there is already sqlite3.ini file there [code]root@beta:~# ls -lh /usr/lib/php5/20090626+lfs/ | grep sqlite[/code]
Read More

cPanel announces PHP 4 End of Life

News
cPanel, the leading web hosting control panel for Linux has announced end of life for PHP 4 support within cPanel. cPanel to End Support for PHP 4   cPanel announces that EasyApache will no longer support PHP 4 beginning May, 2012.   PHP 4 has not been actively developed, or supported by the PHP developers, for several years. Many CVEs reported against newer versions of PHP are also applicable in version 4, but remain unaddressed by the PHP developers.   EasyApache will soon warn administrators that PHP 4 has reached End of Life when PHP 4 is selected. As early as EasyApache 3.12, PHP 4 will be removed from EasyApache. For an indeterminate period PHP 4 will be available as a Custom Option Module on http://easyapache.cpanel.net. This Custom Option Module…
Read More

Just released – PHP SolusVM Wrapper class

OpenSource, PHP
I have just released a SolusVM wrapper class based around the SolusVM Client API. More details on the project homepage new project homepage on GitHub. You can also download the complete code from GitHub, fork it on GitHub to improve it and/or watch/start it Update Nov 29, 2012: Moved from Google Code to GitHub because GitHub is a graet place for open-source stuff. Google Code is so old school now
Read More

Using Facebook Graph API to keep an eye on friends activity

Experiments, Personal, Social Networking, Virtual Private Server
Life is really moving in the fast lane for me, and Im pretty sure for most of you readers too. I login to social-networking platforms after weeks and I cant recognize most of these faces (even though they are my friends). Its proven that Humans tend to recognize people by face more quickly then names and email addresses so whenever someone puts on a new face (uploads a new profile-picture), I have hard time getting to know them. Well, I thought today, I have been developing in facebook application for so long now - Why not put online a few hours to fetch Facebook Friends data via API and keeping track of who did what? (status updates) and who changed his/her profile picture? So last night I was up, as…
Read More

Installing Lighttpd, PHP and MySQL on Ubuntu

How to, Linux, OpenSource, PHP, Tips and Tricks, Tutorials, Ubuntu, Virtual Private Server
If you are not getting a package on Ubuntu, please check to see if your /etc/apt/sources.list file is updated. This is common with most VPS providers On VPS, especially with challenging small memory limit (e.g. 64MB or 128MB) lighttpd is the best option instead of Apache. In this article I will show you how to do that. On a fresh box (which has no apache installed) type this to get lighttpd webserver installed [code]apt-get install lighttpd[/code] Now install PHP5 CGI package and PHP5 command line package [code]apt-get install php5-cgi php5-cli[/code] Edit the following file [code]nano /etc/php5/cgi/php.ini[/code] and uncomment this line [code]cgi.fix_pathinfo = 1[/code] Now enable fastcgi module [code]lighty-enable-mod fastcgi[/code] Restart Lighttpd [code]/etc/init.d/lighttpd restart[/code] You get the welcome page Lets install MySQL 5.1 server and client [code]apt-get install mysql-server mysql-client[/code] and…
Read More

PHP Depreciated errors on Ubuntu 10.04 LTS

How to, Linux, PHP, Tutorials, Ubuntu
If you have installed LAMP (Apache, MySQL and PHP on Ubuntu 10.04 LTS) then running this on SSH [code]php -v[/code] would be giving you certain PHP Depreciated warning like these [code]root@sea:~# php -v PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/idn.ini on line 1 in Unknown on line 0 PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imagick.ini on line 1 in Unknown on line 0 PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imap.ini on line 1 in Unknown on line 0 PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0 PHP 5.3.2-1ubuntu4 with Suhosin-Patch (cli) (built: Apr 9 2010 08:23:39) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies[/code] Its…
Read More

Good bye CentOS! Hello Ubuntu

CentOS, Linux, PHP, Reviews, Tips and Tricks, Ubuntu
Its been about almost more then two years since I have been playing with CentOS on many different platforms etc. Its very stable but on the other hand, PHP/MySQL updates are very hard to get and still PHP is 5.1.6. I tried EPEL repo and it updated PHP to 5.3.1 but still there were conflicts with stuff and many core packages. So, I thought why not move to Ubuntu since it has just announced 10.04LTS (Long Term Support) in April 2010. Folks at iWeb were really nice to do a reinstall without any charges and also process a memory upgrade request at an amazing 50% discount. Ubuntu 10.04 LTS Apache 2 version is 2.2.14 PHP version is 5.3.2 MySQL version is 5.1.41-3ubuntu12 SVN (Subversion) version is 1.6.6 As a comparison…
Read More