Click here to Skip to main content
15,394,540 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Firefox storage get undefined Pin
Valentinor4-Nov-20 3:02
MemberValentinor4-Nov-20 3:02 
QuestionCallback JS help Pin
Member 149761991-Nov-20 19:35
MemberMember 149761991-Nov-20 19:35 
AnswerRe: Callback JS help Pin
Richard Deeming1-Nov-20 22:20
mveRichard Deeming1-Nov-20 22:20 
QuestionCSS flex help_ circle transform into oval Pin
Member 1497619929-Oct-20 23:30
MemberMember 1497619929-Oct-20 23:30 
QuestionCSS background(url) not working Pin
Member 1497619926-Oct-20 21:40
MemberMember 1497619926-Oct-20 21:40 
AnswerRe: CSS background(url) not working Pin
Richard Deeming26-Oct-20 22:26
mveRichard Deeming26-Oct-20 22:26 
GeneralRe: CSS background(url) not working Pin
Member 1497619926-Oct-20 22:30
MemberMember 1497619926-Oct-20 22:30 
QuestionChanging documentroot in Apache http.conf file causes PHP to stop working Pin
MontanaMan9-Oct-20 16:58
MemberMontanaMan9-Oct-20 16:58 
Hello:

Windows 10 workstation
Apache 2.4
PHP 7.2.

I've installed Apache and PHP on a Windows 10 workstation and everything (including PHP) works beautifully. But when I change the documentroot in the http.conf file, Apache stops sending .php files to the PHP engine. Apache opens the .php files in the new directory, but the <?php> code no longer gets parsed and processed by the php engine (php.exe). Apache no longer runs those files through the php module.

Here is what I've changed in the http.conf file:

OLD SETTING:
DocumentRoot "${SRVROOT}/htdocs"
<Directory "${SRVROOT}/htdocs">

NEW SETTING:
DocumentRoot "C:/WWW"
<Directory "C:/WWW">

When I change it back again, PHP works just fine.

I've also tried changing the doc_root setting in php.ini, but that doesn't help. Apache loads the .php page, but never sends it to the php server.

Any thoughts or help?

Thanks!

AnswerRe: Changing documentroot in Apache http.conf file causes PHP to stop working Pin
Graham Breach9-Oct-20 22:14
MemberGraham Breach9-Oct-20 22:14 
GeneralRe: Changing documentroot in Apache http.conf file causes PHP to stop working Pin
MontanaMan10-Oct-20 3:18
MemberMontanaMan10-Oct-20 3:18 
Questionadding colors css file? Pin
auting826-Oct-20 5:24
Memberauting826-Oct-20 5:24 
AnswerRe: adding colors css file? Pin
Richard MacCutchan9-Oct-20 21:59
mveRichard MacCutchan9-Oct-20 21:59 
AnswerRe: adding colors css file? Pin
W Balboos, GHB10-Nov-20 4:34
mveW Balboos, GHB10-Nov-20 4:34 
QuestionASP.net Web API Errors Pin
Kevin Marois29-Sep-20 10:53
professionalKevin Marois29-Sep-20 10:53 
AnswerRe: ASP.net Web API Errors Pin
Afzaal Ahmad Zeeshan29-Sep-20 11:20
mveAfzaal Ahmad Zeeshan29-Sep-20 11:20 
GeneralRe: ASP.net Web API Errors Pin
Kevin Marois29-Sep-20 11:28
professionalKevin Marois29-Sep-20 11:28 
AnswerRe: ASP.net Web API Errors Pin
Richard Deeming29-Sep-20 21:27
mveRichard Deeming29-Sep-20 21:27 
GeneralRe: ASP.net Web API Errors Pin
Kevin Marois30-Sep-20 5:48
professionalKevin Marois30-Sep-20 5:48 
GeneralRe: ASP.net Web API Errors Pin
Richard Deeming30-Sep-20 6:50
mveRichard Deeming30-Sep-20 6:50 
NewsCoding multiple text blocks over a single image in HTML Pin
Member 1495060328-Sep-20 5:40
MemberMember 1495060328-Sep-20 5:40 
Questionhello! I wanted to ask how should we code the domain code ourselves? That is, to register a domain for our website and not to get it from somewhere else? What to learn for it Or what book he read Pin
Member 1493949715-Sep-20 20:56
MemberMember 1493949715-Sep-20 20:56 
AnswerRe: hello! I wanted to ask how should we code the domain code ourselves? That is, to register a domain for our website and not to get it from somewhere else? What to learn for it Or what book he read Pin
Richard MacCutchan15-Sep-20 21:34
mveRichard MacCutchan15-Sep-20 21:34 
Answerok, thanks Pin
Member 1493949715-Sep-20 21:39
MemberMember 1493949715-Sep-20 21:39 
SuggestionRe: Domain registration Pin
Richard Deeming15-Sep-20 22:01
mveRichard Deeming15-Sep-20 22:01 
Questionvisualization of data on a website, where the data is provided by some remote C++ program Pin
Arist0tle11-Sep-20 5:44
MemberArist0tle11-Sep-20 5:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.