How to quick test PHP script under Apache on FreeBSD

10:51 pm

To test PHP, make a file test.php in /usr/local/apache/htdocs/ directory, with the folowing text:   

<html><body><?phpphpinfo();?></body></html>

and view this script through your browser: # lynx http://localhost/test.php

Bookmark and Share
FreeBSD
Related posts:
blog comments powered by Disqus