Simply not working

------=_NextPart_000_003D_01C97642.5D5A5510
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_003E_01C97642.5D5A5510"


------=_NextPart_001_003E_01C97642.5D5A5510
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Vista Business, Apache 2.2.11-win32-x86-openssl-0.9.8i.msi,
mysql-noinstall-5.1.30-win32.zip and php-5.2.8-win32-installer.msi.



Apache works, but php pages show the code rather than execute it. I have
attached the php.ini and http.conf. I am not running apache as a service,
rather am running in a command window since this is just for evaluating php
software packages and not for production.



I went back thru the archives and found an entry from May 2008 that was
relevant and tried the attached ini file with no change. The log files shoe
no errors.



Error.log

[Tue Jan 13 15:44:40 2009] [notice] Apache/2.2.11 (Win32) configured --
resuming normal operations

[Tue Jan 13 15:44:40 2009] [notice] Server built: Dec 10 2008 00:10:06

[Tue Jan 13 15:44:40 2009] [notice] Parent: Created child process 3376

Apache server shutdown initiated...

Child 3376: Child process is running

[Tue Jan 13 15:44:41 2009] [notice] Child 3376: Acquired the start mutex.

[Tue Jan 13 15:44:41 2009] [notice] Child 3376: Starting 64 worker threads.

[Tue Jan 13 15:44:41 2009] [notice] Child 3376: Starting thread to listen on
port 8585.



Access.log

127.0.0.1 - - [13/Jan/2009:14:47:14 -0500] "GET / HTTP/1.1" 200 44

127.0.0.1 - - [13/Jan/2009:14:59:19 -0500] "GET /<*****>/install/install.php
HTTP/1.1" 200 14730

127.0.0.1 - - [13/Jan/2009:15:12:56 -0500] "GET /<*****>/install/install.php
HTTP/1.1" 304 -

127.0.0.1 - - [13/Jan/2009:15:15:22 -0500] "GET /favicon.ico HTTP/1.1" 404
209

127.0.0.1 - - [13/Jan/2009:15:44:51 -0500] "GET /<*****>/install/install.php
HTTP/1.1" 200 14730



Shows several connections, some to the main page. The <*****> is to
obfuscate the packages we are testing. It's a company thing.`



Edward W. Rouse


------=_NextPart_001_003E_01C97642.5D5A5510
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
[at] font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
[at] font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
..MsoChpDefault
{mso-style-type:export-only;}
[at] page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal>Vista Business, Apache =
2.2.11-win32-x86-openssl-0.9.8i.msi,
mysql-noinstall-5.1.30-win32.zip and =
php-5.2.8-win32-installer.msi.<o:p></o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

<p class=3DMsoNormal>Apache works, but php pages show the code rather =
than
execute it. I have attached the php.ini and http.conf. I am not running =
apache
as a service, rather am running in a command window since this is just =
for
evaluating php software packages and not for production.<o:p></o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

<p class=3DMsoNormal>I went back thru the archives and found an entry =
from May
2008 that was relevant and tried the attached ini file with no change. =
The log
files shoe no errors. <o:p></o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

<p class=3DMsoNormal>Error.log<o:p></o:p></p>

<p class=3DMsoNormal>[Tue Jan 13 15:44:40 2009] [notice] Apache/2.2.11 =
(Win32)
configured -- resuming normal operations<o:p></o:p></p>

<p class=3DMsoNormal>[Tue Jan 13 15:44:40 2009] [notice] Server built: =
Dec 10
2008 00:10:06<o:p></o:p></p>

<p class=3DMsoNormal>[Tue Jan 13 15:44:40 2009] [notice] Parent: Created =
child
process 3376<o:p></o:p></p>

<p class=3DMsoNormal>Apache server shutdown initiated...<o:p></o:p></p>

<p class=3DMsoNormal>Child 3376: Child process is running<o:p></o:p></p>

<p class=3DMsoNormal>[Tue Jan 13 15:44:41 2009] [notice] Child 3376: =
Acquired the
start mutex.<o:p></o:p></p>

<p class=3DMsoNormal>[Tue Jan 13 15:44:41 2009] [notice] Child 3376: =
Starting 64
worker threads.<o:p></o:p></p>

<p class=3DMsoNormal>[Tue Jan 13 15:44:41 2009] [notice] Child 3376: =
Starting
thread to listen on port 8585.<o:p></o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

<p class=3DMsoNormal>Access.log<o:p></o:p></p>

<p class=3DMsoNormal>127.0.0.1 - - [13/Jan/2009:14:47:14 -0500] =
"GET /
HTTP/1.1" 200 44<o:p></o:p></p>

<p class=3DMsoNormal>127.0.0.1 - - [13/Jan/2009:14:59:19 -0500] =
"GET /<*****>/install/install.php
HTTP/1.1" 200 14730<o:p></o:p></p>

<p class=3DMsoNormal>127.0.0.1 - - [13/Jan/2009:15:12:56 -0500] =
"GET /<*****>/install/install.php
HTTP/1.1" 304 -<o:p></o:p></p>

<p class=3DMsoNormal>127.0.0.1 - - [13/Jan/2009:15:15:22 -0500] =
"GET
/favicon.ico HTTP/1.1" 404 209<o:p></o:p></p>

<p class=3DMsoNormal>127.0.0.1 - - [13/Jan/2009:15:44:51 -0500] =
"GET /<*****>/install/install.php
HTTP/1.1" 200 14730<o:p></o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

<p class=3DMsoNormal>Shows several connections, some to the main page. =
The <*****>
is to obfuscate the packages we are testing. It’s a company =
thing.`<o:p></o:p></p>

<p class=3DMsoNormal><o:p> </o:p></p>

<p class=3DMsoNormal>Edward W. Rouse<o:p></o:p></p>

</div>

</body>

</html>

------=_NextPart_001_003E_01C97642.5D5A5510--


------=_NextPart_000_003D_01C97642.5D5A5510
Content-Type: text/plain; charset=us-ascii

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
------=_NextPart_000_003D_01C97642.5D5A5510--
erouse [ Mi, 14 Januar 2009 18:19 ] [ ID #1984898 ]

Re: Simply not working

Sounds like you are missing the apache httpd.conf directives for php.
Here is snippet from my httpd.conf file:

##
# PHP Section
##
#LoadModule php4_module "c:/php/php4apache2.dll"
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
PHPIniDir "C:/php"

My php is installed in c:\php. You need to make sure you follow the php
install instructions and copy the correct SAPI module to the C:\php
directory.

Cheers,
James


On Wed, 2009-01-14 at 12:19 -0500, Edward W. Rouse wrote:
> Vista Business, Apache 2.2.11-win32-x86-openssl-0.9.8i.msi,
> mysql-noinstall-5.1.30-win32.zip and php-5.2.8-win32-installer.msi.
>
>
>
> Apache works, but php pages show the code rather than execute it. I
> have attached the php.ini and http.conf. I am not running apache as a
> service, rather am running in a command window since this is just for
> evaluating php software packages and not for production.
>
>
>
> I went back thru the archives and found an entry from May 2008 that
> was relevant and tried the attached ini file with no change. The log
> files shoe no errors.
>
>
>
> Error.log
>
> [Tue Jan 13 15:44:40 2009] [notice] Apache/2.2.11 (Win32) configured
> -- resuming normal operations
>
> [Tue Jan 13 15:44:40 2009] [notice] Server built: Dec 10 2008 00:10:06
>
> [Tue Jan 13 15:44:40 2009] [notice] Parent: Created child process 3376
>
> Apache server shutdown initiated...
>
> Child 3376: Child process is running
>
> [Tue Jan 13 15:44:41 2009] [notice] Child 3376: Acquired the start
> mutex.
>
> [Tue Jan 13 15:44:41 2009] [notice] Child 3376: Starting 64 worker
> threads.
>
> [Tue Jan 13 15:44:41 2009] [notice] Child 3376: Starting thread to
> listen on port 8585.
>
>
>
> Access.log
>
> 127.0.0.1 - - [13/Jan/2009:14:47:14 -0500] "GET / HTTP/1.1" 200 44
>
> 127.0.0.1 - - [13/Jan/2009:14:59:19 -0500]
> "GET /<*****>/install/install.php HTTP/1.1" 200 14730
>
> 127.0.0.1 - - [13/Jan/2009:15:12:56 -0500]
> "GET /<*****>/install/install.php HTTP/1.1" 304 -
>
> 127.0.0.1 - - [13/Jan/2009:15:15:22 -0500] "GET /favicon.ico HTTP/1.1"
> 404 209
>
> 127.0.0.1 - - [13/Jan/2009:15:44:51 -0500]
> "GET /<*****>/install/install.php HTTP/1.1" 200 14730
>
>
>
> Shows several connections, some to the main page. The <*****> is to
> obfuscate the packages we are testing. It’s a company thing.`
>
>
>
> Edward W. Rouse
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
James Crow [ Mi, 14 Januar 2009 19:33 ] [ ID #1984899 ]

RE: Simply not working

After much searching and reloading, Apache started to display errors on =
startup. I had all of the php directives in place except for the .php3 =
and, even though I'm not using the .php3 extension, I did add that 1 =
line. And that one isn't in the documentation or help files, so if it is =
required, those files should be updated. Anyway, the bottom line was =
that the Oracle and PostgreSQL sections don't work out of the box, even =
though I have both Oracle and Postgres working on the system with other =
programs. This seems to be a known issue since May =
(http://bugs.php.net/bug.php?id=3D44905) at least as far as Postgres is =
concerned.

Luckily at this point I don't need the Postgres nor Oracle functionality =
so will worry about that another day.

Thanks

Edward W. Rouse


-----Original Message-----
From: James Crow [mailto:james [at] ultratans.com]
Sent: Wednesday, January 14, 2009 1:34 PM
To: Edward W. Rouse
Cc: php-windows [at] lists.php.net
Subject: Re: [PHP-WIN] Simply not working

Sounds like you are missing the apache httpd.conf directives for php.
Here is snippet from my httpd.conf file:

##
# PHP Section
##
#LoadModule php4_module "c:/php/php4apache2.dll"
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
PHPIniDir "C:/php"

My php is installed in c:\php. You need to make sure you follow the php
install instructions and copy the correct SAPI module to the C:\php
directory.

Cheers,
James


On Wed, 2009-01-14 at 12:19 -0500, Edward W. Rouse wrote:
> Vista Business, Apache 2.2.11-win32-x86-openssl-0.9.8i.msi,
> mysql-noinstall-5.1.30-win32.zip and php-5.2.8-win32-installer.msi.
>
>
>
> Apache works, but php pages show the code rather than execute it. I
> have attached the php.ini and http.conf. I am not running apache as a
> service, rather am running in a command window since this is just for
> evaluating php software packages and not for production.
>
>
>
> I went back thru the archives and found an entry from May 2008 that
> was relevant and tried the attached ini file with no change. The log
> files shoe no errors.
>
>
>
> Error.log
>
> [Tue Jan 13 15:44:40 2009] [notice] Apache/2.2.11 (Win32) configured
> -- resuming normal operations
>
> [Tue Jan 13 15:44:40 2009] [notice] Server built: Dec 10 2008 00:10:06
>
> [Tue Jan 13 15:44:40 2009] [notice] Parent: Created child process 3376
>
> Apache server shutdown initiated...
>
> Child 3376: Child process is running
>
> [Tue Jan 13 15:44:41 2009] [notice] Child 3376: Acquired the start
> mutex.
>
> [Tue Jan 13 15:44:41 2009] [notice] Child 3376: Starting 64 worker
> threads.
>
> [Tue Jan 13 15:44:41 2009] [notice] Child 3376: Starting thread to
> listen on port 8585.
>
>
>
> Access.log
>
> 127.0.0.1 - - [13/Jan/2009:14:47:14 -0500] "GET / HTTP/1.1" 200 44
>
> 127.0.0.1 - - [13/Jan/2009:14:59:19 -0500]
> "GET /<*****>/install/install.php HTTP/1.1" 200 14730
>
> 127.0.0.1 - - [13/Jan/2009:15:12:56 -0500]
> "GET /<*****>/install/install.php HTTP/1.1" 304 -
>
> 127.0.0.1 - - [13/Jan/2009:15:15:22 -0500] "GET /favicon.ico HTTP/1.1"
> 404 209
>
> 127.0.0.1 - - [13/Jan/2009:15:44:51 -0500]
> "GET /<*****>/install/install.php HTTP/1.1" 200 14730
>
>
>
> Shows several connections, some to the main page. The <*****> is to
> obfuscate the packages we are testing. It=E2=80=99s a company thing.`
>
>
>
> Edward W. Rouse
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
erouse [ Mi, 14 Januar 2009 20:52 ] [ ID #1984900 ]

RE: Simply not working

I only have the php3 directive because I need to work with some old php
code that has not been updated since 2005! Any modern php install should
not need it.

Cheers,
James

On Wed, 2009-01-14 at 14:52 -0500, Edward W. Rouse wrote:
> After much searching and reloading, Apache started to display errors on startup. I had all of the php directives in place except for the .php3 and, even though I'm not using the .php3 extension, I did add that 1 line. And that one isn't in the documentation or help files, so if it is required, those files should be updated. Anyway, the bottom line was that the Oracle and PostgreSQL sections don't work out of the box, even though I have both Oracle and Postgres working on the system with other programs. This seems to be a known issue since May (http://bugs.php.net/bug.php?id=44905) at least as far as Postgres is concerned.
>
> Luckily at this point I don't need the Postgres nor Oracle functionality so will worry about that another day.
>
> Thanks
>
> Edward W. Rouse
>
>
> -----Original Message-----
> From: James Crow [mailto:james [at] ultratans.com]
> Sent: Wednesday, January 14, 2009 1:34 PM
> To: Edward W. Rouse
> Cc: php-windows [at] lists.php.net
> Subject: Re: [PHP-WIN] Simply not working
>
> Sounds like you are missing the apache httpd.conf directives for php.
> Here is snippet from my httpd.conf file:
>
> ##
> # PHP Section
> ##
> #LoadModule php4_module "c:/php/php4apache2.dll"
> LoadModule php5_module "c:/php/php5apache2.dll"
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .php3
> PHPIniDir "C:/php"
>
> My php is installed in c:\php. You need to make sure you follow the php
> install instructions and copy the correct SAPI module to the C:\php
> directory.
>
> Cheers,
> James
>
>
> On Wed, 2009-01-14 at 12:19 -0500, Edward W. Rouse wrote:
> > Vista Business, Apache 2.2.11-win32-x86-openssl-0.9.8i.msi,
> > mysql-noinstall-5.1.30-win32.zip and php-5.2.8-win32-installer.msi.
> >
> >
> >
> > Apache works, but php pages show the code rather than execute it. I
> > have attached the php.ini and http.conf. I am not running apache as a
> > service, rather am running in a command window since this is just for
> > evaluating php software packages and not for production.
> >
> >
> >
> > I went back thru the archives and found an entry from May 2008 that
> > was relevant and tried the attached ini file with no change. The log
> > files shoe no errors.
> >
> >
> >
> > Error.log
> >
> > [Tue Jan 13 15:44:40 2009] [notice] Apache/2.2.11 (Win32) configured
> > -- resuming normal operations
> >
> > [Tue Jan 13 15:44:40 2009] [notice] Server built: Dec 10 2008 00:10:06
> >
> > [Tue Jan 13 15:44:40 2009] [notice] Parent: Created child process 3376
> >
> > Apache server shutdown initiated...
> >
> > Child 3376: Child process is running
> >
> > [Tue Jan 13 15:44:41 2009] [notice] Child 3376: Acquired the start
> > mutex.
> >
> > [Tue Jan 13 15:44:41 2009] [notice] Child 3376: Starting 64 worker
> > threads.
> >
> > [Tue Jan 13 15:44:41 2009] [notice] Child 3376: Starting thread to
> > listen on port 8585.
> >
> >
> >
> > Access.log
> >
> > 127.0.0.1 - - [13/Jan/2009:14:47:14 -0500] "GET / HTTP/1.1" 200 44
> >
> > 127.0.0.1 - - [13/Jan/2009:14:59:19 -0500]
> > "GET /<*****>/install/install.php HTTP/1.1" 200 14730
> >
> > 127.0.0.1 - - [13/Jan/2009:15:12:56 -0500]
> > "GET /<*****>/install/install.php HTTP/1.1" 304 -
> >
> > 127.0.0.1 - - [13/Jan/2009:15:15:22 -0500] "GET /favicon.ico HTTP/1.1"
> > 404 209
> >
> > 127.0.0.1 - - [13/Jan/2009:15:44:51 -0500]
> > "GET /<*****>/install/install.php HTTP/1.1" 200 14730
> >
> >
> >
> > Shows several connections, some to the main page. The <*****> is to
> > obfuscate the packages we are testing. It’s a company thing.`
> >
> >
> >
> > Edward W. Rouse
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
James Crow [ Mi, 14 Januar 2009 21:02 ] [ ID #1984901 ]

RE: Simply not working

Hi James,
why do you use LoadModule php5apache2.dll ?
Shouldn't you use php5apache2_2.dll for Apache 2.2.x ?

Mario

-----Original Message-----
From: James Crow [mailto:james [at] ultratans.com]
Sent: Wednesday, January 14, 2009 7:34 PM
To: Edward W. Rouse
Cc: php-windows [at] lists.php.net
Subject: Re: [PHP-WIN] Simply not working

Sounds like you are missing the apache httpd.conf directives for php.
Here is snippet from my httpd.conf file:

##
# PHP Section
##
#LoadModule php4_module "c:/php/php4apache2.dll"
LoadModule php5_module "c:/php/php5apache2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
PHPIniDir "C:/php"

My php is installed in c:\php. You need to make sure you follow the php
install instructions and copy the correct SAPI module to the C:\php
directory.

Cheers,
James


On Wed, 2009-01-14 at 12:19 -0500, Edward W. Rouse wrote:
> Vista Business, Apache 2.2.11-win32-x86-openssl-0.9.8i.msi,
> mysql-noinstall-5.1.30-win32.zip and php-5.2.8-win32-installer.msi.
>
>
>
> Apache works, but php pages show the code rather than execute it. I
> have attached the php.ini and http.conf. I am not running apache as a
> service, rather am running in a command window since this is just for
> evaluating php software packages and not for production.
>
>
>
> I went back thru the archives and found an entry from May 2008 that
> was relevant and tried the attached ini file with no change. The log
> files shoe no errors.
>
>
>
> Error.log
>
> [Tue Jan 13 15:44:40 2009] [notice] Apache/2.2.11 (Win32) configured
> -- resuming normal operations
>
> [Tue Jan 13 15:44:40 2009] [notice] Server built: Dec 10 2008 00:10:06
>
> [Tue Jan 13 15:44:40 2009] [notice] Parent: Created child process 3376
>
> Apache server shutdown initiated...
>
> Child 3376: Child process is running
>
> [Tue Jan 13 15:44:41 2009] [notice] Child 3376: Acquired the start
> mutex.
>
> [Tue Jan 13 15:44:41 2009] [notice] Child 3376: Starting 64 worker
> threads.
>
> [Tue Jan 13 15:44:41 2009] [notice] Child 3376: Starting thread to
> listen on port 8585.
>
>
>
> Access.log
>
> 127.0.0.1 - - [13/Jan/2009:14:47:14 -0500] "GET / HTTP/1.1" 200 44
>
> 127.0.0.1 - - [13/Jan/2009:14:59:19 -0500] "GET
> /<*****>/install/install.php HTTP/1.1" 200 14730
>
> 127.0.0.1 - - [13/Jan/2009:15:12:56 -0500] "GET
> /<*****>/install/install.php HTTP/1.1" 304 -
>
> 127.0.0.1 - - [13/Jan/2009:15:15:22 -0500] "GET /favicon.ico HTTP/1.1"
> 404 209
>
> 127.0.0.1 - - [13/Jan/2009:15:44:51 -0500] "GET
> /<*****>/install/install.php HTTP/1.1" 200 14730
>
>
>
> Shows several connections, some to the main page. The <*****> is to
> obfuscate the packages we are testing. It's a company thing.`
>
>
>
> Edward W. Rouse
>
>
> --
> PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
> http://www.php.net/unsub.php


--
PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Mario Brandt [ Do, 15 Januar 2009 09:25 ] [ ID #1985059 ]

RE: Simply not working

I am still running Apache 2.0. I have the need to use PHP 4 at times to
support legacy code (Zend Encoded so no source or way to port it
forward). If not I would be running Apache 2.2.

Cheers,
James


On Thu, 2009-01-15 at 09:25 +0100, Mario Brandt wrote:
> Hi James,
> why do you use LoadModule php5apache2.dll ?
> Shouldn't you use php5apache2_2.dll for Apache 2.2.x ?
>
> Mario
>
> -----Original Message-----
> From: James Crow [mailto:james [at] ultratans.com]
> Sent: Wednesday, January 14, 2009 7:34 PM
> To: Edward W. Rouse
> Cc: php-windows [at] lists.php.net
> Subject: Re: [PHP-WIN] Simply not working
>
> Sounds like you are missing the apache httpd.conf directives for php.
> Here is snippet from my httpd.conf file:
>
> ##
> # PHP Section
> ##
> #LoadModule php4_module "c:/php/php4apache2.dll"
> LoadModule php5_module "c:/php/php5apache2.dll"
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .php3
> PHPIniDir "C:/php"
>
> My php is installed in c:\php. You need to make sure you follow the php
> install instructions and copy the correct SAPI module to the C:\php
> directory.
>
> Cheers,
> James
>
>
> On Wed, 2009-01-14 at 12:19 -0500, Edward W. Rouse wrote:
> > Vista Business, Apache 2.2.11-win32-x86-openssl-0.9.8i.msi,
> > mysql-noinstall-5.1.30-win32.zip and php-5.2.8-win32-installer.msi.
> >
> >
> >
> > Apache works, but php pages show the code rather than execute it. I
> > have attached the php.ini and http.conf. I am not running apache as a
> > service, rather am running in a command window since this is just for
> > evaluating php software packages and not for production.
> >
> >
> >
> > I went back thru the archives and found an entry from May 2008 that
> > was relevant and tried the attached ini file with no change. The log
> > files shoe no errors.
> >
> >
> >
> > Error.log
> >
> > [Tue Jan 13 15:44:40 2009] [notice] Apache/2.2.11 (Win32) configured
> > -- resuming normal operations
> >
> > [Tue Jan 13 15:44:40 2009] [notice] Server built: Dec 10 2008 00:10:06
> >
> > [Tue Jan 13 15:44:40 2009] [notice] Parent: Created child process 3376
> >
> > Apache server shutdown initiated...
> >
> > Child 3376: Child process is running
> >
> > [Tue Jan 13 15:44:41 2009] [notice] Child 3376: Acquired the start
> > mutex.
> >
> > [Tue Jan 13 15:44:41 2009] [notice] Child 3376: Starting 64 worker
> > threads.
> >
> > [Tue Jan 13 15:44:41 2009] [notice] Child 3376: Starting thread to
> > listen on port 8585.
> >
> >
> >
> > Access.log
> >
> > 127.0.0.1 - - [13/Jan/2009:14:47:14 -0500] "GET / HTTP/1.1" 200 44
> >
> > 127.0.0.1 - - [13/Jan/2009:14:59:19 -0500] "GET
> > /<*****>/install/install.php HTTP/1.1" 200 14730
> >
> > 127.0.0.1 - - [13/Jan/2009:15:12:56 -0500] "GET
> > /<*****>/install/install.php HTTP/1.1" 304 -
> >
> > 127.0.0.1 - - [13/Jan/2009:15:15:22 -0500] "GET /favicon.ico HTTP/1.1"
> > 404 209
> >
> > 127.0.0.1 - - [13/Jan/2009:15:44:51 -0500] "GET
> > /<*****>/install/install.php HTTP/1.1" 200 14730
> >
> >
> >
> > Shows several connections, some to the main page. The <*****> is to
> > obfuscate the packages we are testing. It's a company thing.`
> >
> >
> >
> > Edward W. Rouse
> >
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
> > http://www.php.net/unsub.php
>
>
> --
> PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:
> http://www.php.net/unsub.php
>
>


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
James Crow [ Do, 15 Januar 2009 13:36 ] [ ID #1985062 ]
PHP » gmane.comp.php.windows » Simply not working

Vorheriges Thema: Executing .exe files Issues
Nächstes Thema: Anyone running Winword on Windows 2003 Server?