A strange stdin error started coming recently while logging in Ubuntu GUI as root. While this is actually a bug which was assumed by ubuntu developers while creating .profile file. The main culprit is the mesg n line at the
MongoDB Error “Too Many Open Files”? Raise the limit
Raising the file limit for MongoDB If you installed from the Ubuntu/Debian package, then there is a simple way to increase the open file limit. MongoDB’s startup script is /etc/init/mongodb.conf. This is an upstart script which supersedes the /etc/init.d scripts we’re all
Enable PHP in HTML or other files
Sometimes we need to parse HTML or other files as PHP. This can be done using either apache2.conf or httpd.conf whichever applies to your Apache Web Server or by using .htaccess file placed in your root web document directory. We
Installing MongoDB for PHP in Ubuntu 14.04
First, to get this thing going, we’ll need to resolve some dependencies. To do that, run this command from the terminal: $ sudo apt-get install php-pear php5-dev Next, you should easily be able to install the driver with the following