geshi installed in possibly wrong location

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

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 1.0.7.20-1. Also, I have extracted the current php-geshi from intrepid (1.0.7.22-1), 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