You are not logged in.

#1 2020-04-01 20:27:17

famoser
Member
Registered: 2020-04-01
Posts: 1

[SOLVED] php-xsl has undefined constants

When I try to use the php xsl extension it gives me the following warning:

> Warning: Use of undefined constant XSL_SECPREF_READ_FILE - assumed 'XSL_SECPREF_READ_FILE' (this will throw an Error in a future version of PHP)

In the php documentation it states that these constants should be defined: https://www.php.net/manual/en/xsl.constants.php

I activated the extension in `php.ini` (by removing the semicolon) but made no other configuration.
Is this a bug or do I need to configure something more?

Solution: After I restarted the correct php process it worked just fine.

Last edited by famoser (2020-04-01 20:47:55)

Offline

Board footer

Powered by FluxBB