You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Gman <li...@lvcm.com> on 2002/12/08 01:05:00 UTC

[users@httpd] Help getting PHP to work with Apache

I have reinstalled Apache 2.0.43 and it is functional, I am trying to add
PHP and when I had to correct lines to Apache it will not start 'til after I
remove the lines I added. Does anybody have any ideas what I could be
missing. I have read about 10 different documents but they all say the same
thing and Apache never runs.

"Gman": The Local Trouble Maker
Owner: The Edge Internet Radio


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Help getting PHP to work with Apache

Posted by Gman <li...@lvcm.com>.
UserDir "My Documents/My Website"
#
# You must correct the path for the root to match your system's configured
# user directory location, e.g. "C:/WinNT/profiles/*/My Documents/My
Website"
# or whichever, as appropriate.
#

this would mean that UserDir should be:
UserDir "C:/My Documents/My Website"

Can you expand this a little i am confused? Does it mean that i should point
it to where my Profile or the Admin profile is? or does it really matter.

And where does this entry need to go.
<IfModule php4_module>
     Include conf/php.conf
</IfModule>


"Gman": The Local Trouble Maker
Owner: The Edge Internet Radio


-----Original Message-----
From: J. Greenlees [mailto:jaqui@shaw.ca]
Sent: Saturday, December 07, 2002 5:30 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Help getting PHP to work with Apache


okay first thing that jumped out at me:

ServerName www.theedge2k.com:80

the :80 isn't really needed, port 80 is default so no need to specify
it. ~g~

UserDir "My Documents/My Website"
#
# You must correct the path for the root to match your system's configured
# user directory location, e.g. "C:/WinNT/profiles/*/My Documents/My
Website"
# or whichever, as appropriate.
#

this would mean that UserDir should be:
UserDir "C:/My Documents/My Website"

#LoadModule php4_module c:/PHP/apache2filter.dll

uncomment this loadmodule

<IfModule php4_module>
     Include conf/php.conf
</IfModule>

and test with this ifmodule directive.
(don't forget to restart after altering the conf.)


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Help getting PHP to work with Apache

Posted by "J. Greenlees" <ja...@shaw.ca>.
okay first thing that jumped out at me:

ServerName www.theedge2k.com:80

the :80 isn't really needed, port 80 is default so no need to specify 
it. ~g~

UserDir "My Documents/My Website"
#
# You must correct the path for the root to match your system's configured
# user directory location, e.g. "C:/WinNT/profiles/*/My Documents/My 
Website"
# or whichever, as appropriate.
#

this would mean that UserDir should be:
UserDir "C:/My Documents/My Website"

#LoadModule php4_module c:/PHP/apache2filter.dll

uncomment this loadmodule

<IfModule php4_module>
     Include conf/php.conf
</IfModule>

and test with this ifmodule directive.
(don't forget to restart after altering the conf.)


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] Help getting PHP to work with Apache

Posted by Gman <li...@lvcm.com>.
Ok here it goes. I have attached my http.conf with this message

"Gman": The Local Trouble Maker<br>
Owner: The Edge Internet Radio<br>


-----Original Message-----
From: J. Greenlees [mailto:jaqui@shaw.ca]
Sent: Saturday, December 07, 2002 4:15 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Help getting PHP to work with Apache




Gman wrote:
> I have reinstalled Apache 2.0.43 and it is functional, I am trying to add
> PHP and when I had to correct lines to Apache it will not start 'til after
I
> remove the lines I added. Does anybody have any ideas what I could be
> missing. I have read about 10 different documents but they all say the
same
> thing and Apache never runs.
>
can you put the conf up for us to see what it looks like?
it helps for all to be able to see it.




---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

Re: [users@httpd] Help getting PHP to work with Apache

Posted by "J. Greenlees" <ja...@shaw.ca>.

Gman wrote:
> I have reinstalled Apache 2.0.43 and it is functional, I am trying to add
> PHP and when I had to correct lines to Apache it will not start 'til after I
> remove the lines I added. Does anybody have any ideas what I could be
> missing. I have read about 10 different documents but they all say the same
> thing and Apache never runs.
> 
can you put the conf up for us to see what it looks like?
it helps for all to be able to see it.




---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org