GIDForums  

Go Back   GIDForums > Computer Programming Forums > MySQL / PHP Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 10-Feb-2005, 20:37
druman druman is offline
New Member
 
Join Date: Feb 2005
Posts: 2
druman is on a distinguished road
Unhappy

Need PHP settings like ipower shared servers


Hello. I am the new "owner" of a dedicated server through iPower. My biggest frustrations have been trying to develop on a system that is not set up the same, PHP-wise. What I so enjoyed was the way the server gave me errors that I could easily fix. I could decipher the errors and fairly quickly find a solution. I have wrestled with the php.ini settings and ini_set to try to duplicate the settings and have those helps back. I get so confused. I think I have them on and then I get a white screen when I encounter errors. Sometimes I get a 404 error in refreshing after a post (don't know if this is related). I don't know if it a compination or settings or settings I' still clueless to.

I don't know the difference between
error_reporting (E_ALL)
and
ini_set("error_handling","E_ALL")
or is it
ini_set("error_handling","E_ALL")

Then there's
ini_set("display_errors","1")
or is it
ini_set("display_errors",1)

but maybe I could just fix it in the php.ini...

Sorry, I know this is getting long...

the errors I want to display are functional, programmatic errors.
like to know how to ignore undefined errors (try using Dreamweaver created code and these fly up everywhere... tired of typing isset...)

Any help from the wisened is greatly appreciated.

(and I know about phpinfo(), gone batty staring at it...)

Dru
  #2  
Old 11-Feb-2005, 08:13
Allowee's Avatar
Allowee Allowee is offline
Regular Member
 
Join Date: May 2003
Location: The Netherlands
Posts: 339
Allowee has a spectacular aura about
in your php.ini find the line that contains
Code:
error_reporting
(it should be after some text that explains how the errors levels work)

change it to
Code:
error_reporting = E_ALL
and it should now display all errors+notices

btw, the
PHP Code:

error_reporting(E_ALL); 


line in your php scripts should give the same result, if display_errors is set in php.ini (it's on be default)

here is the php.ini list
http://www.php.net/manual/en/ini.php#ini.list
__________________
Pastebin
PHP Documentation Site
Allowee's Blog http://allowee.net
 

Recent GIDBlogPrepping for deployment by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RESELLER WEB HOSTING - $9.99/MONTH For 4GB HD & 30GB BW! CPanel, PHP, MySQL & MORE! IncognitoNet Web Hosting Advertisements & Offers 0 30-Jan-2005 21:46
Help ! I need help starting up on Php ! onauc MySQL / PHP Forum 11 04-Jan-2005 23:57
PHP crashing/restarting Apache - PLEASE HELP ME!! faulkj Apache Web Server Forum 4 27-Sep-2004 14:50
multiple Cpanel/WHM servers manager simscripts Web Hosting Forum 0 09-Sep-2003 18:10
All the big PHP script collections that matter jrobbio MySQL / PHP Forum 5 06-Jun-2003 16:14

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 16:34.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.