Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. LAMP
  3. Error Reporting PHP in LAMP

Error Reporting PHP in LAMP

Scheduled Pinned Locked Moved LAMP
5 Posts 4 Posters 1.0k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • firmansiF Offline
    firmansiF Offline
    firmansi
    wrote on last edited by
    #1

    I wonder how turn off error reporting through php.ini for

    E_WARNING & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT

    Is it possible to set this through php.ini? Because i have tried to set the configuration as mentioned in php core but seems didnt work, or any other way to set this on?

    girishG 1 Reply Last reply
    0
    • girishG girish moved this topic from Support on
    • firmansiF firmansi

      I wonder how turn off error reporting through php.ini for

      E_WARNING & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT

      Is it possible to set this through php.ini? Because i have tried to set the configuration as mentioned in php core but seems didnt work, or any other way to set this on?

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @firmansi Not a PHP developer, so take this with a grain of salt.

      I think you have to call error_reporting(E_WARNING & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT) somewhere in your app's start up logic. This is not a PHP directive that can be set in php.ini .

      You can toggle the reporting itself using display_errors = on directive in php.ini

      https://rollbar.com/blog/what-is-the-quickest-way-to-show-all-php-errors has a good overview.

      firmansiF murgeroM 2 Replies Last reply
      0
      • girishG girish

        @firmansi Not a PHP developer, so take this with a grain of salt.

        I think you have to call error_reporting(E_WARNING & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT) somewhere in your app's start up logic. This is not a PHP directive that can be set in php.ini .

        You can toggle the reporting itself using display_errors = on directive in php.ini

        https://rollbar.com/blog/what-is-the-quickest-way-to-show-all-php-errors has a good overview.

        firmansiF Offline
        firmansiF Offline
        firmansi
        wrote on last edited by firmansi
        #3

        @girish thanks for the response, actually i am trying to install vtiger using the LAMP app, and according to its manual, i have to turn the reports off and i did it through php.ini, so i think the rational is when i turn of reports off then the error reporting will do the same

        andreasduerenA 1 Reply Last reply
        0
        • firmansiF firmansi

          @girish thanks for the response, actually i am trying to install vtiger using the LAMP app, and according to its manual, i have to turn the reports off and i did it through php.ini, so i think the rational is when i turn of reports off then the error reporting will do the same

          andreasduerenA Offline
          andreasduerenA Offline
          andreasdueren
          wrote on last edited by
          #4

          @firmansi Did you get vTiger to work?

          1 Reply Last reply
          0
          • girishG girish

            @firmansi Not a PHP developer, so take this with a grain of salt.

            I think you have to call error_reporting(E_WARNING & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT) somewhere in your app's start up logic. This is not a PHP directive that can be set in php.ini .

            You can toggle the reporting itself using display_errors = on directive in php.ini

            https://rollbar.com/blog/what-is-the-quickest-way-to-show-all-php-errors has a good overview.

            murgeroM Offline
            murgeroM Offline
            murgero
            App Dev
            wrote on last edited by
            #5

            @girish You can set this in php.ini:

            error_reporting = E_WARNING & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT

            I believe is the line to modify.

            --
            https://urgero.org
            ~ Professional Nerd. Freelance Programmer. ~

            1 Reply Last reply
            1
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search