centos-web-panel

Multiple versions of PHP-FPM, installing and configuring…?

南楼画角 提交于 2021-01-28 09:00:52
问题 I should have asked here days ago - i've been trying to get multiple versions of PHP-FPM running under different virtual hosts. System: Centos 7 w/ Centos Web Panel (CWP), PHP 5.6/7.0/7.1/7.2, Apache 2.4 I have my versions of PHP under /opt/alt/phpXX/usr i.e. /opt/alt/php72/usr Example virtual host contents (website runs under PHP7.2):- <Directory "/home/bbb/public_html"> AddHandler application/x-httpd-php72 .php AllowOverride All </Directory> What i've tried so far is adding this to the

how can i use laravel website in CWP (Centos-Web-Panel). without public folder in url?

久未见 提交于 2019-12-24 07:56:39
问题 hi, I want to change the root directory of my website which the server panel is CWP centos-web-panel . i find a solution that says change DocumentRoot and directory in httpd.conf but I can't change that because a lot of my website using this server. I want to change the root folder in one of my websites. also, I find another solution which said edit the file. # nano /etc/httpd/conf.d/your_site.conf and add this code to the file <VirtualHost *:80> DocumentRoot /var/www/html/your_site/public