WordPress Plugin Syntax Checker

May 7th, 2007 at 11:17 pm

Have you ever uploaded and activated a new plugin, only to realize that it contains PHP errors? I have.

Did you find it a hassle to delete that file using your FTP client so that WordPress would start working again? I did.

So I wondered if it’s possible to check the PHP syntax of a WordPress plugin before activating it. That might save me some trouble.

This plugin does just that. You’d need to make sure that ’safe_mode’ is disabled on your server as it runs the ‘php -l plugin-file-name.php’ command to check for syntax errors.

Go over to the Options → Plugin Syntax Checker subpage to test the plugin you want. Not surprisingly, only unactivated plugins are listed there.

I sure hope Plugin Syntax Checker itself doesn’t contain syntax errors :)

Download Plugin Syntax Checker here. (Version 1.0, 7 May 2007)

WP Text Ads Like this post? Buy an ad and drive visitors to your site

About the author

I'm Alex Choo and I live in sunny Singapore. I'm also the developer of WP Text Ads, a WordPress plugin that lets bloggers sell ads directly to advertisers so that they pay 0% in commissions and earn 100% in profits.

Feel free to drop me a note anytime you wish. You should also subscribe to the low volume email announcement list for WP Text Ads below.

Email address:

Comments 10

  1. Sharron Mcdonald wrote:

    ewtshujyu40o6rb7

    Posted 13 Nov 2008 at 9:12 am
  2. Святослав Родионов wrote:

    Вообще, откровенно говоря, комментарии тут гораздо прикольней самих сообщений. (Не в обиду автору, конечно :))

    Posted 05 Apr 2009 at 10:50 pm
  3. Петр Сычев wrote:

    Занятная статья. Краткость явно чья-то сестра ;)

    Posted 23 May 2009 at 11:29 am
  4. интeллигeнт wrote:

    Так мило, но так банально… :)

    Posted 28 May 2009 at 12:05 pm
  5. Родион Кузьмин wrote:

    Все замечательно: и по стилю изложения, и по содержимому. Так держать!

    Posted 13 Jun 2009 at 4:50 pm
  6. Бaкинcкийпapeнь wrote:

    Вообще, честно говоря, комментарии тут гораздо любопытней самих постов. (Не в обиду автору, конечно :))

    Posted 25 Jul 2009 at 11:05 pm
  7. Сергей wrote:

    В очередной раз благодарю, хорошие что есть такие люди как вы, которые дают реально дельные советы:)

    Posted 21 Aug 2009 at 6:05 am
  8. Бaбник wrote:

    Эх… :) Вы бы знали что про Вас пишут в других блогах :)

    Posted 23 Aug 2009 at 7:48 pm
  9. Родион Кузьмин wrote:

    Даа… Читаю и понимаю, что ничего не понимаю о чем речь:)

    Posted 28 Dec 2009 at 12:34 am
  10. Максим Кузьмичев wrote:

    Автор, а скажите а куда написать по поводу обмена ссылок (на какое мыло)?

    Posted 14 Jan 2010 at 10:22 pm

Post a Comment

Your email is never published nor shared. Required fields are marked *