Hi,
Having a little trouble developing with PhP on my MacBook Pro OS 10.6.7, using the native PhP and Apache.
The error reporting is a bit funny, some errors appear OK, such as:
However function/class errors seem to be cause the server to crash since both Safari and Chrome bomb and throw back the Error 500.
An example which causes this error is:
I have searched for a solution but haven't found one, maybe I haven't look hard enough or in the correct spot.
Any help would be welcome since I like PhP telling me where and what the problem is.
Having a little trouble developing with PhP on my MacBook Pro OS 10.6.7, using the native PhP and Apache.
The error reporting is a bit funny, some errors appear OK, such as:
PHP:
$i = 9/0;
## Division by Zero
However function/class errors seem to be cause the server to crash since both Safari and Chrome bomb and throw back the Error 500.
The Chrome error:
HTTP Error 500 (Internal Server Error): An unexpected condition was encountered while the server was attempting to fulfill the request.
An example which causes this error is:
PHP:
parent:someMethod(); // Missing a ':'
/**
* Should be
* parent::someMethod();
*/
I have searched for a solution but haven't found one, maybe I haven't look hard enough or in the correct spot.
Any help would be welcome since I like PhP telling me where and what the problem is.