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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: hertsch at inc dot de
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 05:01:42 2025 UTC