@ChrisDennis i added a check to the installation script to ensure that phar is enabled.
Search Criteria
Package Details: phpmd 2.2.3-1
Package Actions
| Package Base: | phpmd |
|---|---|
| Description: | Takes a given PHP source code base and look for several potential problems within that source. |
| Upstream URL: | http://phpmd.org/ |
| Category: | devel |
| Licenses: | |
| Submitter: | jojosch |
| Maintainer: | jojosch |
| Last Packager: | jojosch |
| Votes: | 7 |
| First Submitted: | 2014-07-27 17:33 |
| Last Updated: | 2015-05-27 18:55 |
Latest Comments
Comment by jojosch
Comment by ChrisDennis
@jojosch Thanks for your quick reply -- yes, that was the problem.
Comment by jojosch
@ChrisDennis can you check in your php.ini if the following line is commented out?
extension=phar.so
(you can check if phar is enabled with "php -i | grep Phar")
Comment by ChrisDennis
I've just install phpmd, and it gives:
PHP Fatal error: Class 'Phar' not found in /usr/share/webapps/bin/phpmd.phar on line 8
on anything I try to do with.
Missing dependencies perhaps?