By white page I'm assuming that you mean a blank page. That's probably caused by an error which you are not able to see because
display_errors in your
php.ini file is probably set to
Off.
To find where your
php.ini file is located do the following:
- Create a new page in your
htdocs or www (root of site) folder. call it phpinfo.php
- Inside the new file add:
<?php echo phpinfo(); ?>
- Go to
localhost/phpinfo.php. You should see a page with lots of information in it. Look for Loaded Configuration File
- View attachment 35235
- After you've located the
php.ini file open it using a text-editor ( atom.io, notepad++, sublime )
- Look for
display_errors and make sure there is no ; (semicolon) at the beginning of that line. if there is a ; search again and you'll probably find the actual line which is being used. change it from display_errors = Off to display_errors = On
- Save the file and restart your webserver.
After enabling display_errors you should be able to see what's causing the white page.