Re: php ignores php_value from httpd.conf?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
To: <php-general@xxxxxxxxxxxxx>
Sent: Tuesday, January 04, 2005 1:48 PM
Subject:  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
>
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux