Page 1 of 1
Problem configuring Php with Pow (Plain Old Web Server)
Posted: Fri Jul 18, 2008 5:55 pm
by MerryMurray
Hi
Has anyone setup Php5 with POW? I'm new to both POW and Php.
How do I set up the .ini file to work with POW ( using cgi I suppose)
Thanks in advance
Murray
Re: Problem configuring Php with Pow (Plain Old Web Server)
Posted: Fri Jul 18, 2008 7:44 pm
by RobertGonzalez
Is there a manual for POW somewhere? I would guess you would need to tell POW how to handle certain file extensions so that they run through the PHP engine.
Re: Problem configuring Php with Pow (Plain Old Web Server)
Posted: Fri Jul 18, 2008 7:55 pm
by MerryMurray
Thanks for the response.
I've looked through online docs for Pow and have set php mime to the specified value text/html
POW is a Firefox extension (addon) that sets up a server at localhost:6670.
When I run the server it finds the
http://localhost:6670/test.php file I set up but does not appear to execute it.
The web page displayed is blank.
I presume I have to set php.ini up but do not know how to do it for POW.
Thanks again
Murray
Re: Problem configuring Php with Pow (Plain Old Web Server)
Posted: Fri Jul 18, 2008 8:04 pm
by RobertGonzalez
Do you have an objection to installing Apache locally?
Re: Problem configuring Php with Pow (Plain Old Web Server)
Posted: Sat Jul 19, 2008 12:09 am
by MerryMurray
Thanks again.
Yes. I'm just interested in using Pow from within Firefox.
I need to learn how to configure these things. I'm going through
the php.ini file to see if making changes there will get it to work.
Murray
Re: Problem configuring Php with Pow (Plain Old Web Server)
Posted: Sat Jul 19, 2008 2:29 am
by RobertGonzalez
Nothing in PHP.ini is going to help with this. It needs to be a directive issued to the server to handle php files by passing them through the PHP executable
Re: Problem configuring Php with Pow (Plain Old Web Server)
Posted: Sat Jul 19, 2008 11:49 am
by MerryMurray
You are right. Nothing I change in php.ini is detected.
Error log shows:
C:\Apps\Dev\Web\Php\Php\php-cgi.exe E:\Data\Data\Firefox\Profiles\Firefox3/pow/htdocs/murray E:\Data\Data\Firefox\Profiles\Firefox3 test.php
2008-07-19 09:44:51 127.0.0.1 GET 200 OK /pow/htdocs/murray/test.php
Guess I'll give it a break for awhile. It's frustrating. Probably missing one simple operation somewhere.
Could be a Windows XP issue. The developer uses a linux box and does not have access to Windows.
Thanks again
Murray