Richard Korts
asked on
php.ini setting
What is the php.ini setting that allows for visibility of syntax errors when compiling?
I am using GoDaddy & on the SPECIFIC account I have (for a customer), the GoDaddy rep doesn't even know what I'm taking about.
I know, I know, a number of you have told me to get off GoDaddy. I don;t always have that choice.
Thanks
I am using GoDaddy & on the SPECIFIC account I have (for a customer), the GoDaddy rep doesn't even know what I'm taking about.
I know, I know, a number of you have told me to get off GoDaddy. I don;t always have that choice.
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Note that on Godaddy Linux hosting, you can put a partial 'php.ini' file in the web root but that does not work on their Windows hosting. On the Windows hosting, it kills the server 'php.ini' file.
ASKER
There isn't any way to put parameters into php.ini so that EVERY php program reports syntax errors rather than a blank screen?
This seems to be the default at all the other hosts I use and even most of my other GoDaddy accounts.
Thanks
This seems to be the default at all the other hosts I use and even most of my other GoDaddy accounts.
Thanks
On most of the accounts I use, there is no access to 'php.ini' so I have to use the inline versions that Ray and I have shown you. If you were the hosting company, I think you would find that many, maybe even most, people do not want the errors to show. So the default is going to be to not show anything that isn't a fatal error.
Most professional web developers will suppress the display of errors, if only to avoid showing something that looks unprofessional when a "Sorry,..." message could be displayed instead. The error logs will contain the diagnostic information. And as you can see from your experience with GoDaddy, the error logs are where you have to go for dependable access to the diagnostics.