: How to execute PHP from TinyWeb How do I set up my system to get TinyWeb to execute PHP scripts? Mongoose asked me to specify the location of php-cgi.exe, but I'm not sure how to do this
How do I set up my system to get TinyWeb to execute PHP scripts?
Mongoose asked me to specify the location of php-cgi.exe, but I'm not sure how to do this for TinyWeb.
More posts by @Cugini213
1 Comments
Sorted by latest first Latest Oldest Best
Got it working. I came across this site: itsecuritylab.eu/index.php/2010/09/24/tinyweb-pocket-size-portable-web-server-with-cgi-and-php-support/
Downloaded the one that came with PHP included and simply unpacked it.
When I tried to access the provided index.php script on
localhost:81/index.php
the following error occured
the procedure entry point php_checkuid could not be located in the dynamic link library php5.dll
I found this question, where one of the answers talks about old PHP installations in the environment variables.
I realized that there was an older version of PHP, went and deleted it and replaced it with the latest version, and the script ran successfully with
TinyWeb is successfully running PHP 5.5.11 :-)
Removing index.html from the wwwroot folder, I assumed index.php would be run as the default, though the server just returned "Forbidden". This is an issue, but in any case I just needed something simple to host PHP scripts so it is ok.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.