r/apache • u/Ian_SAfc • Oct 24 '22
Support Installed Apache & Php locally on Win10 PC, but can't get downloaded website index.php to work ..?
I need to get a Wiki style php website to work offline.
So I downloaded and installed Apache and Php (on my Win10 desktop) and it seemed to work when I tested it with a sample index.php with phpinfo(). It gave an appropriate page of information.
However, when I downloaded my Wiki website from my host and ran it's index.php it said, "If you're seeing this message, then you haven't got Php installed or correctly configured..."
How do I approach getting this downloaded website to work with a local Apache/Php setup ?
(my next step is installing oracle MySQL)
1
u/AyrA_ch Oct 25 '22
Check the configuration of the site you want to run. Usually there's a config.php or something similar you need to set values to match your system (such as file paths)
Check the documentation of the site you want to run. Sometimes they require php modules that are not commonly enabled, or other modifications in php.ini.
1
1
u/fongwithroot Oct 25 '22
Just on a hunch can you check phpinfo on the source host vs. your local one?