Categories: Hostripples Featured

Install mod_log_sql

wget http://www.outoforder.cc/downloads/mod_log_sql/mod_log_sql-1.101.tar.bz2
bunzip
tar -xvf
cd

/configure –with-apxs=/usr/local/apache/bin/apxs –with-mysql=/usr
make
make install

mysql -u root -p
mysql> create database apachelog;

Configuring Apache to log to MySQL using mod_log_sql in httpd.conf

LoadModule log_sql_module /usr/local/apache/libexec/mod_log_sql.so
LoadModule log_sql_mysql_module /usr/local/apache/libexec/mod_log_sql_mysql.so


HR-ADMIN

Recent Posts

AI – Powered Customer Support in Hosting: Chatbots & Virtual Assistants

Customer support has always been the backbone of the web hosting industry. From helping users set up domains to troubleshooting…

2 weeks ago

ChatGPT: Your Ultimate AI Content Generation Tool

Content is the most vital asset for businesses navigating the digital era. But creating high-quality, engaging content consistently can be…

4 weeks ago

Discover Ollama: How It Works, Features & Everything?

Welcome to the exciting world of Ollama, a revolutionary open-source tool that's democratizing access to Large Language Models (LLMs). If…

1 month ago

Connecting to Amazon EC2 via WinSCP (SFTP): A Complete Guide

Managing files on your Amazon EC2 instances can often feel like navigating a complex maze, especially when you prefer a…

2 months ago

How Can I Connect to a Database with MySQL Workbench?

Welcome to the world of database management with MySQL Workbench! If you're new to databases or looking for a powerful,…

2 months ago