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 ... 27 28 [29] 30 31
421
CentOS-WebPanel Bugs / Re: phpMyAdmin 4.6.6 outdated
« on: January 29, 2018, 09:20:06 PM »
Once can create a bash script to install phpmyadmin auomatically

Quote
yum install composer -y
git clone https://github.com/phpmyadmin/phpmyadmin.git
cd phpmyadmin
yes | cp -rv * /usr/local/cwpsrv/var/services/pma/
cd /usr/local/cwpsrv/var/services/pma/
chown -R cwpsvc:cwpsvc *
composer update
service cwp-phpfpm restart

422
Suggestions / Re: implement panel option for changing MySQL root password
« on: January 29, 2018, 08:44:03 PM »
nano /scripts/mysql_pwd_reset

Find line

Quote
DB_ROOT_PASS=`cat /dev/urandom| tr -dc 'a-zA-Z0-9' | fold -w 12|head -n1`

Replace it

Quote
read -sp 'Password: ' DB_ROOT_PASS

Then run the script again.

424
CentOS-WebPanel Bugs / Re: phpMyAdmin 4.6.6 outdated
« on: January 27, 2018, 07:31:42 PM »
Why not manually updating it?

425
Apache / Re: Mod_Limits.c is working but service does not resume
« on: January 27, 2018, 05:55:19 PM »
I tested it on my server and i doesnt see the same issue.

426
CentOS 6 Problems / Re: PhpMyAdmin failure / Help me
« on: January 26, 2018, 05:39:24 PM »
What mysql version you are using?

427
PHP / Re: how install uploadprogress.so
« on: January 26, 2018, 05:33:31 PM »
https://github.com/php/pecl-php-uploadprogress


Quote
git clone https://github.com/php/pecl-php-uploadprogress.git
cd pecl-php-uploadprogress
phpize
./configure
make
make install

nano /usr/local/php/php.ini
Quote
extension=uploadprogress.so

429
How to / Disable SuPHP And Use DSO with Apache 2.4.28 and PHP 5.6.33
« on: January 25, 2018, 07:39:35 PM »
Quote
rm -rf /tmp/apache-build
mkdir -p /tmp/apache-build
cd /tmp/apache-build

Quote
wget http://www.eu.apache.org/dist//httpd/httpd-2.4.28.tar.gz
wget http://www.eu.apache.org/dist//apr/apr-1.6.3.tar.gz
wget http://www.eu.apache.org/dist//apr/apr-util-1.6.1.tar.gz


Quote
tar zxvf httpd-2.4.28.tar.gz
tar zxvf apr-1.6.3.tar.gz
tar zxvf apr-util-1.6.1.tar.gz


Quote
cd /tmp/apache-build/apr-1.6.3
make distclean
./configure
make
make install

Quote
cd /tmp/apache-build/apr-util-1.6.1
make distclean
./configure --with-apr=/usr/local/apr/
make
make install

Quote
cd /tmp/apache-build/httpd-2.4.28
rm -rf /usr/local/apache/conf/httpd.conf
make distclean
./configure --enable-so --prefix=/usr/local/apache --with-mpm=prefork --enable-ssl --enable-unique-id --enable-ssl=/usr/include/openssl --enable-rewrite  --enable-deflate --enable-suexec --with-suexec-docroot="/home" --with-suexec-caller="nobody" --with-suexec-logfile="/usr/local/apache/logs/suexec_log" --enable-asis --enable-filter --with-pcre --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr --enable-headers --enable-expires --enable-proxy --enable-cgi --enable-rewrite --enable-speling
make && make install
echo "Include /usr/local/apache/conf/sharedip.conf" >> /usr/local/apache/conf/httpd.conf
echo "Include /usr/local/apache/conf.d/*.conf" >> /usr/local/apache/conf/httpd.conf
sed -i "s|DirectoryIndex index.html|DirectoryIndex index.php index.html|g" /usr/local/apache/conf/httpd.conf
mv /usr/local/apache/conf.d/suphp.conf /usr/local/apache/conf/suphp.conf


Quote
cd /tmp/php-build/
wget http://fr2.php.net/distributions/php-5.6.33.tar.gz
tar zxvf php-5.6.33.tar.gz
cd php-5.6.33
make distclean
./configure --with-apxs2=/usr/local/apache/bin/apxs --with-zlib --enable-soap --enable-exif --with-config-file-path=/usr/local/php --with-config-file-scan-dir=/usr/local/php/php.d   --enable-phar --enable-bcmath --enable-calendar --with-curl --with-iconv --with-mysql --with-mysqli --with-mysql=mysqlnd --with-mysqli=mysqlnd --with-mcrypt --with-gettext --with-xsl --with-xmlrpc --with-pdo-mysql=mysqlnd --enable-posix --enable-ftp --with-openssl --enable-mbstring --with-jpeg-dir=/usr --with-freetype-dir=/usr --with-kerberos --with-xsl --with-bz2 --enable-sockets --enable-zip --with-gd --enable-sockets --with-pcre-regex --libdir=/usr/lib64 --disable-cgi --with-mysql-sock=/var/lib/mysql/mysql.sock
make && make install
rm -rf /usr/local/php/php.ini
cp php.ini-production /usr/local/php/php.ini
sed -i "s|.*modules/libphp5.so.*||g" /usr/local/apache/conf/httpd.conf


Quote
wget --output-document="/usr/local/apache/conf.d/php.conf" http://dl-package.bullten.in/cwp/files/dso/php.txt


uncomment
Quote
LoadModule proxy_module modules/mod_proxy.so
LoadModule rewrite_module modules/mod_rewrite.so

Quote
ln -s /usr/local/apache/bin/httpd /usr/sbin/httpd
service httpd restart

Quote
chmod 755 /home/user/public_html

430
FFMPEG / Re: problem with FFMPEG
« on: January 25, 2018, 05:06:53 PM »
It is paid script. Most of my client use it as I saw it is more advanced and flexible.

431
CentOS 7 Problems / Re: Phpmyadmin running on different webserver
« on: January 25, 2018, 03:23:58 PM »
You need to edit this file.

/usr/local/cwp/php71/php.ini

Then restart  php-fpm
service cwp-phpfpm restart

432
FFMPEG / Re: problem with FFMPEG
« on: January 25, 2018, 02:53:51 PM »
I would sugest you to use https://www.kernel-scripts.com/en/ for your project as its best and more advanced.

433
Apache / Re: problem to start apache
« on: January 23, 2018, 06:42:50 PM »
Paste the content of file here

cat /usr/local/apache/conf/sharedip.conf

434
CentOS-WebPanel Bugs / Re: CPU 100% clamd
« on: January 22, 2018, 07:43:54 PM »
Are you getting very frequent emails or can you check your RAM usage.

435
CentOS-WebPanel Bugs / Re: CPU 100% clamd
« on: January 22, 2018, 06:23:21 PM »
Do you see anything suspicious in log file of clamd?

Pages: 1 ... 27 28 [29] 30 31