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.

Link to comment
Share on other sites

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

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.