“php menampilkan kode di browser” Kode Jawaban

php menampilkan kode di browser

If your PHP code is being displayed in the browser, it means that your
server has not been setup to serve PHP scripts.

You can use something like XAMPP. If you do, activate 'Apache' and 'MySQL'

After you do that, go into the download directory and go into 'htdocs'
(default: 'C:\xampp\htdocs')

Make a folder with your PHP code in it.

To access the website, go into your browser and type:

localhost/FOLDER_NAME_WITH_PHP_HERE

NOTE:
	this will only allow you to view it locally, nobody else will be able
    to see the website.
Hurt Hamster

saat menjalankan file php menampilkan kode alih -alih tampilan

sudo apt-get install php libapache2-mod-php
sudo a2enmod mpm_prefork && sudo a2enmod php7.0
sudo service apache2 restart
Lokesh003Coding

Jawaban yang mirip dengan “php menampilkan kode di browser”

Pertanyaan yang mirip dengan “php menampilkan kode di browser”

Lebih banyak jawaban terkait untuk “php menampilkan kode di browser” di PHP

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya