Solved : 404 error while changing Permalink Settings in WordPress on Ubuntu + Apache2

I am using Ubuntu 11.04 and LAMP (Apache2) I did a fresh installation on WordPress and tried changing the Permalink settings from default to Post name option. But when I navigated to the posts, I used to get a 404 – Page not found error Doing this solved the problem. Making sure that the Mod_rewrite is …

PHP on Linux (Ubuntu 11.04 – Natty Narwhal)

These are some of the codes that helped me getting started in using Apache server on Ubuntu 11.04 (Natty Narwhal) Finding out the user group <?php // outputs the username that owns the running php/httpd process // (on a system with the “whoami” executable in the path) echo exec(‘whoami’); ?> (often it is www-data ) source : http://php.net/manual/en/function.exec.php Check you have the permission. If not change the pormissions for the var/www folder on Linux (in …