|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Error are not displayed in Apache
I have a Win2K system with PHP v4.3.0 and IIS 5.0 running fine.
I just installed Apache v1.3.27 on the same system, disabled IIS, and setup PHP as an ISAPI service. Everything runs fine (my php pages are parsed) but I noticed that I do not receive any warnings or errors. They are both using the same php.ini file so I cannot figure out where the problem is. Any help will be greatly appreciated. |
|
#2
|
|||
|
|||
|
RE: Error are not displayed in Apache
Look for the section 'error_reporting' in you php.ini file. It should be something like E_ALL or something like that.
|
|
#3
|
|||
|
|||
|
RE: Error are not displayed in Apache
Thanks for the reply.
Error_reporting was set to E_All but that was not the problem. It turns out that when PHP is run as a CGI (such as with IIS), the configuration file is read everytime the PHP parser is instantiated. When PHP is run as an ISAPI module (Apache), the configuration is only read once - at startup. Restarting Apache resolved the problem. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > Error are not displayed in Apache |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|