SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2012
    Location
    Cape Town, South Africa
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP Selector / CageFS - json extension issue

    Hi Guys,

    Need some help here.

    Basically I installed CageFS and PHP selector last month. I enabled extesions as required including ticking json extension.

    However when I moved websites into CageFS I had a few complaining about json missing errors.

    I then moved everyone out. This morning I had an idea and moved everyone back in but noticed something that json extension is not included in this file:

    /var/cagefs/10/[user]/etc/cl.php.d/alt-php53/alt_php.ini

    Any ideas how to get it updated into all "current" and "future" user php extension ini files?

  2. #2
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,644
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    sah,

    I've requested that your thread be moved to the PHP board.

    The answer, I believe, is autoprepend(), a PHP directive which can be added via .htaccess.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator

  3. #3
    SitePoint Wizard silver trophybronze trophy Cups's Avatar
    Join Date
    Oct 2006
    Location
    France, deep rural.
    Posts
    6,869
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    I am not fully sure, but if you are using CLI php then that ini file may well need the json directive switching on too (then a server instance reboot).

    CLI PHP uses a different ini file.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •