Jump to content

simplexml_load_file 500 internal server error


sloth456

Recommended Posts

Hi guys,

 

This has been bothering me for quite some time.

 

I have a piece of code that works absolutely fine on my local XAMPP setup but causes a 500 internal server error when I run it on my host (hostgator).

 

$source = "marketplace_feed_v1.xml";
$xml = simplexml_load_file($source,'SimpleXMLElement', LIBXML_NOCDATA);

 

  • SimpleXML is enabled on hostgator
  • marketplace_feed_v1.xml is located in the same directory as this script

 

I don't understand why this won't work :(

 

Any help at all is much appreciated.

When I look in my error log this comes up:

 

[29-Nov-2010 08:18:07] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/ixed.5.2ts.lin' - /usr/local/lib/php/extensions/no-debug-zts-20060613/ixed.5.2ts.lin: undefined symbol: executor_globals_id in Unknown on line 0

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.