History: InstallingOnMandrake9_1
Preview of version: 5
Summary: I ran into a few difficulties installing TikiWiki 1.7.3 on Mandrake 9.1. I thought I would document a few of the pitfalls I ran into in case it saves others time. I'm not going to repeat steps covered in the Install Instructions.
Mandrake and MySQL
This problem has nothing to do with TikiWiki, but seems to be a flaw in how Mandrake installs php.
- After TikiWiki install, the first problem I encountered was that TikiWiki could not see my database.
- I checked that Mysql was installed and the permissions were set correctly. This looked fine.
- I made a test php page to see if that could connect to a test database. I kept getting the error message saying "Call to unsupported or undefined function mysql_connect()". PHP couldn't see the MySQL server.
- I discovered that Mandrake has many of the php additions as dynamic modules that are installed as separate rpm files. So I ran "urpmi php-mysql" and it confirmed that this module was already installed.
- I looked in the /etc/php/ folder. There was a file there called "34_mysql.ini" just like there should be.
- I realized there was no php.ini file and then found out that this is also a separate rpm file.
- I ran "urpmi php.ini" which placed the php.ini file in /etc and then tried my test php page again. I was still getting the same error.
- Ran Google searches for a few hours and finally found someone with the solution.
- Move the php.ini file into /etc/php
- In the "Paths and Directories" section, set extension_dir = /usr/lib/php/extensions.
- In same section set include_path = ".:/usr/lib/php:/usr/share/pear".
- Restarted apache and sucess!!
Problem 2: Images
One of the first things I did was make a wiki page with an image link in it. No image appeared though. This was a pretty quick fix after a little searching:
- I just typed "urpmi php-gd" and after that package installed, images started working.
Problem 3: Ldap Auth
We run a windows 2000 network and I wanted to integrate TikiWiki users with our Active Directory. I followed the execellent instructions in the FAQ at http://tikiwiki.org/tiki-view_faq.php?faqId=10. However nothing worked. I dug through the code for a while and discovered
History
| Information | Version | |||||
|---|---|---|---|---|---|---|
| Greg Watson | 7 | |||||
| Greg Watson | 6 | |||||
| Greg Watson | 5 | |||||
| Greg Watson | 4 | |||||
| Greg Watson | 3 | |||||
| Greg Watson | 2 | |||||