NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

psnick's avatar
psnick
Aspirant
Feb 29, 2016

Server gives 500 error when loading big data from mysql in php application

My php application giving 500 error when loading data from mysql database. other page are working fine but on this one there is big data so it is giving 500 error. please help me with this

4 Replies

Replies have been turned off for this discussion
  • BrianL2's avatar
    BrianL2
    NETGEAR Employee Retired

    Hi psnick,

     

    What is the size of the database (data)?

     

     

    Kind regards,

     

    BrianL
    NETGEAR Community Team

     

  • kohdee's avatar
    kohdee
    NETGEAR Expert

    Not enough details to go on from this brief comment.

    Can you send us your logs? 

    Did you increase PHP memory limit and the max execution time? Maybe even file upload? 

  • I had increased max exution time and upload limit to 50 mb but did not increased php memory limit and where is apache and php log are stored?

    • kohdee's avatar
      kohdee
      NETGEAR Expert

      You'll want to check the journal for apache.

      journalctl -a _SYSTEMD_UNIT=apache2.service

      I'd have to try installing PHP and reviewing where it stores those logs. 

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More