Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8240431
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T20:29:29+00:00 2026-06-07T20:29:29+00:00

I am trying to run a xslt process: $xslt = new XSLTProcessor(); Pretty standard,

  • 0

I am trying to run a xslt process:

$xslt = new XSLTProcessor(); 

Pretty standard, however I am a bit miffed as it is generating a server 500 error, I have attempted to locate the PHP error log to no avail, and checked through the httpd error log so which I see no error relating to this issue.

I am currently running a Centos v6 64bit OS with PHP 5.3.3 (latest) installed, I have done a yum install of php-xml as php-xsl does not exist and I am wondering if anyone else out there can shed any light into why this is dieing when on my local windows machine it is happy days!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T20:29:31+00:00Added an answer on June 7, 2026 at 8:29 pm

    Error 500 indicates a parse error or another fatal error, so my first guess is that the XSLTProcessor class is missing (the XSL module hasn’t been loaded). Be sure that xsl.so has been added as a loaded extension (extension=xsl.so) and that it was installed together with the xml modules (it should be – as far as I can see it lives in the php-xml for Centos).

    Do a phpinfo() call, and see if xsl / xml is available there. Check the value of error_log to see where specific PHP errors are logged, verify that error_reporting is not set to E_NONE / 0 and be sure that log_errors is turned on (if it isn’t, you won’t see any errors in the error log or the php log).

    If you’re still no wiser, simply try to do var_dump(class_exists(“XSLTProcessor”)) to see if the class is available at all.

    While this is not the exact answer for what you need to do, it should provide you with enough information to find out what’s wrong from the information you’ve provided.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im new to the XSLT world, I am basically trying to run the JSON
When trying to run a junit test I get the following error - java.lang.ClassCastException:
I'm trying to post-process the documentation XML file as a post-build XSLT transformation (using
When I trying run Android Emulation, i Have error message: $ tools/emulator -avd Default
I'm trying to use XSLT to generate some XHMTL with inline PHP. I've run
When trying run this code: At first it prints Process some_id BEFORE enter for
I am trying run Apache web server on my computer without success, and I
I'm trying to run an XSLT transformation, but characters like ëöï are replaced by
I occasionally run into this error when trying run an executable I've built on
I'm trying to run an ant XSLT on a large number of files, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.