New Web Server

Jeff Cross jeff.cross at averageadmins.com
Thu Aug 10 17:20:34 UTC 2006


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
> 
> 
> 
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/


More information about the freebsd-questions mailing list