php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #525 include_path examples for use in httpd.conf are wrong
Submitted: 1998-07-08 16:47 UTC Modified: 1998-07-08 19:17 UTC
From: hertsch at inc dot de Assigned:
Status: Closed Package: Documentation problem
PHP Version: 3.0 Final Release OS: linux
Private report: No CVE-ID: None
 [1998-07-08 16:47 UTC] hertsch at inc dot de
From Docu:

Example 4-1. UNIX include_path

include_path=.:/home/httpd/php-lib

This is wrong for the apache httpd.conf.

This gives an error like this:
Syntax error on line 250 of /usr/local/apache/etc/httpd.conf:
Invalid command 'php3_include_path=.:/usr/local/apache/share/htdocs/_global', perhaps mis-spelled or defined by a module not included in the server configuration

Problem solved with this entry in httpd.conf:
php3_include_path .:/usr/local/apache/share/htdocs/_global


Bye Michael

P.S.: keep up the good work!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-07-08 19:17 UTC] rasmus
The documentation is correct as it is.  The UNIX include_path example is for the php3.ini file and works as written.  At the top of that page you will see that it states that you have to prepend php3_ to use any of these directives in your httpd.conf file.
 [2023-01-23 08:08 UTC] john453 at mail dot com
(https://paper.li/XO9ttN7WCgTIxpjyA8XFu)github.com
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 08:01:32 2024 UTC