FAQ
Installation
- I am using Max OS X. When i run configure i get
Warning: mysql_pconnect(): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock'. - I am using Windows. After i unpack Topincs, the
confandstoreare missing. - I need mod_mime_magic enabled. Is there a way i can run Topincs with mime_magic?
Installation
1. I am using Max OS X. When i run configure i get Warning: mysql_pconnect(): Can't connect to local MySQL server through socket '/var/mysql/mysql.sock'.
This is a documented problem with Max OS X, PHP and MySQL. Use the following commands to fix the issue:
sudo mkdir -p /var/mysql
sudo chgrp mysql /var/mysql
sudo chmod g+w /var/mysql[mysqld]
socket=/var/mysql/mysql.sock
[client]
socket=/var/mysql/mysql.sockRestart MySQL
SystemStarter restart MySQL2. I am using Windows. After i unpack Topincs, the conf and store directory are missing.
Your decompression utitlity is not handling the Topincs distribution right. See if you have an option in your utility to extract empty directories or use another utility to uncompress the distribution. Take a look into the manual to see what the directory content of TOPINCS_HOME should look like after decompression.
3. I need mod_mime_magic enabled. Is there a way i can run Topincs and have mime_magic enabled?
If you need mod_mime_magic and want to run Topincs on the same Apache, edit TOPINCS_HOME/conf/httpd.conf and replace the line
DefaultType application/x-httpd-phpForceType application/x-httpd-php
