Page 1 of 1

PHP will not load

PostPosted: 09. October 2019 18:27
by bobbys74
I honestly have tried scouring the web and I have been unable to find a solution. I have tried several versions of XAMPP, Apache and PHP individually, and I cannot, for the life of me, get PHP pages to load. They will not process, I get a "Problem loading page" error, everytime.

I am running Windows 10.

If anyone could lead me to a fix, that would be greatly appreciated.

Thank you.

Re: PHP will not load

PostPosted: 09. October 2019 18:52
by Altrea
We need much more information
What is the contents of the php file?
What is the save path?
What did you type into your browser to access the file?
What is the full error message?

Re: PHP will not load

PostPosted: 09. October 2019 19:12
by bobbys74
What is the contents of the php file?
I am just using the default portable installer, but I have tried different installations, same results.

What is the save path?
D:/xampp

What did you type into your browser to access the file?
127.0.0.1 and localhost. Then try the phpinfo link.

What is the full error message?
Problem loading page

Re: PHP will not load

PostPosted: 09. October 2019 21:52
by bobbys74
test_php.bat passed. I tried to disable firewall, not a firewall issue...

D:\xampp>test_php.bat
################################# START XAMPP TEST SECTION #################################


[XAMPP]: FIRST TEST - Searching for an installed Microsoft Visual C++ 2015 runtime package in the registry ...

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\DevDiv\vc\Servicing\14.0\RuntimeMinimum
Version REG_SZ 14.22.27821

[SUCCESS]: Microsoft Visual C++ 2015 Redistributable Package found! Good!


[XAMPP]: SECOND TEST - Execute php.exe with php\php.exe -n -d output_buffering=0 --version ...

PHP 7.3.10 (cli) (built: Sep 24 2019 11:59:22) ( ZTS MSVC15 (Visual C++ 2017) x64 )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.10, Copyright (c) 1998-2018 Zend Technologies
[SUCCESS]: Test for the php.exe successfully passed. Good!

################################# END XAMPP TEST SECTION ##################################

Press any key to continue . . .

<SOLVED>: PHP will not load

PostPosted: 10. October 2019 01:00
by bobbys74
Ok, I got it to work locally, but I am not happy with it. I am thinking that it is a windows 10 problem... I changed the port in httpd.conf from 80 to 8080... and it is working flawlessly! I hate windows!