PHP and CivetWeb
Posted: Fri Jun 16, 2023 4:58 pm
Hi,
I've got civetweb running nicely in its basic form. I've installed PHP, but can't get the web version running. I've tried:
Thanks,
Martin
1) The following "shebang" lines have been tried:
EDIT: I've added cgi_pattern **.php$ to the configuration and tried both of the above again. Still no joy.
2) The following locations have been tried:
I've got civetweb running nicely in its basic form. I've installed PHP, but can't get the web version running. I've tried:
- Adding a "shebang" line to the source file
- Copying PHP$ROOT:[csws]php-cgi.exe into the civetweb tree
Thanks,
Martin
1) The following "shebang" lines have been tried:
Code: Select all
#!php$root:[cws]php-cgi.exe
#!/php$root/csws/php-cgi.exe
2) The following locations have been tried:
Code: Select all
civetweb$root:[bin]php-cgi.exe
civetweb$root:[htdocs]
civetweb$root:[include]
civetweb$root:[lib]
civetweb$root:[resources]