Ask a Question related to PHP Development, Design and Development.
-
Nilaab Y. #1
[PHP] Apache Error After Running Config PEAR-Package Application
Hello Everyone,
Here goes: I recently started looking into PHP's PEAR project and I set
everything up correctly. The database abstraction package works wonders, I
love it. So I know that PEAR is working. However, when I try to include()
the Config package into my application it gives me Apache's "500 Internal
Server Error". I looked in the error log and this is what it said:
"[Sun Sep 07 03:36:14 2003] [error] [client 127.0.0.1] Premature end of
script headers: c:/php/php.exe"
Has anyone experienced anything like that while using a PEAR package? This
problem seems to be specific only to the Config package, because most of the
other packages that I've tested are fine, including the DB package.
There's also another thing I noticed, too. I wanted to check to see if the
file had been included or not. So I tested if the file_exists(), and it
does. Then I tested it with both the include() and include_once() functions.
The include() one didn't work. The include_once() worked because it didn't
throw an Apache-like error, but as soon as I started to spawn a new object
from that Config Class, it threw the PHP error:
"Fatal error: Cannot instantiate non-existent class: config in
e:\localhost\xenonsol\xenon_0.3.1\Config.php on line 9"
Any help would be greatly appreciated. I thank anyone in advance for helping
me out with this. I love PEAR so far, it's almost like the idea Microsoft
has, but I hope it will be far better than ASP.NET in the near future. In
fact I KNOW it will because it's so public and out-in-the-open. Anyone can
improve on these packages at any time. So, there's my two cents worth...
Thanks,
Nilaab
Nilaab Y. Guest
-
#38238 [NoF]: PHP with PEAR running on IIS
ID: 38238 Updated by: tony2001@php.net Reported By: rmarescu at gmail dot com Status: No Feedback Bug Type: ... -
Error while running application
HI All, I am getting the following error: Error /test/SampleArea5-generated.as:3600 Branch between 30023 and 62796 around line 0 exceeds 32K... -
Apache config:Getting httpd 500 "Server Error" ruturned, Mandrake 9.1/Apache 2.0 [newbie]
I'm having trouble configuring mod_ruby. I followed the steps (www.modruby.net): 1. Verified that Web server (apache 2) was installed and... -
Error while running ASP.NET application
hello friends, i get following error when i try to run my asp.net application in vs.net. Unable to library find... -
regd. IE Error while running .net Application
I am working on ASP.Net using VB.Net. I have created some web forms. I didn't find any problem in running them for the firt time. But suddently...



Reply With Quote

