Loading...
 
Skip to main content

History: InstallingOnMandrake9_1

Preview of version: 3

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 kep 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" and tried again. I was still

History

Information Version
Greg Watson 7
View
Greg Watson 6
View
Greg Watson 5
View
Greg Watson 4
View
Greg Watson 3
View
Greg Watson 2
View