Home >Backend Development >PHP Tutorial >Detailed explanation of php.ini security configuration
Does not belong to any group If MYSQL is installed in d:mysql, then give mysqlstart full control permissions. Then, set the MYSQL service properties in the system service. In the login properties, select this user mysqlstart and enter the password and confirm. Restart the MYSQL service, and then MYSQL will run with low privileges. If apache is built on a windos platform, be sure to note that apache runs with system permissions by default. At this time, be sure to reduce the rights of apache to run:
Create a user apache that does not belong to any group. Open Computer Manager, select "Services", click on the properties of the apache service, select log on, select this account, fill in the account and password created above, and restart the apache service. You can also set the permissions of each folder so that the apache user can only perform limited operations and create a separate read-write user for each directory. This is about the configuration of the security options in the php.ini file. The security of the program cannot be relaxed at all. It is recommended that everyone develop good security programming habits in actual PHP programming. |