• DanInManchester

    (@daninmanchester)


    I have a client with a self host wordpress site, interested in migrating it to managed / wordpress.com hosting.

    They have a some bespoke code (in the form of a plugin) which uses a phar archive so that the code is signed.

    The plugin itself follows the standard wordpress model, it just references this phar module.

    Is the phar extension / module supported on wordpress hosted sites?

Viewing 4 replies - 1 through 4 (of 4 total)
  • WordPress doesn’t support PHAR plugins

    Moderator Yui

    (@fierevere)

    永子

    We are www.remarpro.com, people can use whatever hosting they like.

    afaik phar is not supported on WordPress.com

    as well as unusually packed plugins

    Thread Starter DanInManchester

    (@daninmanchester)

    thanks Yui.

    the plugin is packaged as normal, its just part of the code is in a phar package and signed.

    Is phar generally not supported on PHP hosting, in particular managed wordpress hosting? It appears their goal with using it was security.

    Their aim is to get away from self host WordPress to something more “off the shelf” / managed. In itself pretty easy, but the phar part is not something I have come across.

    Thread Starter DanInManchester

    (@daninmanchester)

    I just found this which suggests Phar module is installed :
    https://wordpress.com/support/php-environment/
    I’ll try to do a test later this week.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘phar extension support’ is closed to new replies.