Jump to content

exciter

Members
  • Posts

    18
  • Joined

  • Last visited

Posts posted by exciter

  1. I got the info, that it maybe depends on the precision in the php.ini.

    Tested on another server:

     

    ini_set('precision'40);
    $value 29.915;

    echo 
    json_encode($value);
    -> 29.91699999999999914734871708787977695465 

    That's what I get on Tommy too.

     

    And with:

    ini_set('precision'14);
    $value 29.915;

    echo 
    json_encode($value);
    -> 29.917 

    How can I decrease the php precision to 14?

  2. Hello,

     

    for highcharts I fetch my data with a php script (json) from a mysql table.

    When I try to build the chart with all records of the database, I get the following messsage in the error log:

    Allowed memory size of 134217728 bytes exhausted (tried to allocate 24657951 bytes)
    

    Please raise the memory limit for my account (exciter), so I can use the script and the data of my table.

    I will run the script 2-3 times per day, after setting up everything ;)

    Thanks!
     

×
×
  • Create New...