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
Problem configuring Php with Pow (Plain Old Web Server)
Moderator: General Moderators
-
MerryMurray
- Forum Newbie
- Posts: 4
- Joined: Fri Jul 18, 2008 4:44 pm
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: Problem configuring Php with Pow (Plain Old Web Server)
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.
-
MerryMurray
- Forum Newbie
- Posts: 4
- Joined: Fri Jul 18, 2008 4:44 pm
Re: Problem configuring Php with Pow (Plain Old Web Server)
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
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
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: Problem configuring Php with Pow (Plain Old Web Server)
Do you have an objection to installing Apache locally?
-
MerryMurray
- Forum Newbie
- Posts: 4
- Joined: Fri Jul 18, 2008 4:44 pm
Re: Problem configuring Php with Pow (Plain Old Web Server)
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
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
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Re: Problem configuring Php with Pow (Plain Old Web Server)
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
-
MerryMurray
- Forum Newbie
- Posts: 4
- Joined: Fri Jul 18, 2008 4:44 pm
Re: Problem configuring Php with Pow (Plain Old Web Server)
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
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