PHP | tags

PHP | Fix debian 8/9 “curl: (60) SSL certificate problem: certificate has expired”

Security PHP Command Linux Debian

PHP | update PHP5.5 to PHP7.2 on Debian & DirectAdmin with CustomBuild 2.0

Command PHP DirectAdmin Debian

before: https://www.taxze.com/how-to-upgrade-php-with-directadmin/ after : install openssl first https://www.taxze.com/update-openssl-debian-directadmin/ ..and update CustomBuild 2.0 for upgrade php5.5.xx to php7.2.xx on Debian6 & DirectAdmin (more&h.. อ่านต่อ ( read more» )

PHP | Debian/Ubuntu + Nginx + PHP(5|7)-FPM + MySQL + Redis with VestaCP

Ubuntu VestaCP Debian Command Nginx PHP MySQL

apt-get update; apt-get upgrade -y cd /tmp wget http://vestacp.com/pub/vst-install.sh #wget http://vestacp.com/pub/vst-install-debian.sh #sed -i 's/php5/php7.0/g' vst-install-debian.sh bash vst-install.sh --nginx yes --phpfpm yes --apache no --vsftpd.. อ่านต่อ ( read more» )

PHP | สร้างหน้าเว็บ Intro ทำให้ index.html ใช้ร่วมกับ WordPress

WordPress PHP

วิธีทำหน้า intro แบบไฟล์ index.html กับ wordpress แยกออกมาโดยไม่ใช้ wp-content/themes/name/home.php หรือ front-page.php เพื่อในวาระพิเศษวันสำคัญต่างๆ โดยไม่ให้หน้าเว็บแบบพิเศษนี้มันทำงานซ้ำซ้อนกัน จากปกติที่ เข้าหน้าเว็บแบบ domain.com/ มันจะเรียกไฟล์.. อ่านต่อ ( read more» )

PHP | How to Install mod_ruid2 on Debian 64bit DirectAdmin installed

DirectAdmin Command PHP Debian

mod_ruid จัดการให้ php-cli ไม่ต้องมา chmod 777 เองให้วุ่นวายเหมือนใช้โฮส cPanel install mod_ruid2 cd /tmp apt-get update aptitude install libcap2-dev bzip2 wget http://jaist.dl.sourceforge.net/project/mod-ruid/mod_ruid2/mod_ruid2-0.9.8.tar.bz2 tar xj.. อ่านต่อ ( read more» )

PHP | How to upgrade PHP5.2|5.3|5.4|5.5 with DirectAdmin

DirectAdmin PHP Command

วิธีการติดตั้ง php 5.3.x ให้ใช้งานได้บน server ที่ลง 5.2.x เดิมอยู่แล้ว โดยใช้ทริคที่ว่าให้ระบบมอง php5.3 เป็น php6 โดยมีขั้นตอนตามนี้ *This trick will work with CustomBuild 1.2 (PHP5.2 as CLI and 5.3 as CGI (suPHP)): cd /usr/local/directadmin/custom.. อ่านต่อ ( read more» )

PHP | How to Install Memcached & PHP-Memcache on Debian 5.0.x 64bit DirectAdmin installed

Command DirectAdmin PHP Debian

#1. Install library libevent cd /tmp #wget http://monkey.org/~provos/libevent-1.4.13-stable.tar.gz #tar xzvf libevent-1.4.13-stable.tar.gz #cd libevent-1.4.13-stable curl -O -L https://github.com/downloads/libevent/libevent/libevent-2.0.21-stable.t.. อ่านต่อ ( read more» )

PHP | How to Install ionCube Loader on Debian 5.0.x 64bit DirectAdmin installed

Debian DirectAdmin PHP Command

#1. Install file module cd /tmp/ wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz tar xvfz ioncube_loaders_lin_x86-64.tar.gz mv ioncube /usr/local/lib/ (more…).. อ่านต่อ ( read more» )

PHP | How to Install Zend Optimize on Debian 5.0.x 64bit DirectAdmin installed

PHP DirectAdmin Command Debian

#1. Install file module (PHP 5.2.x) cd /tmp/ wget http://downloads.zend.com/optimizer/3.3.9/ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz tar xvfz ZendOptimizer-3.3.9-linux-glibc23-x86_64.tar.gz cd ZendOptimizer-3.3.9-linux-glibc23-x86_64/data/5_2_.. อ่านต่อ ( read more» )

PHP | Check PHP Warning Extension

PHP Command

Ploblem: “PHP Warning: PHP Startup: Unable to load dynamic library ‘./usr/local/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so’ - ./usr/local/lib/php/extensions/no-debug-non-zts-20060613/eaccelerator.so: cannot open shared object file: .. อ่านต่อ ( read more» )