Postingan

Menampilkan postingan dari Februari, 2023

Install PHP, composer di mac os monterey

 Xampp : redirect php dari bin/php ke bash profile Composer : menggunak curl install

Perbaikan Error Laravel | 21 Feb 2023

 > cURL error 77: error setting certificate verify locations: CAfile: \xampp\apache\bin\curl-ca-bundle.crt CApath: none (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) Jawaban :  sumber : https://stackoverflow.com/questions/55488982/failed-loading-cafile-stream-c-xampp-apache-bin-curl-ca-bundle-crt You are not providing a valid ca bundle file. Try downloading  this file  (https://curl.haxx.se/ca/cacert.pem) and save it as  C:\xampp\apache\bin\curl-ca-bundle.crt  You can read the explanation on  the Certificate Verification section of the curl documentation .

Cara instalasi web server nginx dan php-fpm pada Server CentOS 7 | 21 Feb 2023

 referensi : https://www.youtube.com/watch?v=RqYFHD0bgUE&ab_channel=impstudio #NGINX sudo yum -y install epel-release sudo yum -y install nginx sudo systemctl start nginx sudo systemctl enable nginx sudo firewall-cmd --add-service=http --permanent sudo firewall-cmd --add-service=https --permanent sudo firewall-cmd --reload #PHP-FPM --cd /tmp --sudo yum -y install wget --sudo wget -q http://rpms.remirepo.net/enterprise/remi-release-7.rpm --sudo rpm -Uvh remi-release-7.rpm sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm sudo yum -y install yum-utils sudo yum-config-manager --enable remi-php74 sudo yum -y install php-fpm php-common sudo yum -y install php-opcache php-pecl-apcu php-cli php-pear php-pdo php-mysqlnd php-pgsql \ php-pecl-mongodb php-pecl-redis php-pecl-memcache php-pecl-memcached php-gd php-mbstring \ php-mcrypt php-xml sudo vim /etc/php.ini cgi.fix_pathinfo=0 date.timezone = Asia/Jakarta sudo vim /etc/php-fpm.d/www.conf user = nginx group...