Sugeng rawuh

Showing posts with label PHP. Show all posts
Showing posts with label PHP. Show all posts

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 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