I'm trying to view the virgin wiki setup of a newly installed PhpWiki,
but it's coming up blank. Debugging and googling as much as I could, I
think that the problem is related to my using the mysqli extension
with PHP, rather than mysql.
Below is the error message I get normally:
Fatal Error:
lib/WikiDB/backend/PearDB.php:35: Error[256]: Can't connect to
database: WikiDB_backend_PearDB_mysql: fatal database error
* DB Error: extension not found
* (mysql://wikiuser:XXXXXXXX@127.0.0.1/phpwiki)
*
lib/WikiDB/backend/PearDB.php:35: Error[256]: Can't connect to
database: WikiDB_backend_PearDB_mysql: fatal database error
* DB Error: extension not found
* (mysql://wikiuser:XXXXXXXX@127.0.0.1/phpwiki)
And this is what I get is I try changing
DATABASE_DSN = "mysql://wikiuser:password@127.0.0.1/phpwiki"
to
DATABASE_DSN = "mysqli://wikiuser:password@127.0.0.1/phpwiki"
Fatal error: Class 'WikiDB_backend_PearDB_mysqli' not found in
/home/arthaey/workspace/PhpWiki/lib/WikiDB/SQL.php on line 20
I also tried, just for the heck of it, renaming all mysql_* function
calls in lib/WikiDB/backend/PearDB_mysql to mysqli_*, without any
effect.
Advice at this point would be much appreciated.
SYSTEM INFO
============
I've reinstalled my system, where I had a working version of PhpWiki
1.3.10, MySQL 3-something, PHP 4.3.8, Apache 2.0.50, and Mandrake 9.2.
My new system runs Mandrake 10.1, MySQL 4.1.5 gamma, PHP 5.0.1, Apache
2.0.52, and the current CVS version of PhpWiki. The Apache-PHP-MySQL
combination works fine -- or at least phpMyAdmin works fine.
My phpinfo() can be seen at:
http://arthaey.mine.nu:8080/~arthaey/
--
AA
|