Archive for December, 2010

Unable to access VMware on port 8333

Thursday, December 30th, 2010

For Windows Xp
Solution : Please make sure vmware host agent service is running.

Please check the picture.

Vmware Host agent

Linux:How to compile php with mysqli support

Thursday, December 23rd, 2010

While installing php from source with mysqli support could be big trouble , Most of the time it through bellow errors

configure: error: Cannot find libmysqlclient under /usr.

if you see this kind of error, try to find out where is libmysqlclient into your server, by typing

locate libmysqlclient

you might see output like this :


Resolution is to tell php where is your lib directory is ,
for a 64 bit server, its /usr/lib64. so configure your php like bellow

 ./configure --with-apxs2=/usr/local/apache/bin/apxs --with-mysql=/var/lib/mysql --with-libdir=/lib64 --with-mysqli --enable-mbstring --with-gd --with-zlib --with-jpeg-dir --with-png-dir --with-openssl --with-curl --with-mcrypt --with-imap --with-kerberos --with-imap-ssl

Hope this will help.

Linux: How to configure sendmail to receive email (Basic Steps)

Monday, December 13th, 2010


(a) Edit /etc/mail/ and modify bellow lines , It will allow sendmail to received email from outside of localhost.

DAEMON_OPTIONS(`Port=smtp,Addr=, Name=MTA')dnl
DAEMON_OPTIONS(`Port=smtp, Name=MTA')dnl

(b) Edit /etc/mail/virtualtable type , this will map virtual addresses into real addresses jschmoe

Here, sendmail will receive email , and any email comming with address will be delivered into to jschmoe’s inbox

(c) Edit /etc/mail/local-host-names and insert the domain name. This lets Sendmail know that you will provide it with a list of domains for which it may accept mail

(d) Now restart sendmail

service sendmail restart

e) Open the port 25 in your firewall or iptables