Show Posts

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.


Messages - bullten

Pages: [1] 2 3 ... 10
2
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






3
Its working very fine already verified

4
yum reinstall cwp-httpd

5
Check if by mistake you installed another version of apache. You remove httpd

6
CentOS 6 Problems / Re: Error Installing CWP
« on: March 24, 2018, 06:06:00 AM »
show me error where it is failing?

7
CentOS 6 Problems / Re: Error Installing CWP
« on: March 24, 2018, 05:39:08 AM »
where is the error?

8
CentOS 7 Problems / Re: 403 forbidden video mp4
« on: March 23, 2018, 06:45:19 PM »
what does your apache error_log shows?

9
Apache / Re: 403 Forbidden
« on: March 19, 2018, 06:56:31 PM »
did you check your htaccess file?

10
CentOS 7 Problems / Re: Domains redirect to HTTP Test page
« on: March 18, 2018, 06:50:22 PM »
did you try rebuilding virtual host?

11
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.

12
DNS / Re: BIND DNS NOT STARTING
« on: March 17, 2018, 07:11:00 PM »
got editnameserver ip and then click on save changes,

13
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.

14
Nginx / Re: ngx_http_log_module add in ningx
« on: March 03, 2018, 06:30:11 PM »
isnt it activated by default?

15
Apache / Re: How to eneble Mod's
« on: March 01, 2018, 05:40:36 PM »
its password protected.

Pages: [1] 2 3 ... 10