php-apache with XBPS, started Apache with runit.
Apache version is 2.4.25 and PHP is 7.1.7
I made a test.php sample file in the root directory. Inside the file the content is
<?php phpinfo(); ?> and when I visit the file with the browser in
http://localhost/test.php I only get a blank page.
I inspect the blank page and see that the PHP code is commented out in HTML, like this:
<!--- <?php phpinfo(); ?> -->
No relevant errors in
# sv status apache shows Apache is running, but
# apachectl status returns this message:
Object not found!
The requested URL was not found on this server. If you entered the URL
manually please check your spelling and try again.
If you think this is a server error, please contact the webmaster.
But I can access
http://localhost/ in my browser. It shows a simple index.
ps ax | grep runsvdir returns nothing relevant.
I’m using the kernel 4.11.11_1 in a 32-bit install.
I’ve read that a PHP7 module needs to be implemented, but I don’t know how would I do it in this case.