Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

Issues installing PHP

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


vpb at vwebr

Jan 21, 2007, 5:32 PM

Post #1 of 9 (652 views)
Permalink
Issues installing PHP

I cannot seem to get PHP to function with Apache server. I have uninstalled
it a few times and keep getting the same issues. When I do a LoadModule, I
cannot restart Apache. When I #(rem) it out, I can, but then no PHP. Any
Ideas?

OS Windows XP Pro
1.6mhz
540 Ram
160MB HD

Vince Bravdica
President
Virtual Web Resources
<http://www.vwebr.net/> www.vwebr.net


_____

I am using the free version of SPAMfighter for private users.
It has removed 16070 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter <http://www.spamfighter.com> for free now!


bashiro at myway

Jan 21, 2007, 9:08 PM

Post #2 of 9 (621 views)
Permalink
RE: Issues installing PHP [In reply to]

Setting up php is one of the simplest task.
See http://www.ricocheting.com/server/
this site has everything on how to set up all scrips
and server.
Good luck

Bashiro

--- On Sun 01/21, Vince Bravdica < vpb[at]vwebr.net > wrote:
From: Vince Bravdica [mailto: vpb[at]vwebr.net]
To: users[at]httpd.apache.org
Date: Sun, 21 Jan 2007 18:32:43 -0700
Subject: [users[at]httpd] Issues installing PHP






I cannot seem to get
PHP to function with Apache server. I have uninstalled it a few times and keep
getting the same issues. When I do a LoadModule, I cannot restart Apache. When I
#(rem) it out, I can, but then no PHP. Any Ideas?

OS Windows XP
Pro
1.6mhz
540
Ram
160MB
HD

Vince
Bravdica
President
Virtual Web
Resources
www.vwebr.net
I am using the free version of SPAMfighter for private users.
It has removed 16070 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!




_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.com



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


bashiro at myway

Jan 21, 2007, 9:24 PM

Post #3 of 9 (631 views)
Permalink
RE: Issues installing PHP [In reply to]

I forgot to give you the direct link.
what you are missing is perhaps these lines
to add to apache config

LoadModule php5_module "P/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "/php"

But all is here;
http://www.ricocheting.com/server/php.html


Bashiro

--- On Sun 01/21, Vince Bravdica < vpb[at]vwebr.net > wrote:
From: Vince Bravdica [mailto: vpb[at]vwebr.net]
To: users[at]httpd.apache.org
Date: Sun, 21 Jan 2007 18:32:43 -0700
Subject: [users[at]httpd] Issues installing PHP






I cannot seem to get
PHP to function with Apache server. I have uninstalled it a few times and keep
getting the same issues. When I do a LoadModule, I cannot restart Apache. When I
#(rem) it out, I can, but then no PHP. Any Ideas?

OS Windows XP
Pro
1.6mhz
540
Ram
160MB
HD

Vince
Bravdica
President
Virtual Web
Resources
www.vwebr.net
I am using the free version of SPAMfighter for private users.
It has removed 16070 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!




_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.com



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


nick at webthing

Jan 22, 2007, 7:08 AM

Post #4 of 9 (624 views)
Permalink
Re: Issues installing PHP [In reply to]

On Mon, 22 Jan 2007 00:24:19 -0500 (EST)
"Bashiro"<bashiro[at]myway.com> wrote:


> LoadModule php5_module "P/php/php5apache2.dll"
> AddType application/x-httpd-php .php

Please don't propagate that myth. It's an ugly hack
that may have been required in the very early days,
but got fixed in 1996. Except for zombies that refuse
to update.

As explained in
http://www.regdeveloper.co.uk/2006/08/01/apache_undead/

--
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


sctemme at apache

Jan 22, 2007, 7:30 AM

Post #5 of 9 (625 views)
Permalink
Re: Issues installing PHP [In reply to]

On Jan 22, 2007, at 7:08 AM, Nick Kew wrote:

> On Mon, 22 Jan 2007 00:24:19 -0500 (EST)
> "Bashiro"<bashiro[at]myway.com> wrote:
>
>
>> LoadModule php5_module "P/php/php5apache2.dll"
>> AddType application/x-httpd-php .php
>
> Please don't propagate that myth. It's an ugly hack
> that may have been required in the very early days,
> but got fixed in 1996. Except for zombies that refuse
> to update.

If we really want that zombie to go away, we'll need to do some more
evangelizing. All of Ubuntu 6.06, Centos38 and Apple's Mac OS X have
the AddType hack in the configuration of their packaged PHP.
Incidentally, our own
perl-framework test suite also uses AddType in t/conf/extra.conf.in.

I think we owe it to Bashiro and Vince to divulge what the right
incantation is:

AddHandler php5-script php

...if I am not mistaken.

Finally, Vince, for us to get an idea of what your problem is, you
need to tell us what goes wrong on your server. Look in Apache's
error.log and, if that file is not generated, in the Event Viewer on
your Windows system and tell us what they say regarding your latest
attempt to start the server.

Thank you,

S.

--
sctemme[at]apache.org http://www.temme.net/sander/
PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF
Attachments: smime.p7s (2.38 KB)


vpb at vwebr

Jan 22, 2007, 4:42 PM

Post #6 of 9 (621 views)
Permalink
RE: Issues installing PHP [In reply to]

I have included the event log for you after following the instructions:

1:22:07 at 17:31:01

The Apache service named reported the following error:
>>> httpd.exe: Syntax error on line 115 of C:/Program Files/Apache Software
Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache
Software Foundation/Apache2.2/php5apache2_2.dll into server: The specified
module could not be found. .

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

1:22:07 at 17:22:06

The Apache service named Apache.exe reported the following error:
>>> Syntax error on line 242 of c:/program files/apache
group/apache/conf/httpd.conf: <<<
before the error.log file could be opened.
More information may be available in the error.log file. .

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.

1:22:07 at 5:33:18

The Apache service named reported the following error:
>>> httpd.exe: Syntax error on line 115 of C:/Program Files/Apache Software
Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/Apache
Software Foundation/Apache2.2/php5apache2_2.dll into server: The specified
module could not be found. .

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.


Vince Bravdica
President
Virtual Web Resources
www.vwebr.net

-----Original Message-----
From: Sander Temme [mailto:sctemme[at]apache.org]
Sent: Monday, January 22, 2007 8:30 AM
To: users[at]httpd.apache.org
Subject: Re: [users[at]httpd] Issues installing PHP


On Jan 22, 2007, at 7:08 AM, Nick Kew wrote:

> On Mon, 22 Jan 2007 00:24:19 -0500 (EST) "Bashiro"<bashiro[at]myway.com>
> wrote:
>
>
>> LoadModule php5_module "P/php/php5apache2.dll"
>> AddType application/x-httpd-php .php
>
> Please don't propagate that myth. It's an ugly hack that may have
> been required in the very early days, but got fixed in 1996. Except
> for zombies that refuse to update.

If we really want that zombie to go away, we'll need to do some more
evangelizing. All of Ubuntu 6.06, Centos38 and Apple's Mac OS X have
the AddType hack in the configuration of their packaged PHP.
Incidentally, our own
perl-framework test suite also uses AddType in t/conf/extra.conf.in.

I think we owe it to Bashiro and Vince to divulge what the right incantation
is:

AddHandler php5-script php

...if I am not mistaken.

Finally, Vince, for us to get an idea of what your problem is, you need to
tell us what goes wrong on your server. Look in Apache's error.log and, if
that file is not generated, in the Event Viewer on your Windows system and
tell us what they say regarding your latest attempt to start the server.

Thank you,

S.

--
sctemme[at]apache.org http://www.temme.net/sander/
PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF



--
I am using the free version of SPAMfighter for private users.
It has removed 16517 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com
Attachments: Event Log.txt (1.22 KB)


bashiro at myway

Jan 23, 2007, 1:49 AM

Post #7 of 9 (617 views)
Permalink
RE: Issues installing PHP [In reply to]

Cannot load C:/Program Files/Apache
Software Foundation/Apache2.2/php5apache2_2.dll into server: The specified
module could not be found.

I think the path you specified is wrong.
Look where you have the file "php5apache2_2.dll" and give the
correct path. This file is normally in php directory and not apache.


Bashiro

--- On Mon 01/22, Vince Bravdica < vpb[at]vwebr.net > wrote:
From: Vince Bravdica [mailto: vpb[at]vwebr.net]
To: users[at]httpd.apache.org
Cc: sctemme[at]apache.org
Date: Mon, 22 Jan 2007 17:42:35 -0700
Subject: RE: [users[at]httpd] Issues installing PHP

I have included the event log for you after following the instructions:1:22:07 at 17:31:01The Apache service named reported the following error:>>> httpd.exe: Syntax error on line 115 of C:/Program Files/Apache SoftwareFoundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/ApacheSoftware Foundation/Apache2.2/php5apache2_2.dll into server: The specifiedmodule could not be found. .For more information, see Help and Support Center athttp://go.microsoft.com/fwlink/events.asp.1:22:07 at 17:22:06The Apache service named Apache.exe reported the following error:>>> Syntax error on line 242 of c:/program files/apachegroup/apache/conf/httpd.conf: <<< before the error.log file could be opened. More information may be available in the error.log file. .For more information, see Help and Support Center athttp://go.microsoft.com/fwlink/events.asp.1:22:07 at 5:33:18The Apache service named reported the following error:>>> httpd.exe: Syntax error on line 115 of C:/Program
Files/Apache SoftwareFoundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files/ApacheSoftware Foundation/Apache2.2/php5apache2_2.dll into server: The specifiedmodule could not be found. .For more information, see Help and Support Center athttp://go.microsoft.com/fwlink/events.asp.Vince BravdicaPresidentVirtual Web Resourceswww.vwebr.net-----Original Message-----From: Sander Temme [mailto:sctemme[at]apache.org] Sent: Monday, January 22, 2007 8:30 AMTo: users[at]httpd.apache.orgSubject: Re: [users[at]httpd] Issues installing PHPOn Jan 22, 2007, at 7:08 AM, Nick Kew wrote:> On Mon, 22 Jan 2007 00:24:19 -0500 (EST) "Bashiro"<bashiro[at]myway.com> > wrote:>>>> LoadModule php5_module "P/php/php5apache2.dll">> AddType application/x-httpd-php .php>> Please don't propagate that myth. It's an ugly hack that may have > been required in the very early days, but got fixed in 1996. Except > for zombies that refuse to update.If we really want that zombie to go away, we'll need to do
some moreevangelizing. All of Ubuntu 6.06, Centos38 and Apple's Mac OS X have the AddType hack in the configuration of their packaged PHP. Incidentally, our ownperl-framework test suite also uses AddType in t/conf/extra.conf.in.I think we owe it to Bashiro and Vince to divulge what the right incantationis:AddHandler php5-script php...if I am not mistaken.Finally, Vince, for us to get an idea of what your problem is, you need totell us what goes wrong on your server. Look in Apache's error.log and, ifthat file is not generated, in the Event Viewer on your Windows system andtell us what they say regarding your latest attempt to start the server.Thank you,S.-- sctemme[at]apache.org http://www.temme.net/sander/PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40 1529 24AF-- I am using the free version of SPAMfighter for private users.It has removed 16517 spam emails to date.Paying users do not have this message in their emails.Get the free SPAMfighter here:
http://www.spamfighter.comAttachment: Event Log.txt (1.27KB)---------------------------------------------------------------------The official User-To-User support forum of the Apache HTTP Server Project.See <URL:http://httpd.apache.org/userslist.html> for more info.To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org " from the digest: users-digest-unsubscribe[at]httpd.apache.orgFor additional commands, e-mail: users-help[at]httpd.apache.org

_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.com



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


vpb at vwebr

Jan 27, 2007, 11:15 AM

Post #8 of 9 (616 views)
Permalink
RE: Issues installing PHP [In reply to]

Still working on this, just got the flu and have been really unexcited to
get this completed as it is a low priority sine we have other servers
running.

I found the location of the file and reappointed the LoadModule to it. Now
the error is:

The Apache 2.2 service terminated with service specific error 1[0x1].

For more information, see help and support center at
http://go.microsoft/fwlink/events.asp


Vince Bravdica
President
Virtual Web Resources
www.vwebr.net

-----Original Message-----
From: Bashiro [mailto:bashiro[at]myway.com]
Sent: Tuesday, January 23, 2007 2:50 AM
To: users[at]httpd.apache.org
Subject: RE: [users[at]httpd] Issues installing PHP



Cannot load C:/Program Files/Apache
Software Foundation/Apache2.2/php5apache2_2.dll into server: The specified
module could not be found.

I think the path you specified is wrong.
Look where you have the file "php5apache2_2.dll" and give the correct path.
This file is normally in php directory and not apache.


Bashiro

--- On Mon 01/22, Vince Bravdica < vpb[at]vwebr.net > wrote:
From: Vince Bravdica [mailto: vpb[at]vwebr.net]
To: users[at]httpd.apache.org
Cc: sctemme[at]apache.org
Date: Mon, 22 Jan 2007 17:42:35 -0700
Subject: RE: [users[at]httpd] Issues installing PHP

I have included the event log for you after following the
instructions:1:22:07 at 17:31:01The Apache service named reported the
following error:>>> httpd.exe: Syntax error on line 115 of C:/Program
Files/Apache SoftwareFoundation/Apache2.2/conf/httpd.conf: Cannot load
C:/Program Files/ApacheSoftware Foundation/Apache2.2/php5apache2_2.dll into
server: The specifiedmodule could not be found. .For more information,
see Help and Support Center
athttp://go.microsoft.com/fwlink/events.asp.1:22:07 at 17:22:06The Apache
service named Apache.exe reported the following error:>>> Syntax error on
line 242 of c:/program files/apachegroup/apache/conf/httpd.conf: <<< before
the error.log file could be opened. More information may be available in the
error.log file. .For more information, see Help and Support Center
athttp://go.microsoft.com/fwlink/events.asp.1:22:07 at 5:33:18The Apache
service named reported the following error:>>> httpd.exe: Syntax error on
line 115 of C:/Program
Files/Apache SoftwareFoundation/Apache2.2/conf/httpd.conf: Cannot load
C:/Program Files/ApacheSoftware Foundation/Apache2.2/php5apache2_2.dll into
server: The specifiedmodule could not be found. .For more information,
see Help and Support Center
athttp://go.microsoft.com/fwlink/events.asp.Vince BravdicaPresidentVirtual
Web Resourceswww.vwebr.net-----Original Message-----From: Sander Temme
[mailto:sctemme[at]apache.org] Sent: Monday, January 22, 2007 8:30 AMTo:
users[at]httpd.apache.orgSubject: Re: [users[at]httpd] Issues installing PHPOn Jan
22, 2007, at 7:08 AM, Nick Kew wrote:> On Mon, 22 Jan 2007 00:24:19 -0500
(EST) "Bashiro"<bashiro[at]myway.com> > wrote:>>>> LoadModule php5_module
"P/php/php5apache2.dll">> AddType application/x-httpd-php .php>>
Please don't propagate that myth. It's an ugly hack that may have > been
required in the very early days, but got fixed in 1996. Except > for
zombies that refuse to update.If we really want that zombie to go away,
we'll need to do
some moreevangelizing. All of Ubuntu 6.06, Centos38 and Apple's Mac OS X
have the AddType hack in the configuration of their packaged PHP.
Incidentally, our ownperl-framework test suite also uses AddType in
t/conf/extra.conf.in.I think we owe it to Bashiro and Vince to divulge what
the right incantationis:AddHandler php5-script php...if I am not
mistaken.Finally, Vince, for us to get an idea of what your problem is, you
need totell us what goes wrong on your server. Look in Apache's error.log
and, ifthat file is not generated, in the Event Viewer on your Windows
system andtell us what they say regarding your latest attempt to start the
server.Thank you,S.-- sctemme[at]apache.org
http://www.temme.net/sander/PGP FP: 51B4 8727 466A 0BC3 69F4 B7B8 B2BE BC40
1529 24AF-- I am using the free version of SPAMfighter for private users.It
has removed 16517 spam emails to date.Paying users do not have this message
in their emails.Get the free SPAMfighter here:
http://www.spamfighter.comAttachment: Event Log.txt
(1.27KB)--------------------------------------------------------------------
-The official User-To-User support forum of the Apache HTTP Server
Project.See <URL:http://httpd.apache.org/userslist.html> for more info.To
unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org " from the
digest: users-digest-unsubscribe[at]httpd.apache.orgFor additional commands,
e-mail: users-help[at]httpd.apache.org

_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.com



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


--
I am using the free version of SPAMfighter for private users.
It has removed 18025 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


vpb at vwebr

Jan 27, 2007, 11:43 AM

Post #9 of 9 (609 views)
Permalink
RE: Issues installing PHP [In reply to]

I spoke too soon. What I needed to do was uninstall Apache2.2 and then
reinstall it. Reboot the computer and then change the .conf file to the
location of the php5apache2_2.dll file. Worked like a charm. Thanks!


Vince Bravdica
President
Virtual Web Resources
www.vwebr.net

-----Original Message-----
From: Bashiro [mailto:bashiro[at]myway.com]
Sent: Sunday, January 21, 2007 10:24 PM
To: users[at]httpd.apache.org
Subject: RE: [users[at]httpd] Issues installing PHP


I forgot to give you the direct link.
what you are missing is perhaps these lines to add to apache config

LoadModule php5_module "P/php/php5apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "/php"

But all is here;
http://www.ricocheting.com/server/php.html


Bashiro

--- On Sun 01/21, Vince Bravdica < vpb[at]vwebr.net > wrote:
From: Vince Bravdica [mailto: vpb[at]vwebr.net]
To: users[at]httpd.apache.org
Date: Sun, 21 Jan 2007 18:32:43 -0700
Subject: [users[at]httpd] Issues installing PHP






I cannot seem to get
PHP to function with Apache server. I have uninstalled it a few times and
keep getting the same issues. When I do a LoadModule, I cannot restart
Apache. When I
#(rem) it out, I can, but then no PHP. Any Ideas?

OS Windows XP
Pro
1.6mhz
540
Ram
160MB
HD

Vince
Bravdica
President
Virtual Web
Resources
www.vwebr.net
I am using the free version of SPAMfighter for private users.
It has removed 16070 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!




_______________________________________________
No banners. No pop-ups. No kidding.
Make My Way your home on the Web - http://www.myway.com



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


--
I am using the free version of SPAMfighter for private users.
It has removed 18025 spam emails to date.
Paying users do not have this message in their emails.
Get the free SPAMfighter here: http://www.spamfighter.com



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.