Bug #16489 Updated: php_admin_value not allowed in virtualhost
| From: | phpbug at spambox dot dk | Date: | Mon, 08 Apr 2002 20:10:13 +0000 |
| Subject: | Bug #16489 Updated: php_admin_value not allowed in virtualhost | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-4370@lists.php.net to get a copy of this message | ||
ID: 16489
Updated by: phpbug@spambox.dk
Reported By: phpbug@spambox.dk
Status: Open
Bug Type: Apache2 related
Operating System: Freebsd 4.5-stable
PHP Version: 4.0CVS-2002-04-08
New Comment:
The virtual host is included from httpd.conf with the include
statement.
It is not directly in httpd.conf
Previous Comments:
------------------------------------------------------------------------
[2002-04-08 07:06:57] phpbug@spambox.dk
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 this bug report at http://bugs.php.net/?id=16489&edit=1