R
R
rinaz222022-01-22 08:45:59
PHP
rinaz22, 2022-01-22 08:45:59

How to set up a secure web server on apache + php?

Hello. I want to create my own small hosting for my clients. I tried to install LAMP and configure according to the article on Habré , but some tips from there do not work. For example, the php system functions still work for me and php itself can "get out" where it doesn't need to.
My goal is this: I want to set up a secure and optimal performance web server.

Give advice, in which direction to dig? I searched on the Internet, but everything is not there. I would be grateful if you send examples or links to articles.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sanes, 2022-01-23
@Sanes

Apache+PHP-FPM. Each site (php-fpm pool) should be run as a separate user.
In your case, it is better to set up the Fastpanel control panel

A
AlexVWill, 2022-01-22
@AlexVWill

"I want to create my own small hosting for my clients." - and what does the Web server have to do with it? More precisely, it’s not like that, but it’s not the main thing. Poke around here:
https://kubernetes.io/ru/docs/home/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question