bluehost - PHP not showing errors on subdirectory -


php.ini में मेरे पास है:

  error_reporting = E_ALL & amp; ~ E_DEPRECATED & amp; ~ E_STRICT display_errors = on   

अगर मेरे पास मूल निर्देशिका में एक वाक्य रचना त्रुटि के साथ एक php फ़ाइल है, तो त्रुटि दिखाता है। यदि यह उप-डायरेक्टरी में है, तो मुझे एक रिक्त पृष्ठ दिखाई देता है (जैसे कि display_errors = बंद) मैं त्रुटि लॉग में त्रुटियों को देखता हूं।

मैं कैसे त्रुटियों को देख सकता हूं?

यह एक होस्ट किया गया वातावरण है bluehost.com पर और मेरी php.ini फ़ाइल /public_html/php.ini पर स्थित है

अपनी config फाइल या विशेष php फ़ाइल :

  ini_set ('display_errors', 1) के शीर्ष पर इस रेखा को जोड़ें;   

यह ini सेटिंग्स रनटाइम बदल जाएगा।

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -