Re: php ignores php_value from httpd.conf?
| From: | Sebastian | Date: | Wed, 05 Jan 2005 12:14:28 +0000 |
| Subject: | Re: php ignores php_value from httpd.conf? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-205662@lists.php.net to get a copy of this message | ||
hmm i never even knew you can put that in there.. i always used .htaccess or
in the php.ini
i've never seen anyone do it in the httpd.conf.
also you shouldn't quote the value.. you might also need to increase
post_max_size
----- Original Message -----
From: "Steve Kieu" <haiquy@yahoo.com>
To: <php-general@lists.php.net>
Sent: Tuesday, January 04, 2005 1:48 PM
Subject: [PHP] php ignores php_value from httpd.conf?
> Hi,
>
> I am trying to debug the problem I have; which is that php seems to
> ignore all php_value I set in httpd.conf. Example I have:
>
> <VirtualHost 10.0.44.254:800>
> DocumentRoot /var/www/webssl
> <Directory "/var/www/webssl">
> Options Indexes FollowSymLinks MultiViews
> AllowOverride All
> php_value upload_max_filesize "20M"
> Order allow,deny
> Allow from all
> </Directory>
> </VirtualHost>
>
> but when I access http://10.0.44.254:800/some_upload.php
> it still sees that the file upload size if 2M (set in global php.ini).
> If I comment out in php.ini; it doesn't have a value at all.
> Is it a bug in apache or php or I missed something when compiling them?
> apache-1.3.33 PHP 4.3.10.
>
> Kind regards,
>
> S.KIEU
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>