Sugeng rawuh

openssl_encrypt - Error not working

Try the following steps:

Remove semicolon (;) - which is in the beginning of ";extension=php_openssl.dll"

Save the file : "php.ini"

Click on wamp icon - which can be found on right bottom corner of desktop or tray icon.

Click on: "Restart All Services" then wait for few seconds till wamp icon becomes green which means : "All services running"

Refresh your page that was showing error. Now it will work fine.


jika di php.ini tidak menemukan extensi ";extension=php_openssl.dll"

maka tulis manual dan simpan.

Share:

Ubah directory MySql ke folder lain - PHP 8 Xampp terbaru

Saya menggunakan xampp versi : xampp-windows-x64-8.0.0-2-VS16-installer 

1. pertama buka panel xampp



2. klik config di MySql di atas
3. klik my.in
4. ubah isi my.in

#datadir="C:/xampp/mysql/data" [sebelum]
datadir="H:/WEB_LOKAL/MYSQL/data" [folder yang akan digunakan]

#innodb_data_home_dir="C:/xampp/mysql/data" [sebelum]
innodb_data_home_dir="H:/WEB_LOKAL/MYSQL/data" [folder yang akan digunakan]

#innodb_log_group_home_dir="C:/xampp/mysql/data" [sebelum]
innodb_log_group_home_dir="H:/WEB_LOKAL/MYSQL/data" [folder yang akan digunakan]

5. pergi ke folder C:\xampp\mysql\data
6. copy semua file yang ada disana dan paste di folder yang akan digunakan



7. setelah file di atas di paste, restart MySql di panel xampp
8. buka localhost/phpmyadmin
9. selesai









Share:

Ubah directory PHP ke folder lain

 Cari file httpd.conf di folder Apache : C:\xampp\apache\conf\extra

lalu ubah text berikut ini :


Direktori PHP sebelum di pindah

#DocumentRoot "C:/xampp/htdocs"

#<Directory "C:/xampp/htdocs">

Setelah dipindah

DocumentRoot "H:\WEB_LOKAL\HTDOC"

<Directory "H:\WEB_LOKAL\HTDOC">

Restart Apache

Share:

[SOLVED] 'php' is not recognized as an internal or external command, operable program or batch file.

 PHP Error in visual studio code

C:\laragon\www\ci4>php spark serve

'php' is not recognized as an internal or external command,

operable program or batch file.




1.  Pilih " Advanced System Setting "



2. Klik tab Avanced dan pilih Environment Variables




3. Pilih Patch dan tambahkan direktori php / tempat file php misal di c:\xampp\php



4. PIlih edit dan tambahkan direktorinya 


5. Klik OK dan restart Apache

6. Buka CMD ketik "php -v"











Share:

Tonton video



Yuk, SUBSCRIBE

omfiki.blogspot.com