Hello. I am hoping someone here can help me out.
I have a new machine (ultra 60 solaris 8) that is running php 4.2.3 and mysql 3.23.52.
If I run a simple mysql_connect to the database through apache (web page) it works just fine. But if I run the same file with the command line php, I get a:
Segmentation Fault(coredump)
If I gdb the core file I find that it failed in read_charset_index () if I truss the program, I see the same thing:
open64("/usr/local/mysql/share/mysql/charsets/Index", O_RDONLY) = 6
Incurred fault #6, FLTBOUNDS %pc = 0x000F535C
siginfo: SIGSEGV SEGV_MAPERR addr=0x00000008
Received signal #11, SIGSEGV [default]
siginfo: SIGSEGV SEGV_MAPERR addr=0x00000008
process killed
So now I know where the problem is...but not what to do about it.
Any advice would be greatly appreciated.
Jason