Browse Source

index

master
ophelie 3 years ago
commit
2c59f7a688
1 changed files with 20 additions and 0 deletions
  1. +20
    -0
      index.php

+ 20
- 0
index.php View File

@@ -0,0 +1,20 @@
#!/bin/bash
#sudo apt update
#sudo apt upgrade -y
#sudo apt install apache2 php
#sudo apt install php
sudo systemctl restart apache2
#sudo chown -R ubuntu:ubuntu /var/www/html
#rm /var/www/html/index.html
echo "
<!DOCTYPE html>
<html lang='fr'>
<head>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<title>PHP Info</title>
</head>
<body>
<?php phpinfo(); ?>
</body>
</html>

Loading…
Cancel
Save