0

I have managed to set up my server and upload my first php code to see if the server is working, and it is.

  • PHP 7.0.30-0ubuntu0.16.04.1 (cli) (NTS)
  • mysql Ver 14.14 Distrib5.7.23, for Linux (x86_64)
  • phpmyadmin 4.5.4.1deb2ubuntu2.1

I put a folder in /var/www/html/booking

But when I access the folder: localhost/booking/index.php, I only see a white page.

I have set the error from Off to On in php.ini

Still I can't see any errors.

So now I hope someone can help me.

Zanna
  • 69,223
  • 56
  • 216
  • 327
Niklas
  • 101
  • 3
  • Does that page have anything in it? Can you share the code that you have put in the `index.php`? – arximughal Sep 10 '18 at 18:53
  • 3
    Possible duplicate of [PHP codes of Unix in Ubuntu](https://askubuntu.com/questions/437283/php-codes-of-unix-in-ubuntu) – karel Sep 10 '18 at 19:01
  • `getRecaptchaEnabled() == "1") { require_once('include/recaptchalib.php'); $publickey = $settingObj->getRecaptchaPublicKey(); } //$publickey = $settingObj->getRecaptchaPublicKey();` – Niklas Sep 10 '18 at 21:08
  • im going crazy, it doesent wwork... – Niklas Sep 11 '18 at 18:29
  • Try to put some simple code in the index.php to see if the page will load at all. Try with: – Allan Bertelsen Sep 19 '18 at 11:45
  • the page is running with php info, but wondering why it dont run the regular code :( – Niklas Sep 19 '18 at 19:18

0 Answers0