Re: [PHP] Error logging
I suggest each student adds the line error_reporting(E_ALL); This will echo the errors and will not affect the php.ini settings. Hope that will work for you cheers On 5/31/07, Clark Alexander [EMAIL PROTECTED] wrote: We have the following php.ini settings: error_reporting = E_ALL display_errors = Off display_startup_errors = Off log_errors = On log_errors_max_len = 1024 ignore_repeated_errors = Off ignore_repeated_source = Off report_memleaks = On track_errors = Off on a SuSE 10.1 server and the errors are being logged to /var/log/apache2/error_log (although I can't seem to find a setting that is making that happen.) parse errors ARE being logged to this file and that would be extremely useful information for students to be able to have when trying to find problems in their scripts. I can't just make that file readable to them. So, I had students create a logs directory within their file area and set the permissions so that the server can to it. I have them adding the following to the script(s) that they wish to troubleshoot: ini_set(log_errors, On); ini_set(error_reporting, E_ALL); ini_set(error_log, logs/error_log); Parse errors are not being written to their personal log file, though. Why not?? About the only going in there are NOTICE level entries. Thanks. Clark W. Alexander -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Tumwijukye Vincent Programmer Software Architect Future Link Technologies Plot 17 Bukoto Street, P. O. BOX 14697, KAMPALA - UGANDA Tel: +256(0)774638790 Off:+256(0)41531274 Website: www.fl-t.com
Re: [PHP] fpassthru() error after update
This means that buffered video exceeded your memory limitof 260MB set in your php.ini. Consider increasing it to higher value, if your computer has say 1GB or more of RAM. Kind regards On Sat, Dec 12, 2009 at 11:33 AM, A. Mannini newsgro...@esod.it wrote: Hi, i use fpassthru() to stream video files in my webserver. I worked fine for weeks but yesterday, after updating the webserver, i get the error Allowed memory size of 268435456 bytes exhausted (tried to allocate 1729609729 bytes) in . Now PHP version is 5.2.11. Any ideas? Thanks Alessandro -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Tumwijukye Vincent Chief Executive Officer Future Link Technologies Plot 17 Bukoto Street, P. O. BOX 14697, KAMPALA - UGANDA Tel: +256(0)774638790 Off:+256(0)41531274 Website: www.fl-t.com, www.savingsplus.info
Re: [PHP] fpassthru() error after update
i On Sat, Dec 12, 2009 at 12:51 PM, Vincent Tumwijukye vtumwiju...@gmail.comwrote: This means that buffered video exceeded your memory limitof 260MB set in your php.ini. Consider increasing it to higher value, if your computer has say 1GB or more of RAM. Kind regards On Sat, Dec 12, 2009 at 11:33 AM, A. Mannini newsgro...@esod.it wrote: Hi, i use fpassthru() to stream video files in my webserver. I worked fine for weeks but yesterday, after updating the webserver, i get the error Allowed memory size of 268435456 bytes exhausted (tried to allocate 1729609729 bytes) in . Now PHP version is 5.2.11. Any ideas? Thanks Alessandro -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Tumwijukye Vincent Chief Executive Officer Future Link Technologies Plot 17 Bukoto Street, P. O. BOX 14697, KAMPALA - UGANDA Tel: +256(0)774638790 Off:+256(0)41531274 Website: www.fl-t.com, www.savingsplus.info -- Tumwijukye Vincent Chief Executive Officer Future Link Technologies Plot 17 Bukoto Street, P. O. BOX 14697, KAMPALA - UGANDA Tel: +256(0)774638790 Off:+256(0)41531274 Website: www.fl-t.com, www.savingsplus.info
Re: [PHP] fpassthru() error after update
I forgot to mention that you will need to restart your web server after after making that change. Like I mentioned earlier, the script streaming the video is trying to access more memory than the accessible 260MB, by any php script on that server On Sat, Dec 12, 2009 at 12:51 PM, Vincent Tumwijukye vtumwiju...@gmail.comwrote: This means that buffered video exceeded your memory limitof 260MB set in your php.ini. Consider increasing it to higher value, if your computer has say 1GB or more of RAM. Kind regards On Sat, Dec 12, 2009 at 11:33 AM, A. Mannini newsgro...@esod.it wrote: Hi, i use fpassthru() to stream video files in my webserver. I worked fine for weeks but yesterday, after updating the webserver, i get the error Allowed memory size of 268435456 bytes exhausted (tried to allocate 1729609729 bytes) in . Now PHP version is 5.2.11. Any ideas? Thanks Alessandro -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Tumwijukye Vincent Chief Executive Officer Future Link Technologies Plot 17 Bukoto Street, P. O. BOX 14697, KAMPALA - UGANDA Tel: +256(0)774638790 Off:+256(0)41531274 Website: www.fl-t.com, www.savingsplus.info -- Tumwijukye Vincent Chief Executive Officer Future Link Technologies Plot 17 Bukoto Street, P. O. BOX 14697, KAMPALA - UGANDA Tel: +256(0)774638790 Off:+256(0)41531274 Website: www.fl-t.com, www.savingsplus.info
[PHP] RE:bcompiler.so fails to load
Dear Team, I have successfully installed bcompiler-0.9.1 from http://pecl.php.net but apache fails to upload it. I am using PHP 5.3.0, SUSE 11.2, apache2.2.13. Below is the error message generated by apache [ PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/extensions/bcompiler.so' - /usr/lib/php5/extensions/bcompiler.so: undefined symbol: free_zend_constant in Unknown on line 0 ] Could some one kindly give me a clue on how I could get around this? -- Tumwijukye Vincent Chief Executive Officer Future Link Technologies Plot 17 Bukoto Street, P. O. BOX 14697, KAMPALA - UGANDA Tel: +256(0)774638790 Off:+256(0)41531274 Website: www.fl-t.com, www.savingsplus.info
Re: [PHP] Compiler for the PHP code
Dear Kevin, please install and use the PECL bcompiler extension. You will need to use the approprate version for your php regards On Tue, Mar 19, 2013 at 11:46 AM, Kevin Peterson qh.res...@gmail.comwrote: My webcode written in PHP and it is running in the interpreted way. My problem is it is not giving the desired performance so want to try the compiler if any. Please suggest if we have aany compiler option available for the PHP code and more important is this new option. -- Tumwijukye Vincent Chief Executive Officer Future Link Technologies Plot 78 Kanjokya Street, P. O. BOX 75408, KAMPALA - UGANDA Tel: +256(0)774638790 Off:+256(0)41531274 Website: www.fl-t.com, www.savingsplus.info