HTML
- 7 ответов
- 0 вопросов
3
Вклад в тег
$('#container').on('click','.button',function(){
...
});
<div class="row">
<div class="col-3"></div>
<div class="col-9">
<div class="row no-gutters">
<div class="col-4"></div>
<div class="col-4"></div>
<div class="col-4"></div>
</div>
<div class="row no-gutters">
<div class="col-8"></div>
<div class="col-4"></div>
</div>
</div>
</div>
<IfModule mod_fastcgi.c>
AddType application/x-httpd-php5 .php
Action application/x-httpd-php5 /php-fcgi5
AddType application/x-httpd-php7 .php
Action application/x-httpd-php7 /php-fcgi7
# PHP5
Alias /php-fcgi5 /usr/lib/cgi-bin/php5-fcgi
FastCgiExternalServer /usr/lib/cgi-bin/php5-fcgi -appConnTimeout 10 -idle-timeout 250 -socket /var/run/php5-fpm.s$
# PHP7
Alias /php-fcgi7 /usr/lib/cgi-bin/php
FastCgiExternalServer /usr/lib/cgi-bin/php -appConnTimeout 10 -idle-timeout 250 -socket /run/php/php7.0-fpm.sock $
# Apache 2.4+
<Directory /usr/lib/cgi-bin>
Require all granted
</Directory>
#
</IfModule>
<FilesMatch "\.php">
SetHandler application/x-httpd-php5
</FilesMatch>
<FilesMatch "\.php">
SetHandler application/x-httpd-php7
</FilesMatch>