Google Custom Search
affiliate_link
Amazing Offer!! Get upto 50% of your paid amount back in Cash Rebate from us. Click for more details

permalink or mod_rewrite issues on linux

are you having tough time with wordpress permalinks seup on linux.  does it fails to resolve links even you have got mod_rewrite enabled in apache config? ideally it should work and in most cases it works but sometimes it won’t.

solution is to add the two lines below to your .htaccess file preferably at top

Options +FollowSymLinks
AllowOverride All

make sure these lines are not already added to your apache config file or you may get internal server errors.

if it doesn’t works in .htaccess file which can happen occassionally then you need to add these lines to apache conf. which should work for sure.

Libcurl issue with php installation on linux using yum

are you having trouble installing php on linux with yum? does it says every time “missing depedancy libcurl.so.3″ and if you try to install it, it never works?

here is a very simple solution, use yum remove libcurl and then use yum install libcurl.

it worked for me as it was just a libcurl version issue. i tried everything i found on forums but nothing worked.

yolu can try it out if nothing works for you too.

How to use PostgresSQL

Set postgresql to start on boot
To check the current setting:
    # chkconfig postgresql --list
To set the service to start on boot:
    # chkconfig postgresql --level 3456 on

Test postgresql
Check whether postgresql is running:
    # service postgresql status
If service replies that postgresql is stopped, then:
    # service postgresql start
service should reply OK

Login and Exit postgresql Shell

To login, type following on command line 

psql -U username. it would ask for password on next line. type in the password. 

to exit type \q on command line.
Read More…

Planning Commision of Pakistan: DEVOLUTION and AREA DEVELOPMENT

1. To assist the local authorities in the preparation of the local

plans/schemes for less developed areas including Special Areas (i.e.

AJ&K, NA, FATA), which fit into the priorities of the Government in

the development work, e.g. potable water, farm to market roads,

primary education, electrification and health etc. Read More…