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
  • 70,465
Niklas
  • 101
  • 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
  • `<?php /****************************************************/ /****** SECTION 1 TO EMBED AT THE TOP OF YOUR PAGE / /****************************************************/ include 'common.php';

    $publickey = ""; if($settingObj->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