feat(example/lamp): add LAMPScore and configuration support
- Introduce `LAMPScore` struct with additional fields: `domain`, `config`, and `php_version`. - Define default implementation for `LAMPConfig`. - Update `Url` enum to use `Url(url::Url)` instead of `Remote(url::Url)`. - Adjust references in `HttpServer` and `TftpServer` implementations. - Modify `Interpret` trait implementation to use `name()` method from `LAMPScore`.
This commit is contained in:
3
examples/lamp/php/index.php
Normal file
3
examples/lamp/php/index.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
print_r("Hello this is from PHP")
|
||||
?>
|
||||
Reference in New Issue
Block a user