PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 



Go Back   Dev Articles Community ForumsProgrammingPHP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old June 24th, 2011, 07:33 AM
shubham shubham is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jun 2011
Posts: 9 shubham User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 21 m 16 sec
Reputation Power: 0
How to enable lamp to give errors and enable java to learn

how to enable lamp to give errors and enable java i wnat learn java in linux ubuntu.

Reply With Quote
  #2  
Old January 3rd, 2012, 02:54 AM
herFlick herFlick is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Dec 2011
Posts: 4 herFlick User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 13 m 57 sec
Reputation Power: 0
Quote:
Originally Posted by shubham
how to enable lamp to give errors and enable java i wnat learn java in linux ubuntu.


Hi
have you tried this for your lamp problem:

edit the php.ini configuration file by running the following command:
Code:
sudo nano /etc/php5/apache2/php.ini


After you’ve opened the file and have taken a look at it you’ll want to find the section pertaining to error handling and logging. It might be a good idea to read this section if you want to change any of your predefined directives. If you simply want error messages to be displayed to your stdout then you’ll want to find the display_errors directive.

Below is the default setting (line without a preceding semicolon) for this directive and came from my php.ini file. READ CAREFULLY:

;
Quote:
This directive controls whether or not and where PHP will output
; errors, notices and warnings too. Error output is very useful during
; development, but it could be very dangerous in production
; environments. Depending on the code which is triggering the error,
; sensitive information could potentially leak out of your application
; such as database usernames and passwords or worse. It's
; recommended that errors be logged on production servers
; rather than having the errors sent to STDOUT.
; Possible Values:
; Off = Do not display any errors
; stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
; On or stdout = Display errors to STDOUT
; Default Value: On
; Development Value: On
; Production Value: Off
; http://php.net/display-errors
display_errors = Off


You will want to change the last line in the block above to read:

Code:
display_errors = On


Save your php.ini file. You may or may not have to restart your Apache server using this command:

Code:
sudo /etc/init.d/apache2 restart


as for Java development in ubuntu you have Eclipse in your software center simply install it and get a good book and start learning

Good Luck

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingPHP Development > How to enable lamp to give errors and enable java to learn


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.

© 2003-2018 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap