In order to browse perl files (.pl) through apache serer you need to add few lines in apache configuration file ( httpd.conf)
Add the following in httpd.conf
AddHandler cgi-script .cgi .pl
Now find the following section
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
Add +ExecCGI to the options list. So it looks like as follows now
Now find the following section
<Directory />
Options FollowSymLinks +ExecCGI
AllowOverride [...]
Archive for the ‘Linux’ Category
configure perl in apache
March 19th, 2010
Aneesh How to install Zend frame work on a Linux and test it
February 9th, 2010
Aneesh Note : This guide is for Admins only , who is going to install Zend for the first time
Here I simply describe about how to install Zend framework and create a sample project
My server is running on Fedora 9, PHP5
Step 1:
Download the Zend framework (MINIMAL PACKAGE). I have downloaded http://downloads.zend.com/framework/1.10.0/ZendFramework-1.10.0-minimal.tar.gz
Step2: Extract the package
Step3: Create [...]
Install php_mssql on PHP
January 20th, 2010
Aneesh In fact installing the mssql modules in php is easy, we may get errors sometimes. In phpinfo() it may be shown that the php mssql module is installed. But when we tried to connect to an SQL server through php script we will get error ” sorry something went wrong”
IF we need to install php [...]
Mysql takes 100 % CPU
December 29th, 2009
Aneesh I have seen that when executing a mysql query the cpu usage becomes 100 % and it takes a long time to execute the query. I have executed the same query thorugh phpmyadmin and that time also it took a long time to execute also mysql consumes 100 % cpu . I have done some [...]
Mysql database replication
December 2nd, 2009
Aneesh Install mysql server on both server and client machine
Settings in Server
Editi My.conf
log-bin = mysql-bin
server-id = 1
binlog-do-db=DBNAME1
binlog-do-db=DBNAME2
# Backing up Master Database
mysqldump -u root -p –routines –add-drop-table –master-data –databases DBNAME1 DBNAME2 > master.sql
musql -uroot -p
CREATE USER ‘repluser’@’%’ IDENTIFIED BY ‘password’;
GRANT PROCESS , SUPER , REPLICATION SLAVE , REPLICATION CLIENT ON * . * TO ‘repluser’@’%’ IDENTIFIED BY [...]



Posted in
Tags: 
