[PHP] Segmentation fault and var_dump()

2003-01-08 Thread Rob Brandt
Hello;

I'm getting a segmentation fault and I don't understand what it
means.  Kind of new to php debugging.

Background: Web server is generally error free.  I have some
complex php/MySQL applications installed.  I'm running it under
YellowDogLinux with php v4.23.

I'm trying to install a CVS version of the Horde project.  I'm
having a problem with horde in that it doesn't save configuration
values like it should.  The Horde developers recommended that I do
some debugging by placing a var_dump($_POST) call at a strategic
place in the script.  However, when I try to run the script with
that call active, the web browser responds back: "Connection
closed by server".  Checking the apache error log shows the
following:

[Wed Jan  8 21:36:38 2003] [notice] child pid 5261 exit signal
Segmentation fault (11)

What is wrong?  It only does this when the var_dump() is present;
comment it out and there is no segmentation fault (but the script
still doesn't work right).  With it present, the seg faults every
time.

TIA

Rob



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] php with mime magic?

2003-01-10 Thread Rob Brandt
I'm trying to get php compiled with mime magic, and it doesn't
appear to be working.

Here's my phpinfo page, showing the parameters I've used to
compile; it does show that I used '--enable-mime-magic' as
instructed in the docs at php.net:

http://horde.csd-bes.net/horde/test.php?mode=phpinfo (I need
mime-magic for the latest Horde).

My understanding is that there will be a section in phpinfo()
displaying mime magic settings when everything is good.  It is not
there at this time.

When I do the configure/make/make install, there are no complaints.

Is this an extention that requires a seperate module file like
mysql's mysql.so file?  If so, it's no where on my system.  I've
googled to find something of the sort with no luck.

I know also that I have to have a reference in php.ini pointing to
the magic.mime file; my entry says:

mime_magic.magicfile = "/usr/share/misc/magic.mime"

and I have verified that the magic.mime file is actually in the
location.

How do I figure out what's wrong?

Thanks




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php