I looked at that page. Create a new user then create a pool for that user. An extra step and I would end up with the the problem of the Web site not being in my home directory where I can easily edit it, which is exactly the same problem created by using the default user www-data.
In Linux Mint, I just use my existing user and create a pool for that user, Saves one step and, most importantly, it means the PHP code and everything else is in my home directory where I can easily edit it.
Creating a separate user does not help. I could just add user www-data to my group, which may be my next test. The potential problem with adding a separate user to my group is the ownership of files created by the PHP code. Would they be owned by me or www-data?
In Linux Mint, I just use my existing user and create a pool for that user, Saves one step and, most importantly, it means the PHP code and everything else is in my home directory where I can easily edit it.
Creating a separate user does not help. I could just add user www-data to my group, which may be my next test. The potential problem with adding a separate user to my group is the ownership of files created by the PHP code. Would they be owned by me or www-data?
Statistics: Posted by peterlite — Sun Mar 16, 2025 8:14 am