New Web Server

2006-08-10 Thread Ron Clark

   Hello all,


   I am building a new web server= , and have gotten Mysql, Apache and
   PHP (php5-extensions) loaded from the p= orts. However, Apache is not
   picking up my index.php file. Is there a step = somewhere that I have
   missed? I have added

   A= ddType application/x-httpd-php .php .phtml
   AddType = application/x-httpd-php-source .phps


   to the httpd.conf f= ile, still no luck.


   Thanks in advance.

   RC = 
   ___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New Web Server

2006-08-10 Thread Javier Henderson


On Aug 10, 2006, at 12:20 PM, Ron Clark wrote:



   Hello all,


   I am building a new web server , and have gotten Mysql, Apache and
   PHP (php5-extensions) loaded from the p orts. However, Apache is  
not
   picking up my index.php file. Is there a step  somewhere that I  
have

   missed? I have added

   A ddType application/x-httpd-php .php .phtml
   AddType  application/x-httpd-php-source .phps


   to the httpd.conf f ile, still no luck.


Does it work if you append /index.php to the URL?

If so, add index.php to your DirectoryIndex stanza.

-jav



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: New Web Server

2006-08-10 Thread Clark, Ronald
Ok, I just tried that, and it wants to open index.php with a text
editor. It is acting like Apache does not know how to handle a *.php
file. 

In my httpd conf, http://www.php.net says to add LoadMudule and
AddMudule statements. Are those still needed?

RC 

-Original Message-
From: Javier Henderson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 10, 2006 11:27 AM
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org; Clark, Ronald
Subject: Re: New Web Server


On Aug 10, 2006, at 12:20 PM, Ron Clark wrote:


Hello all,


I am building a new web server , and have gotten Mysql, Apache and
PHP (php5-extensions) loaded from the p orts. However, Apache is 
 not
picking up my index.php file. Is there a step  somewhere that I 
 have
missed? I have added

A ddType application/x-httpd-php .php .phtml
AddType  application/x-httpd-php-source .phps


to the httpd.conf f ile, still no luck.

Does it work if you append /index.php to the URL?

If so, add index.php to your DirectoryIndex stanza.

-jav


 
This email is intended only for the use by the party to which it is addressed
and may contain information that is privileged, confidential, or protected by
law. If you are not the intended recipient, you are hereby notified that any
dissemination, copying or distribution of this email or its contents is strictly
prohibited. If you have received this message in error, please notify the sender
immediately by replying to the message and deleting it from your computer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: New Web Server

2006-08-10 Thread Philip Hallstrom



Ok, I just tried that, and it wants to open index.php with a text
editor. It is acting like Apache does not know how to handle a *.php
file.

In my httpd conf, http://www.php.net says to add LoadMudule and
AddMudule statements. Are those still needed?


I believe so... unless you've built it statically they are...



RC

-Original Message-
From: Javier Henderson [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 10, 2006 11:27 AM
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org; Clark, Ronald
Subject: Re: New Web Server


On Aug 10, 2006, at 12:20 PM, Ron Clark wrote:



   Hello all,


   I am building a new web server , and have gotten Mysql, Apache and
   PHP (php5-extensions) loaded from the p orts. However, Apache is
not
   picking up my index.php file. Is there a step  somewhere that I
have
   missed? I have added

   A ddType application/x-httpd-php .php .phtml
   AddType  application/x-httpd-php-source .phps


   to the httpd.conf f ile, still no luck.


Does it work if you append /index.php to the URL?

If so, add index.php to your DirectoryIndex stanza.

-jav



This email is intended only for the use by the party to which it is addressed
and may contain information that is privileged, confidential, or protected by
law. If you are not the intended recipient, you are hereby notified that any
dissemination, copying or distribution of this email or its contents is strictly
prohibited. If you have received this message in error, please notify the sender
immediately by replying to the message and deleting it from your computer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: New Web Server

2006-08-10 Thread Clark, Ronald
When I add them to the conf file and try to start the web server, it
says:
Cannot add module via name 'mod_php5.c': not in list of loaded modules

Does this help out at all?

RC


-Original Message-
From: Philip Hallstrom [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 10, 2006 11:37 AM
To: Clark, Ronald
Cc: Javier Henderson; [EMAIL PROTECTED];
freebsd-questions@freebsd.org
Subject: RE: New Web Server


 Ok, I just tried that, and it wants to open index.php with a text 
 editor. It is acting like Apache does not know how to handle a *.php 
 file.

 In my httpd conf, http://www.php.net says to add LoadMudule and 
 AddMudule statements. Are those still needed?

I believe so... unless you've built it statically they are...


 RC

 -Original Message-
 From: Javier Henderson [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 10, 2006 11:27 AM
 To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org; Clark, Ronald
 Subject: Re: New Web Server


 On Aug 10, 2006, at 12:20 PM, Ron Clark wrote:


Hello all,


I am building a new web server , and have gotten Mysql, Apache and
PHP (php5-extensions) loaded from the p orts. However, Apache is 
 not
picking up my index.php file. Is there a step  somewhere that I 
 have
missed? I have added

A ddType application/x-httpd-php .php .phtml
AddType  application/x-httpd-php-source .phps


to the httpd.conf f ile, still no luck.

 Does it work if you append /index.php to the URL?

 If so, add index.php to your DirectoryIndex stanza.

 -jav

 __
 __

 This email is intended only for the use by the party to which it is 
 addressed and may contain information that is privileged, 
 confidential, or protected by law. If you are not the intended 
 recipient, you are hereby notified that any dissemination, copying or 
 distribution of this email or its contents is strictly prohibited. If 
 you have received this message in error, please notify the sender
immediately by replying to the message and deleting it from your
computer.
 ___
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


 
This email is intended only for the use by the party to which it is addressed
and may contain information that is privileged, confidential, or protected by
law. If you are not the intended recipient, you are hereby notified that any
dissemination, copying or distribution of this email or its contents is strictly
prohibited. If you have received this message in error, please notify the sender
immediately by replying to the message and deleting it from your computer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New Web Server

2006-08-10 Thread Javier Henderson
The text you cut-n-pasted has AblankddType, is that how it appears  
on the httpd.conf file?


Did you restart Apache after changing httpd.conf? (apparently you  
have, since it picked up the index.php change).


You may need to add a LoadModule as well.

-jav

On Aug 10, 2006, at 12:26 PM, Clark, Ronald wrote:


Ok, I just tried that, and it wants to open index.php with a text
editor. It is acting like Apache does not know how to handle a *.php
file.

In my httpd conf, http://www.php.net says to add LoadMudule and
AddMudule statements. Are those still needed?

RC

-Original Message-
From: Javier Henderson [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 10, 2006 11:27 AM
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org; Clark, Ronald
Subject: Re: New Web Server


On Aug 10, 2006, at 12:20 PM, Ron Clark wrote:



   Hello all,


   I am building a new web server , and have gotten Mysql, Apache and
   PHP (php5-extensions) loaded from the p orts. However, Apache is
not
   picking up my index.php file. Is there a step  somewhere that I
have
   missed? I have added

   A ddType application/x-httpd-php .php .phtml
   AddType  application/x-httpd-php-source .phps


   to the httpd.conf f ile, still no luck.


Does it work if you append /index.php to the URL?

If so, add index.php to your DirectoryIndex stanza.

-jav

__ 
__


This email is intended only for the use by the party to which it is  
addressed
and may contain information that is privileged, confidential, or  
protected by
law. If you are not the intended recipient, you are hereby notified  
that any
dissemination, copying or distribution of this email or its  
contents is strictly
prohibited. If you have received this message in error, please  
notify the sender
immediately by replying to the message and deleting it from your  
computer.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: New Web Server

2006-08-10 Thread Clark, Ronald
 AblankddType = typo on my part. Sorry. In the conf file it is
AddModule mod_php5.c. I have added the LoadModule as well and get a
similar error message. So I try to look for the files themselves like
this: #find / -name mod_php5.c

It finds nothing. Same results with looking for libphp5.so. Is there an
issue with the install or did I miss a step? Is there a recipe for
setting up a server, something like FreeBSD-Apache-Mysql-PHP for
dummies?

RC


-Original Message-
From: Javier Henderson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 10, 2006 11:38 AM
To: Clark, Ronald
Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: Re: New Web Server

The text you cut-n-pasted has AblankddType, is that how it appears on
the httpd.conf file?

Did you restart Apache after changing httpd.conf? (apparently you have,
since it picked up the index.php change).

You may need to add a LoadModule as well.

-jav

On Aug 10, 2006, at 12:26 PM, Clark, Ronald wrote:

 Ok, I just tried that, and it wants to open index.php with a text 
 editor. It is acting like Apache does not know how to handle a *.php 
 file.

 In my httpd conf, http://www.php.net says to add LoadMudule and 
 AddMudule statements. Are those still needed?

 RC

 -Original Message-
 From: Javier Henderson [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 10, 2006 11:27 AM
 To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org; Clark, Ronald
 Subject: Re: New Web Server


 On Aug 10, 2006, at 12:20 PM, Ron Clark wrote:


Hello all,


I am building a new web server , and have gotten Mysql, Apache and
PHP (php5-extensions) loaded from the p orts. However, Apache is 
 not
picking up my index.php file. Is there a step  somewhere that I 
 have
missed? I have added

A ddType application/x-httpd-php .php .phtml
AddType  application/x-httpd-php-source .phps


to the httpd.conf f ile, still no luck.

 Does it work if you append /index.php to the URL?

 If so, add index.php to your DirectoryIndex stanza.

 -jav

 __
 __

 This email is intended only for the use by the party to which it is 
 addressed and may contain information that is privileged, 
 confidential, or protected by law. If you are not the intended 
 recipient, you are hereby notified that any dissemination, copying or 
 distribution of this email or its contents is strictly prohibited. If 
 you have received this message in error, please notify the sender 
 immediately by replying to the message and deleting it from your 
 computer.

 
This email is intended only for the use by the party to which it is addressed
and may contain information that is privileged, confidential, or protected by
law. If you are not the intended recipient, you are hereby notified that any
dissemination, copying or distribution of this email or its contents is strictly
prohibited. If you have received this message in error, please notify the sender
immediately by replying to the message and deleting it from your computer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: New Web Server

2006-08-10 Thread Philip Hallstrom

When I add them to the conf file and try to start the web server, it
says:
Cannot add module via name 'mod_php5.c': not in list of loaded modules

Does this help out at all?


I have this in my httpd.conf in this order...

LoadModule php5_modulelibexec/apache/libphp5.so
AddModule mod_php5.c
AddType application/x-httpd-php .php .php3 .php4
AddType application/x-httpd-php-source .phps

The php module went into /usr/local/libexec/apache/libphp5.so

All from ports...

apache+mod_ssl-1.3.34+2.8.25_3 The Apache 1.3 webserver with SSL/TLS 
functionality
php5-5.1.4  PHP Scripting Language (Apache Module and CLI)





RC


-Original Message-
From: Philip Hallstrom [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 10, 2006 11:37 AM
To: Clark, Ronald
Cc: Javier Henderson; [EMAIL PROTECTED];
freebsd-questions@freebsd.org
Subject: RE: New Web Server



Ok, I just tried that, and it wants to open index.php with a text
editor. It is acting like Apache does not know how to handle a *.php
file.

In my httpd conf, http://www.php.net says to add LoadMudule and
AddMudule statements. Are those still needed?


I believe so... unless you've built it statically they are...



RC

-Original Message-
From: Javier Henderson [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 10, 2006 11:27 AM
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org; Clark, Ronald
Subject: Re: New Web Server


On Aug 10, 2006, at 12:20 PM, Ron Clark wrote:



   Hello all,


   I am building a new web server , and have gotten Mysql, Apache and
   PHP (php5-extensions) loaded from the p orts. However, Apache is
not
   picking up my index.php file. Is there a step  somewhere that I
have
   missed? I have added

   A ddType application/x-httpd-php .php .phtml
   AddType  application/x-httpd-php-source .phps


   to the httpd.conf f ile, still no luck.


Does it work if you append /index.php to the URL?

If so, add index.php to your DirectoryIndex stanza.

-jav

__
__

This email is intended only for the use by the party to which it is
addressed and may contain information that is privileged,
confidential, or protected by law. If you are not the intended
recipient, you are hereby notified that any dissemination, copying or
distribution of this email or its contents is strictly prohibited. If
you have received this message in error, please notify the sender

immediately by replying to the message and deleting it from your
computer.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to

[EMAIL PROTECTED]





This email is intended only for the use by the party to which it is addressed
and may contain information that is privileged, confidential, or protected by
law. If you are not the intended recipient, you are hereby notified that any
dissemination, copying or distribution of this email or its contents is strictly
prohibited. If you have received this message in error, please notify the sender
immediately by replying to the message and deleting it from your computer.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New Web Server

2006-08-10 Thread Kevin Monceaux
RC,

On Thu, Aug 10, 2006 at 11:40:52AM -0500, Clark, Ronald wrote:
 
 It finds nothing. Same results with looking for libphp5.so. Is there an
 issue with the install or did I miss a step? Is there a recipe for
 setting up a server, something like FreeBSD-Apache-Mysql-PHP for
 dummies?

In your first e-mail you mentioned you installed the php5-extensions port.
libphp5.so comes from the mod_php5 port.  That's the port you need to
install to use mod_php with Apache.  You can find information on Apache and
the various modules available for it in Chapter 25 of the FreeBSD Handbook:

http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/network-apache.html



Kevin
http://www.RawFedDogs.net
http://www.WacoAgilityGroup.org
Bruceville, TX

Si hoc legere scis nimium eruditionis habes.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New Web Server

2006-08-10 Thread Jeff Cross
Ron Clark wrote:
Hello all,
 
 
I am building a new web server= and have gotten Mysql, Apache and
PHP (php5-extensions) loaded from the p=rts. However, Apache is not
picking up my index.php file. Is there a step =omewhere that I have
missed? I have added
 
A=dType application/x-httpd-php .php .phtml
AddType =pplication/x-httpd-php-source .phps
 
 
to the httpd.conf f=le, still no luck.
 
 
Thanks in advance.
 
RC =0D
___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 
I wrote a tutorial for this a while back and looked through it again
when I saw your post.  It is located here:
 http://www.averageadmins.com/2006/04/10/famp-freebsd-apache-mysql-and-php

The only other thing I saw in my tutorial that you didn't mention here
is to add index.php to the DirectoryIndex directive within your
httpd.conf file.

Try that, if you haven't already, and let us know how it goes.

Thanks,

Jeff Cross
http://www.averageadmins.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New Web Server

2006-08-10 Thread Jeff Cross
Clark, Ronald wrote:
  AblankddType = typo on my part. Sorry. In the conf file it is
 AddModule mod_php5.c. I have added the LoadModule as well and get a
 similar error message. So I try to look for the files themselves like
 this: #find / -name mod_php5.c
 
 It finds nothing. Same results with looking for libphp5.so. Is there an
 issue with the install or did I miss a step? Is there a recipe for
 setting up a server, something like FreeBSD-Apache-Mysql-PHP for
 dummies?
 
 RC
 
 
 -Original Message-
 From: Javier Henderson [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, August 10, 2006 11:38 AM
 To: Clark, Ronald
 Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
 Subject: Re: New Web Server
 
 The text you cut-n-pasted has AblankddType, is that how it appears on
 the httpd.conf file?
 
 Did you restart Apache after changing httpd.conf? (apparently you have,
 since it picked up the index.php change).
 
 You may need to add a LoadModule as well.
 
 -jav
 
 On Aug 10, 2006, at 12:26 PM, Clark, Ronald wrote:
 
 Ok, I just tried that, and it wants to open index.php with a text 
 editor. It is acting like Apache does not know how to handle a *.php 
 file.

 In my httpd conf, http://www.php.net says to add LoadMudule and 
 AddMudule statements. Are those still needed?

 RC

 -Original Message-
 From: Javier Henderson [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 10, 2006 11:27 AM
 To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org; Clark, Ronald
 Subject: Re: New Web Server


 On Aug 10, 2006, at 12:20 PM, Ron Clark wrote:

Hello all,


I am building a new web server , and have gotten Mysql, Apache and
PHP (php5-extensions) loaded from the p orts. However, Apache is 
 not
picking up my index.php file. Is there a step  somewhere that I 
 have
missed? I have added

A ddType application/x-httpd-php .php .phtml
AddType  application/x-httpd-php-source .phps


to the httpd.conf f ile, still no luck.
 Does it work if you append /index.php to the URL?

 If so, add index.php to your DirectoryIndex stanza.

 -jav

 __
 __

 This email is intended only for the use by the party to which it is 
 addressed and may contain information that is privileged, 
 confidential, or protected by law. If you are not the intended 
 recipient, you are hereby notified that any dissemination, copying or 
 distribution of this email or its contents is strictly prohibited. If 
 you have received this message in error, please notify the sender 
 immediately by replying to the message and deleting it from your 
 computer.
 
  
 This email is intended only for the use by the party to which it is addressed
 and may contain information that is privileged, confidential, or protected by
 law. If you are not the intended recipient, you are hereby notified that any
 dissemination, copying or distribution of this email or its contents is 
 strictly
 prohibited. If you have received this message in error, please notify the 
 sender
 immediately by replying to the message and deleting it from your computer.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 
 
In your original post you say you installed PHP (php5-extensions).  Did
you actually install PHP5 or just the extensions?

PHP5 is at /usr/ports/lang/php5 and the extensions are at
/usr/ports/lang/php5-extensions.  I'm not sure if compiling the later
will install the actual PHP5 port or not...

In my tutorial
(http://www.averageadmins.com/2006/04/10/famp-freebsd-apache-mysql-and-php)
I installed PHP5 then the extensions and it worked fine.

Jeff Cross
http://www.averageadmins.com/

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: New Web Server

2006-08-10 Thread eoghan

On 10 Aug 2006, at 18:33, Jeff Cross wrote:

In your original post you say you installed PHP (php5-extensions).   
Did

you actually install PHP5 or just the extensions?

PHP5 is at /usr/ports/lang/php5 and the extensions are at
/usr/ports/lang/php5-extensions.  I'm not sure if compiling the later
will install the actual PHP5 port or not...

In my tutorial
(http://www.averageadmins.com/2006/04/10/famp-freebsd-apache-mysql- 
and-php)

I installed PHP5 then the extensions and it worked fine.


Yes I found that I had to install /usr/ports/lang/php5 and then the  
php5-extensions port.

Then it worked for me.
Eoghan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: New Web Server

2006-08-10 Thread Clark, Ronald
All, 

I have started over. I am back to this level:
FreeBSD 5.5-STABLE FreeBSD 5.5-STABLE #0: Tue Aug  1 17:59:18 CDT 2006

With MySQL server 4.1 installed and working. Now to build
Apache13-modssl and hopefully add PHP to it. However, I cannot find
mod_php5 in ports. Is this port deprecated and is now gone? If this is
the case, how should I build this out? 

I have read all of your responses up to this point, and thank you all
for responding. The responses are for the most part what I remember from
building my last web server some months ago, but now it seems my old
methods may be obsolete or need refining. 

Please continue to help out, as it is really appreciated. 
RC




From: Ron Clark [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 10, 2006 11:21 AM
To: freebsd-questions@freebsd.org
Cc: Clark, Ronald
Subject: New Web Server




Hello all, 

 

I am building a new web server, and have gotten Mysql, Apache and PHP
(php5-extensions) loaded from the ports. However, Apache is not picking
up my index.php file. Is there a step somewhere that I have missed? I
have added 

AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps

 

to the httpd.conf file, still no luck. 

 

Thanks in advance.

RC 


 
This email is intended only for the use by the party to which it is addressed
and may contain information that is privileged, confidential, or protected by
law. If you are not the intended recipient, you are hereby notified that any
dissemination, copying or distribution of this email or its contents is strictly
prohibited. If you have received this message in error, please notify the sender
immediately by replying to the message and deleting it from your computer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: New Web Server

2006-08-10 Thread Philip Hallstrom

I have started over. I am back to this level:
FreeBSD 5.5-STABLE FreeBSD 5.5-STABLE #0: Tue Aug  1 17:59:18 CDT 2006

With MySQL server 4.1 installed and working. Now to build
Apache13-modssl and hopefully add PHP to it. However, I cannot find
mod_php5 in ports. Is this port deprecated and is now gone? If this is
the case, how should I build this out?

I have read all of your responses up to this point, and thank you all
for responding. The responses are for the most part what I remember from
building my last web server some months ago, but now it seems my old
methods may be obsolete or need refining.

Please continue to help out, as it is really appreciated.


Try /usr/ports/lang/php5

Then pick the apache module... that should pick up apache as well...

-philip



RC




From: Ron Clark [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 10, 2006 11:21 AM
To: freebsd-questions@freebsd.org
Cc: Clark, Ronald
Subject: New Web Server




Hello all,



I am building a new web server, and have gotten Mysql, Apache and PHP
(php5-extensions) loaded from the ports. However, Apache is not picking
up my index.php file. Is there a step somewhere that I have missed? I
have added

   AddType application/x-httpd-php .php .phtml
   AddType application/x-httpd-php-source .phps



to the httpd.conf file, still no luck.



Thanks in advance.

RC



This email is intended only for the use by the party to which it is addressed
and may contain information that is privileged, confidential, or protected by
law. If you are not the intended recipient, you are hereby notified that any
dissemination, copying or distribution of this email or its contents is strictly
prohibited. If you have received this message in error, please notify the sender
immediately by replying to the message and deleting it from your computer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: New Web Server

2006-08-10 Thread Clark, Ronald
Philip, 

You are the man! Big Thank you. It is working now and I am on my way to
working out my presentation for either tomorrow or early next week. 

Ron
 

-Original Message-
From: Philip Hallstrom [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 10, 2006 3:39 PM
To: Clark, Ronald
Cc: [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Subject: RE: New Web Server

 I have started over. I am back to this level:
 FreeBSD 5.5-STABLE FreeBSD 5.5-STABLE #0: Tue Aug  1 17:59:18 CDT 2006

 With MySQL server 4.1 installed and working. Now to build 
 Apache13-modssl and hopefully add PHP to it. However, I cannot find
 mod_php5 in ports. Is this port deprecated and is now gone? If this is

 the case, how should I build this out?

 I have read all of your responses up to this point, and thank you all 
 for responding. The responses are for the most part what I remember 
 from building my last web server some months ago, but now it seems my 
 old methods may be obsolete or need refining.

 Please continue to help out, as it is really appreciated.

Try /usr/ports/lang/php5

Then pick the apache module... that should pick up apache as well...

-philip


 RC


 

 From: Ron Clark [mailto:[EMAIL PROTECTED]
 Sent: Thursday, August 10, 2006 11:21 AM
 To: freebsd-questions@freebsd.org
 Cc: Clark, Ronald
 Subject: New Web Server




 Hello all,



 I am building a new web server, and have gotten Mysql, Apache and PHP
 (php5-extensions) loaded from the ports. However, Apache is not 
 picking up my index.php file. Is there a step somewhere that I have 
 missed? I have added

AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps



 to the httpd.conf file, still no luck.



 Thanks in advance.

 RC

 __
 __

 This email is intended only for the use by the party to which it is 
 addressed and may contain information that is privileged, 
 confidential, or protected by law. If you are not the intended 
 recipient, you are hereby notified that any dissemination, copying or 
 distribution of this email or its contents is strictly prohibited. If 
 you have received this message in error, please notify the sender
immediately by replying to the message and deleting it from your
computer.
 ___
 freebsd-questions@freebsd.org mailing list 
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


 
This email is intended only for the use by the party to which it is addressed
and may contain information that is privileged, confidential, or protected by
law. If you are not the intended recipient, you are hereby notified that any
dissemination, copying or distribution of this email or its contents is strictly
prohibited. If you have received this message in error, please notify the sender
immediately by replying to the message and deleting it from your computer.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]