Bug 94969

Summary: [patch] correct information about install php or mod_php and handbook
Product: Documentation Reporter: citygrit <citygrit>
Component: Books & ArticlesAssignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description citygrit 2006-03-26 16:30:14 UTC
install /usr/ports/lang/php4 or /usr/ports/www/mod_php4 complete,the standard output only have this.

"Make sure index.php is part of your DirectoryIndex.



You should add the following to your Apache configuration file:



AddType application/x-httpd-php .php

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


but at the same time need copy /usr/local/etc/php.ini-dist or php.ini-recommended to php.ini,do this talents will be complete install and run it.

How-To-Repeat: install
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-03-26 21:50:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2006-03-26 21:55:52 UTC
State Changed
From-To: open->feedback

This is actually a docs PR, but ale should probably comment on its 
correctness one way or the other.
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2007-05-12 15:21:30 UTC
State Changed
From-To: feedback->closed

PHP will run perfectly fine with no php.ini, using the defaults.