Speak now
Please Wait Image Converting Into Text...
Embark on a journey of knowledge! Take the quiz and earn valuable credits.
Challenge yourself and boost your learning! Start the quiz now to earn credits.
Unlock your potential! Begin the quiz, answer questions, and accumulate credits along the way.
General Tech Bugs & Fixes 2 years ago
Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.
Turn Your Knowledge into Earnings.
Currently installed php version 5.3.10. It is not reporting any kind of errors like syntax error e.g.
This code has an error and browser should display it . But browser window is empty
Display error is off as I see in the information given by the phpinfo() in column php core.
I want it to be turned on.
If you want to enable it for all your php projects:
edit the /etc/php5/apache2/php.ini by opening a terminal and typing the following:
/etc/php5/apache2/php.ini
gksudo gedit /etc/php5/apache2/php.ini
search for the line.
display_errors = Off
and change Off to On
Off
On
If you want to enable it for a single website, in your website's .htaccess file add the following line:
.htaccess
php_flag display_errors on
If you edited your php.ini file, a restart for apache is required for the settings to take effect, restart it with following line in a terminal.
php.ini
sudo apache2ctl restart
No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.
General Tech 9 Answers
General Tech 7 Answers
General Tech 3 Answers
General Tech 2 Answers
Ready to take your education and career to the next level? Register today and join our growing community of learners and professionals.