P粉7225212042023-08-10 10:08:52
Since define()
is the core part, this indicates that one or more of the following is true:
define
Functions are listed in disable_functions
of php.ini
If you are not the administrator of the server, you can ask them if one of these applies to the server. If you are an administrator, you can take a look at php.ini
. If everything works fine, then you need to reinstall PHP.