Thread: Run PHP on N800
View Single Post
hordeman's Avatar
Posts: 698 | Thanked: 129 times | Joined on Oct 2007 @ CA
#8
Originally Posted by theredbaron View Post
I have PHP5-fastcgi installed and HTTPD in Os2008. Everything installed fine. I am think HTTPD is running because when I go to http://localhost/ I get a message saying it works. My problem is that when I put a .php file into the htdocs folder at /user/htdocs and go to the file in my web browser (ie http://localhost/helloworld.php) it is not rendering the PHP...it just shows the PHP code (ie <?php echo 'hello world!'; ?> .

I tried to make some changes to the httpd.conf file but how do I edit it? I can see the file in the terminal /etc/conf/http.conf but I don't know how to launch the file in a text editor to edit it. Any ideas?
I've only gotten PHP to work with the nginx web server --- i never figured out how to get it work with Apache. Something tells me that PHP would need be recompiled to be used with Apache.

BTW, does anybody know if PHP + nginx work on OS2008?