php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16453 include_path in httpd.conf dosn't take effect when php installed Static
Submitted: 2002-04-05 11:14 UTC Modified: 2002-09-29 20:51 UTC
From: vic at liniya dot ru Assigned:
Status: Not a bug Package: Apache related
PHP Version: 4.1.2 OS: FreeBSD 4.4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: vic at liniya dot ru
New email:
PHP Version: OS:

 

 [2002-04-05 11:14 UTC] vic at liniya dot ru
When php installed Static in Apache (1.3.23),
setting include_path in httpd.conf file dosn't take effect.

php take value of include_path only from php.ini

When php installed DSO - it's work.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-05 11:20 UTC] vic at liniya dot ru
Sorry. Version of Apache is 1.3.23rusPL30.11
 [2002-04-05 12:27 UTC] sniper@php.net
And if you compile PHP as DSO? Does it then work?
Works fine here..

 [2002-04-05 12:32 UTC] sander@php.net
Erm... Sniper... are you still awake??? :)
"When php installed DSO - it's work."
But isn't it supposed to work with a static module too?
 [2002-04-05 12:50 UTC] sniper@php.net
I was supposed to ask, what the configure line
for PHP was. 
 [2002-04-08 02:26 UTC] vic at liniya dot ru
Configure line for PHP was:
./configure --with-apache=../apache_1.3.23rusPL30.11 --with-mysql --with-sablot=/usr/local/lib --with-gd --with-jpeg-dir=/usr/local/lib --with-png-dir=/usr/local/lib --enable-inline-optimization --enable-track-vars  --with-mod_charset --enable-force-cgi-redirect --enable-trans-sid --enable-ftp --enable-yp --with-dom=/usr/local --with-xml --with-dbase --disable-static --with-zlib-dir=/usr/local
 [2002-04-08 02:43 UTC] derick@php.net
Sorry, but I dont believe it ... I have this same setup for years, and never had any problem with include_patch from httpd.conf.
Are you sure you're using the correct httpd.conf?
Can you try a normal apache (not the russian version)?

Derick
 [2002-04-08 03:24 UTC] vic at liniya dot ru
I just tryed apache 1.3.24

'./configure' '--with-apache=../apache_1.3.24' '--with-mysql' '--with-sablot=/usr/local/lib' '--with-gd' '--with-jpeg-dir=/usr/local/lib' '--with-png-dir=/usr/local/lib' '--enable-inline-optimization' '--enable-track-vars' '--with-mod_charset' '--enable-force-cgi-redirect' '--enable-trans-sid' '--enable-ftp' '--enable-yp' '--with-dom=/usr/local' '--with-xml' '--with-dbase' '--disable-static' '--with-zlib-dir=/usr/local'

Problen still exist.

In httpd.conf I have line:
Include conf/sites/www2.lini-a.ru

in file www2.lini-a.ru - line:
php_value include_path "/var/www/www2.lini-a.ru/includes1"

in php.ini line:
include_path = "/var/www/www2.lini-a.ru/includes"

trying phpinfo()

include_path
Local Value: /var/www/www2.lini-a.ru/includes
Master Value: /var/www/www2.lini-a.ru/includes
 [2002-09-29 20:51 UTC] sniper@php.net
Can not reproduce. Please check your configs and try newer apache+php.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 26 04:01:31 2024 UTC