+ 3

having trouble with php interpretator in c++ server

so I have a code: https://code.sololearn.com/cDbmzBsmOUAo/#cpp When I try to connect this server by browser,it properly shows html page,but not php datas(<?php echo "Hello World" ?>).So I know that it can be done with CGI but I'm having trouble with coding it.Can someone help me?

18th Jul 2018, 6:28 AM
yEra🇿
yEra🇿 - avatar
2 Respuestas
0
seems like you forgot the semicolon after your echo statement
18th Jul 2018, 7:40 AM
Matthias
Matthias - avatar
0
Matthias,no it is not mistake
18th Jul 2018, 8:37 AM
yEra🇿
yEra🇿 - avatar