Edgewall Software

Changes between Version 40 and Version 41 of TracOnRhel4


Ignore:
Timestamp:
Aug 2, 2008, 10:06:31 AM (16 years ago)
Author:
anonymous
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TracOnRhel4

    v40 v41  
    155155
    156156If you're installing any trac plugins, keep in mind that RHEL4 ships with Python 2.3. You can also find a python-setuptools rpm at http://install.linux.ncsu.edu/pub/yum/CLS/CLSTools.EL4/repodata/index.html
     157
     158== Note on centosplus ==
     159For those who have upgraded to PHP5, Trac might not work when used with mod_python.
     160
     161Last line of stack call will be
     162{{{
     163  File "/var/tmp/python-sqlite-root//usr/lib/python2.3/site-packages/sqlite/main.py", line 244, in execute
     164DatabaseError: unsupported file format
     165}}}
     166
     167This is because php has an embedded implementation of SQLite, enabled by default, and much more recent than the one used in mod_python.  In that case, you'll have to disable SQLite support in PHP5 by editing /etc/php.d/pdo_sqlite.ini and commenting (#) the extension=pdo_sqlite.so line.
     168This is a workaround, wich disable SQLite support in PHP5. If you're planning to use it for other developpement located on the same server, your should use tracd method instead.