geshi installed in possibly wrong location

Bug #280382 reported by Kevin Sumner on 2008-10-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone
geshi (Ubuntu)

Bug Description

Binary package hint: php-geshi

Package php-geshi installs into a location not specified in php.ini installed with apache2 package and php5-cli.

Most other PHP addons install into /usr/share/php, whereas php-geshi installs into /usr/share/php-geshi. This could have been a typo while extracting the addon while creating the package, but it makes inclusion of geshi somewhat of a pain and quite non-portable. You'd need to update the ini's include_path variable in every script and can't use include('geshi/geshi.php'), which is expected most places. Alternatively, you could require an explicit full path in inclusion. Neither of these options, though, are optimal.

The simplest fix is to move /usr/share/php-geshi to /usr/share/php/geshi, which would correct all problems.

This is on a fully-updated hardy 8.04.1 install. php-geshi is Also, I have extracted the current php-geshi from intrepid (, and can confirm that it has the same problem.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers