none
[PHP][Web Apps] PHP xsl extension not working RRS feed

  • Question

  • Hi all

    im trying to install magento 2 as a web app on the azure platform

    my issue is when i do it complains that it needs the php_xsl extension to complete the installation

    i have found a few guides on the net on how to enable this by adding a key and value in the app settings and uploading the .dll to a bin folder on the server.

    but no matter what i do with this i cant get this extension working to install magento

    any advice would be great

    many thanks




    Friday, March 4, 2016 3:01 PM

Answers

All replies

  • Greetings,

    I would suggest you to try this and let us know the feedback.

    make sure the key to your app setting is exactly this PHP_Extensions.

    Also check the below links which might help you.

    http://blog.kloud.com.au/2014/05/23/how-to-install-magento-on-azure-websites/

    http://www.hasaltaiar.com.au/how-to-install-magento-on-azure-websites/

    Regards,

    Disclaimer

    This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.

    Saturday, March 5, 2016 3:43 AM
  • I had a testing project on Azure Web Apps, and it seems that Azure Web Apps environment has contains the extension dll file `php_xsl.dll` but don't enable this extension in `php.ini`.

    To enable the extension on Azure Web Apps, you can try the following steps:

     1. Add an App Setting to your Web App with the key PHP_INI_SCAN_DIR and value `d:\home\site\wwwroot\ini`
     2. Create an ini file in `d:\home\site\wwwroot\ini` (you can simply create a folder named `ini` in your root directory of you application) called `extensions.ini`
     3. Add configuration settings to the `extensions.ini` file using the same syntax you would use in a `php.ini` file. For example:
    extension = php_xsl.dll
     4. Restart your Web App to load the changes, you can use `phpinfo()` to check the extensions.

    Or you can create two source sample files at http://php.net/manual/en/xsl.examples-collection.php and then use the test code snippet at http://de2.php.net/manual/en/xsltprocessor.transformtoxml.php to test the extension installation.

    Refer to https://azure.microsoft.com/en-us/documentation/articles/web-sites-php-configure/#how-to-enable-extensions-in-the-default-php-runtime for more info.
    Monday, March 7, 2016 2:36 AM
    Moderator