Page 1 of 1

Raspberry Pi Buster & Nubuilder 4

Posted: Thu Jan 07, 2021 5:36 pm
by orthinologist
Hello All,

I have a textbook installation on an old PiB with Apache2, PHP7.3, MariaDB, phpmyadmin and everything seems to test out fine.

I then imported the Nubuilder files into /var/www/html and made sure that permissions were correct. Then the disappointment that index.php would not load.

I have checked & checked and I have a suspicion that the problem is to do with PHP.

Any ideas would be much appreciated.

Thanks

Re: Raspberry Pi Buster & Nubuilder 4

Posted: Thu Jan 07, 2021 8:16 pm
by Janusz
Hi,
If you create in the same folder for example phpinfo.php will it run properly?
(provided that php info is not blocked by other settings in the php config)

phpinfo.php

Code: Select all

<?php

// Show all information, defaults to INFO_ALL
phpinfo();

// Show just the module information.
// phpinfo(8) yields identical results.
phpinfo(INFO_MODULES);

?>

Re: Raspberry Pi Buster & Nubuilder 4

Posted: Fri Jan 08, 2021 2:07 am
by kev1n
Hi,

Check the apache error file for information about why the error ocurred.

Re: Raspberry Pi Buster & Nubuilder 4

Posted: Mon Jan 25, 2021 10:51 am
by apmuthu
You may not have installed the necessary php-* files and the glue to link php with mysql and apache. Check the Apache-PHP-MariaDB install for self-sufficiency and restart the webserver or reboot.