[snip]
I am running a PHP script from the command line that is returning 
"Segmentation Fault".  I run a lot of script from the command line and
have 
never seen this before.  I don't even know where to begin.

I know that PHP is set up to run scripts from the command line and plent
of 
other scripts run.

This particular script is not doing anything out of the ordinary.  It is

opening a database connection, opening a .csv file and inserting rows
into 
the database.  How in the world could this Seg Fault?
[/snip]

segmentation fault: n.
[Unix] 

1. [techspeak] An error in which a running program attempts to access
memory not allocated to it and core dumps with a segmentation violation
error. This is often caused by improper usage of pointers in the source
code, dereferencing a null pointer, or (in C) inadvertently using a
non-pointer variable as a pointer.

This script has no doubt worked before, so some other codition exists.
Things like this are generally created by infinite loops or improper
variables.

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

Reply via email to