Doc #525 [Com]: include_path examples for use in httpd.conf are wrong

[email protected] ("john453 at mail dot com") Mon, 23 Jan 2023 08:08:58 +0000
Newsgroups php.doc.bugs
Message-ID <[email protected]>
Edit report at https://bugs.php.net/bug.php?id=525&edit=1

 ID:                 525
 Comment by:         john453 at mail dot com
 Reported by:        hertsch at inc dot de
 Summary:            include_path examples for use in httpd.conf are
                     wrong
 Status:             Closed
 Type:               Documentation Problem
 Package:            Documentation problem
 Operating System:   linux
 PHP Version:        3.0 Final Release
 Block user comment: N
 Private report:     N

 New Comment:

(https://paper.li/XO9ttN7WCgTIxpjyA8XFu)github.com


Previous Comments:
------------------------------------------------------------------------
[1998-07-08 19:17:07] 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.

------------------------------------------------------------------------
[1998-07-08 16:47:37] 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!

------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=525&edit=1