😕 I just installed PHP5 (and yes the zip file version) and apache 2.2.9. I am wanting to install my xslt processor, but have not found an adequate source of info to get this thing installed.

I've visited the php.net manual countless times, but still see nothing thorough enough there.
I've visited the dreamweaver developer center, in there article entitled, "configuring and testing php servers for xsl support," where it describes certain parts in detail about uncommenting ;extension=php_xsl.dll, and where to get the libxml2 and libxslt libraries (but, then makes no mention as to where to install them).
I've gone through, uncommented ";extension=php_xsl.dll",

and i've experiemented with placing the libxml2 and libxslt libraries in my php directory.

am I forgetting something else in my php.ini?

up to this point I still have not seen xsl or xslt appear in my phpini()

anyone and everyone's help would be greatly appreciated.

thanks

    Have you created the PHPRC environment variable to load your php.ini? Have you set the extension_dir to C:\path\to\php\ext directory? Have you put libxml2 and libxslt in C:\Windows\System32 along with php_xsl.dll?

      nelligan3 wrote:

      Have you put libxml2 and libxslt in C:\Windows\System32 along with php_xsl.dll?

      While putting the xml/xslt DLL's in the System32 directory may be acceptable, you should never move any PHP-related files outside of the main PHP installation directory.

      First, as nelligan alluded to, are you sure that the php.ini file you edited is being read? Try making a change (e.g. during display_errors on/off) and see if phpinfo() reflects this change (don't forget you have to restart Apache). If not, then you need to diagnose that problem first.

      Also, has the main PHP directory (e.g. c:\php) been added to your system's PATH environment variable? If not, it should be - do that and placing the DLL's in the PHP directory should work fine.

        i appreciate both of your replies. i finally figured out what my problem was. i actually did have an issue with my "php.ini" being read.

        it turns out, in the process of going back and re-editing so many times, I left a copy of a prior "php.ini" config file in my main directory, where i had never uncommented ";extension=php_xsl.dll" (hence, the xsl never showing up in my phpinfo()).

        the new phpini i was trying to edit (and the only one i thought i had in my directory), was incorrectly named "php.ini.ini", and i had been trying to edit it with all the new info i was getting. so, that's why i was unable to affect php.ini settings.
        again, i can't thank you both enough for helping me out with both of your experience in troubleshooting this brainfart on my part.

        thanks

          Write a Reply...