This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
317
PHP / Install php 7.2.4 and php-fpm on centos web panel
« on: March 30, 2018, 10:47:33 AM »Quote
mkdir bullten
cd bullten
wget http://am1.php.net/distributions/php-7.2.4.tar.gz
tar zxvf php-7.2.4.tar.gz
cd php-7.2.4
Quote
./configure --with-bz2 \
--prefix=/usr/local/php \
--with-apxs2=/usr/local/apache/bin/apxs \
--with-curl \
--with-libdir=/usr/lib64 \
--with-config-file-path=/usr/local/php \
--with-config-file-scan-dir=/usr/local/php/php.d \
--with-iconv \
--with-gd \
--with-jpeg-dir=/usr/local/php \
--with-png-dir \
--with-freetype-dir=/usr/local/php \
--with-kerberos \
--enable-fpm \
--enable-mbstring \
--with-mhash \
--with-mysqli \
--with-sqlite3 \
--with-mysqli=mysqlnd \
--with-mysql-sock=/var/lib/mysql/mysql.sock \
--with-xsl \
--with-pspell \
--with-openssl \
--with-gettext \
--with-pcre-regex \
--with-libxml-dir=/usr/local/php \
--with-pdo-mysql \
--with-pic \
--with-pear=/usr/local/php/pear \
--with-gmp \
--enable-zip \
--with-zlib \
--enable-inline-optimization \
--enable-mbregex \
--enable-opcache \
--enable-fpm \
--enable-posix \
--enable-calendar \
--enable-bcmath \
--enable-exif \
--enable-phar \
--enable-ftp \
--enable-pdo \
--enable-soap \
--enable-sockets \
--enable-intl \
--with-xmlrpc \
--without-pdo-sqlite
Quote
make && make install
Quote
rm -rf /usr/local/php/php.d/ioncube.ini
rm -rf /usr/local/php/php.ini
cp php.ini-production /usr/local/php/php.ini
rm -rf /usr/local/bin/php
ln -s /usr/local/php/bin/php /usr/local/bin/php
cp /root/bullten/php-7.2.4/sapi/fpm/init.d.php-fpm /etc/init.d/php-fpm
chmod +x /etc/init.d/php-fpm
Quote
cd /usr/local/php/etc
cp php-fpm.conf.default php-fpm.conf
nano php-fpm.conf
uncomment below lines
Quote
pid = run/php-fpm.pid
error_log = log/php-fpm.log
Quote
cd php-fpm.d
cp www.conf.default yourdomain.com.conf
nano yourdomain.com.conf
change to yourusername and edit other lines as needed.
Quote
user = yourusername
group = yourusername
Quote
mkdir -p /usr/local/php/log/
edit your vhost file and add the below lines just below scripalias
Quote
<LocationMatch "^/(.*\.php(/.*)?)$">
ProxyPass fcgi://127.0.0.1:9000/home/yourusername/public_html/$1
</LocationMatch>
nano /usr/local/apache/conf/httpd.conf
uncomment the below line
LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so
service php-fpm start
service php-fpm restart
service php-fpm status
service php-fpm stop
318
How to / Re: Disable SuPHP And Use DSO with Apache 2.4.28 and PHP 5.6.33
« on: March 30, 2018, 09:48:22 AM »
Its working very fine already verified
319
Apache / Re: problem -> centos7 Apache HTTP Server Test on all my domains
« on: March 26, 2018, 01:32:59 PM »
yum reinstall cwp-httpd
320
Apache / Re: problem -> centos7 Apache HTTP Server Test on all my domains
« on: March 25, 2018, 09:24:49 PM »
Check if by mistake you installed another version of apache. You remove httpd
321
CentOS 7 Problems / Re: 403 forbidden video mp4
« on: March 23, 2018, 06:45:19 PM »
what does your apache error_log shows?
322
Apache / Re: 403 Forbidden
« on: March 19, 2018, 06:56:31 PM »
did you check your htaccess file?
323
CentOS 7 Problems / Re: Domains redirect to HTTP Test page
« on: March 18, 2018, 06:50:22 PM »
did you try rebuilding virtual host?
324
CentOS-WebPanel Bugs / Re: GUI Port resetting to default
« on: March 18, 2018, 01:44:45 PM »
/usr/local/cwpsrv/conf/cwpsrv.conf
change port in above files.
change port in above files.
325
DNS / Re: BIND DNS NOT STARTING
« on: March 17, 2018, 07:11:00 PM »
got editnameserver ip and then click on save changes,
326
Installation / Re: Domain points to /usr/local/apache/htdocs instead of home/user/public_html
« on: March 13, 2018, 06:59:25 PM »
1) I hope server hostname and domain name is not same
2) hope you havent installed additional apache. (yum remove httpd)
3) reinstall cwp apache (yum reinstall cwp-httpd)
4) rebuild apache vhost.
2) hope you havent installed additional apache. (yum remove httpd)
3) reinstall cwp apache (yum reinstall cwp-httpd)
4) rebuild apache vhost.
327
Nginx / Re: ngx_http_log_module add in ningx
« on: March 03, 2018, 06:30:11 PM »
isnt it activated by default?
329
PHP / Re: PHP Selector
« on: February 28, 2018, 05:25:12 PM »
I dont think 10$ for a year is huge.
330
PHP / Re: PHP Selector
« on: February 28, 2018, 05:10:54 PM »
lol the blocked it Now cwppro is required. Bad luck.