Title: PHP Parse error activating plugin
Last modified: February 7, 2017

---

# PHP Parse error activating plugin

 *  Resolved [hanktaylor](https://wordpress.org/support/users/hanktaylor/)
 * (@hanktaylor)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php-parse-error-activating-plugin/)
 * Installed the plugin on 4.7.2 and on activation received this error:
 * [Tue Feb 07 12:33:50 2017] [error] [client 97.104.76.195] PHP Parse error: syntax
   error, unexpected T_USE, expecting T_FUNCTION in /home/wordpress/<sitename-removed
   >/wp-content/plugins/wp-log-viewer/libs/Plugin.php on line 27, referer: [http://<sitename-removed>/wp-admin/plugins.php?plugin=wp-log-viewer%2Fwp-log-viewer.php](http://<sitename-removed>/wp-admin/plugins.php?plugin=wp-log-viewer%2Fwp-log-viewer.php)
 * It’s running Linux (debian squeeze) if that matters.

Viewing 1 replies (of 1 total)

 *  Plugin Author [maxwellberkel](https://wordpress.org/support/users/maxwellberkel/)
 * (@maxwellberkel)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/php-parse-error-activating-plugin/#post-8791440)
 * Please confirm that you are running php 5.4.0 or later.

Viewing 1 replies (of 1 total)

The topic ‘PHP Parse error activating plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-log-viewer_75add2.svg)
 * [WP Log Viewer](https://wordpress.org/plugins/wp-log-viewer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-log-viewer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-log-viewer/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-log-viewer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-log-viewer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-log-viewer/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [maxwellberkel](https://wordpress.org/support/users/maxwellberkel/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/php-parse-error-activating-plugin/#post-8791440)
 * Status: resolved