How to install missing curl man pages in Ubuntu?
curl is very useful for the data transfer between the client and the server. Curl is available both as a command line tool as well as for programming purposes. In case of working with curl, you may require man pages and if your curl man pages are missing, you must install the concerned package $ [...]
How to use a jar file in java programs? (Compilation with jar files)
You may have often come across jar files which you have procured from some website or created yourselves. But if you want to make use of it or make use of certain classes defined in the java archive (jar), you must be able to compile with the jar file. For further discussion, we will consider [...]
How to Install drupal in localhost
Drupal is one of the best content management software for web site development. But you can install drupal in your local machines and test its working. To see how it works, follow the steps given below. You must have mysql,php and apache installed in your machine. Create a database for drupal usage in mysql Download [...]
Create your own Log format with log4cpp::PatternLayout
log4cpp::PatternLayout supports four different patterns of log format. But it also supports user specified format. For this purpose, it gives certain format chracters. Some of them are %d: Date %m: log message %n: line separator %p: priority For more such characters refer PatternLayout. The additional benefit of using a format of your own is that [...]
mysql_config: Check how MySql is configured
mysql_config is a command line tool to find how your mysql is configured. It is useful to find out the information like the mysql socket. $ mysql_config Usage: ./mysql_config [OPTIONS] Options: –cflags [-I/usr/local/mysql/include -g -Os -arch i386 -fno-common -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ -DIGNORE_SIGHUP_SIGQUIT -DDONT_DECLARE_CXA_PURE_VIRTUAL] –include [-I/usr/local/mysql/include] –libs [-L/usr/local/mysql/lib -lmysqlclient -lz -lm -lmygcc] –libs_r [-L/usr/local/mysql/lib -lmysqlclient_r -lz [...]
php-config: How is your php configured?
When you install php, your php is configured based on the packages present in your system at that time or sometimes with default value. To check these values, make use of the php_config. php_config gives all the information regarding how your php is configured. $ php-config Usage: /usr/bin/php-config [OPTION] Options: –prefix [/usr] –includes [-I/usr/include/php -I/usr/include/php/main [...]
How to configure PHP and Apache in Linux and Mac?
You have installed PHP and Apache (Check the installation procedure). But you are facing with the following problems You are not able to configure PHP and apache so that apache can execute the .php files Instead of executing the php files, the browser simply displays the php files like a text Instead of executing the [...]