Bug #16489: php_admin_value not allowed in virtualhost
| From: | phpbug at spambox dot dk | Date: | Mon, 08 Apr 2002 11:06:58 +0000 |
| Subject: | Bug #16489: php_admin_value not allowed in virtualhost | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-4332@lists.php.net to get a copy of this message | ||
From: phpbug@spambox.dk
Operating system: Freebsd 4.5-stable
PHP version: 4.0CVS-2002-04-08
PHP Bug Type: Apache2 related
Bug description: php_admin_value not allowed in virtualhost
I upgraded from Apache 1.3.24 to 2.0.35
Apache is configured with:
./configure --prefix=/usr/local/apache2 --enable-mods-shared=all
--enable-ssl --mandir=/usr/local/man
PHP is configured with:
./configure --with-mysql=/usr/local/mysql --with-gd=/usr/local
--with-t1lib --with-jpeg-dir --with-png-dir --with-tiff-dir
--with-zlib-dir --with-freetype-dir=/usr/local/include/freetype2/freetype
--with-imap --with-gettext --with-zlib --with-pdflib --enable-exif
--enable-ftp --enable-bcmath --with-mcrypt --with-dom
--with-expat-dir=/usr/local --enable-xslt --with-xslt-sablot
--enable-sablot-errors-descriptive --with-config-file-path=/usr/local/etc
--with-tsrm-pth --with-apxs2=/usr/local/apache2/bin/apxs
I have a virtual host like this in my httpd.conf:
-- cut
<virtualhost 192.168.1.3>
Servername www.domain.dk
Serveralias domain.dk
DocumentRoot /home/freakcers/www/www.domain.dk
ErrorLog /home/freakcers/logs/www.domain.dk/error.log
CustomLog /home/username/logs/www.domain.dk/access.log combined
php_admin_value open_basedir /home/username/www:/usr/local/lib/php
<Directory /home/username/www>
Options ExecCGI Includes FollowSymLinks
AllowOverride All
Order Deny,Allow
Allow from all
</Directory>
</virtualhost>
-- cut
If i run "apachectl configtest" i get this error:
Syntax error on line 10 of
/usr/local/apache2/conf/virtualhosts/domain.dk.conf:
php_admin_value not allowed here
If you need any futher details, please advice :-)
Best regards Henrik Larsson
--
Edit bug report at http://bugs.php.net/?id=16489&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16489&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16489&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16489&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16489&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16489&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16489&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16489&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16489&r=submittedtwice