Susan, these forum search results may give some ideas for troubleshooting this like checking that you are using the correct php.ini file - look for php.ini files on your PC and rename or delete any you find that are not in the \xampp\php folder in 1.7.1+ XAMPP versions, then try again.supercat wrote:Faulting application httpd.exe, version 184.108.40.206, time stamp 0x493f5d44, faulting module php5ts.dll, version 220.127.116.11, time stamp 0x49a56925, exception code 0xc00000fd, fault offset 0x00151f03, process id 0x15e0, application start time 0x01ca6a38aa69106d.
Okay, found the problem; it's with simplexml_load_string() and with some bad code.
simplexml_load_string() under 5.2.8 will return a proper SimpleXMLElement
object from a non-UTF-16-encoded bit of XML, even though the XML says that it
*is* encoded with UTF-16.
Under 5.2.9+, simplexml_load_string() tosses a warning and returns FALSE.
Apache was crashing because a poorly written SimpleXMLtoArray() function was
recursively calling itself without checking the arguments first. I suspect it
simply ran out of memory, but I didn't step through it enough times to verify.
Here's a bit of code that can reproduce the "problem":
$xmlstr = '<?xml version="1.0" encoding="utf-16"?><foo
$xml = simplexml_load_string( $xmlstr, "SimpleXMLElement", LIBXML_NOCDATA );
Why the change in encoding-handling between the PHP versions? I
supercat wrote:3. Yes I can access http://localhost/phpmyadmin/index.php. You mentioned to check the Loaded Configuration File setting. How do I do this from the phpMyAdmin? It does not seem obvious where this is.
Izzy wrote:...you may be able to access http://localhost/xampp/phpinfo.php file to check the Loaded Configuration File (php.ini) setting.
Users browsing this forum: No registered users and 76 guests