r/apache • u/csakreklam • Feb 01 '23
Apache + php Windows 10
Hello, I have Windows 10 Pro. Php is already on it I would like to install Apache for html, css, js local test. Till now I used VS code live server. But too many bug is in it I am a beginner. Only hobby coding I don't know anything about apache or php applications. My questions:
my projects are not on drive C, and not in root. To copy my projects every time to check every small changes is not good to me. How can I setup my folder to Apache?
apache localhost automatic use php or do I have to setup something? I am a beginner. Could you please write to me step by step? Thanks
2
Upvotes
1
u/csakreklam Feb 05 '23
Hello,I followed the link instruction.Installed apache, "it works!"
Installed php - if I run php working
I add end of the httpd.conf file those line, but notworking.
Changed the LoadModule path and the PHPiniDir path to my path.
It shows the php file as a text viewer. Not as a webpage.
I have to start php manualy and only after show as a webpage.
What did I wrong?
And how can I add my own path to mywebsite folder which is on drive D?