Solution to the problem that php cannot use user: 1. Find and open the php configuration file "php.ini"; 2. Find the "short_open_tag" option in "php.ini"; 3. Set the value of this option It is On; 4. Save the changes.
The operating environment of this tutorial: Windows 7 system, PHP version 8.1, Dell G3 computer.
What should I do if php cannot use user?
Solution:
Set the value of
short_open_tag = On
in php.ini to On.
Related introduction:
This file must be named 'php.ini' and placed in the directory specified by the PHPIniDir directive in httpd.conf. It can be viewed using the phpinfo() function. If no modifications are made, it is generally placed in the PHP installation directory under the Windows platform.
Recommended study: "PHP Video Tutorial"
The above is the detailed content of What should I do if php cannot use user?. For more information, please follow other related articles on the PHP Chinese website!