Articles Comments

{ Berbagi, Menulis, Dan Mengajar } Ilmu… » Archive

Cara Mengatasi Fatal error: Allowed memory size

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 19205505 bytes) in /var/www/html/resto_1/system/core/Output.php on line 447 A PHP Error was encountered Severity: Error Message: Allowed memory size of 134217728 bytes exhausted (tried to allocate 19205505 bytes) Filename: core/Output.php Line Number: 447 ——– EDIT file PHP.INI —– TUJU LINE : 393, edit file memory_limit = 128M menjadi 256 M —– ; Maximum amount of memory a script may consume (128MB) ; http://php.net/memory-limit memory_limit = 256M ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ; Error handling and logging ; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; … Read entire article »

Filed under: 7. Operating System

etc default nginx PHP5.6 FPM fix config

server { listen 80 default_server; listen [::]:80 default_server; root /var/www/html; # Add index.php to the list if you are using PHP #index index.html index.htm index.nginx-debian.html; index index.php; server_name _; location / { # First attempt to serve request as file, then # as directory, then fall back to displaying a 404. try_files $uri $uri/ =404; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php5.6-fpm.sock; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; } location ~ /\.ht { deny all; } } … Read entire article »

Filed under: 7. Operating System

Install php5.6 FPM di Linux Raspberry

Filed under: 7. Operating System, Raspberry

Jika Lupa Password OJS

https://www.rumahweb.com/journal/mereset-password-admin-ojs/ … Read entire article »

Filed under: OJS / Open Journaling System

materai digital

Filed under: 7. Operating System

Contoh Surat Pengantar Pengambilan SK INPASSING

SURAT-PERINTAH_c SURAT-PERINTAH_INPASSING_rev1 … Read entire article »

Filed under: 7. Operating System

SKEP Tim Monev 2019

SURAT KEPUTUSAN _pemonev_int_rev3 … Read entire article »

Filed under: 7. Operating System

No Rek Pak Heru LPPM BCA

Filed under: 7. Operating System

Script Mirroring Database

#! /bin/bash TIMESTAMP=$(date +”%F”) BACKUP_DIR=”/home/database_only/backup/$TIMESTAMP/mysql” MYSQL_USER=”dimas” MYSQL=/usr/bin/mysql MYSQL_PASSWORD=”prbn10prbn10″ HOST=192.168.1.100 MYSQLDUMP=/usr/bin/mysqldump echo $BACKUP_DIR; echo $TIMESTAMP; cd $BACKUP_DIR gunzip -f 0328*.gz;gunzip -f 0324*.gz;gunzip -f 0335*.gz;gunzip -f db_0323*.gz ls 0328* > dbPemda.txt;ls 0324* >> dbPemda.txt;ls 0335* >> dbPemda.txt;ls db_0323* >> dbPemda.txt dbPemda=$BACKUP_DIR/dbPemda.txt echo $dbPemda; while read line do echo “$line” $MYSQL -u $MYSQL_USER -p$MYSQL_PASSWORD -h $HOST < $line; done < $dbPemda … Read entire article »

Filed under: 7. Operating System

error_too_many_redirect on nginx

error_too_many_redirect on nginx —- Buka File “config.inc.php” – Ubah Default nilai disable_path_info = Off –> disable_path_info = On —- datetime_format_long = “%B %e, %Y – %I:%M %p” time_format = “%I:%M %p” disable_path_info = On … Read entire article »

Filed under: 7. Operating System