"php_admin_flag" not Working?
| From: | Kim, Sung-Sik | Date: | Sun, 22 Aug 1999 13:37:22 +0000 |
| Subject: | "php_admin_flag" not Working? | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-3635@lists.php.net to get a copy of this message | ||
I'm using apache 1.3.9 + php4b2(static compile) + redhat 6.0.
"php_admin_flag" not Working?
1)
less /usr/local/lib/php.ini
...........................
short_open_tag = on
asp_tags = off
...........................
2)
less /usr/local/apache/conf/httpd.conf
....
<Directory "/home/php/public_html">
php_admin_flag short_open_tag off
php_admin_flag asp_tags on
</Directory>
....
3) apache stop, apache start
4) phpinfo() in webrowser
....
Directive | Local Value | Master Value
--------------------------------------------
short_open_tag | off(!) | on
--------------------------------------------
asp_tags | on(!) | off
--------------------------------------------
....
5) asp_tags TEST
less /home/php/public_html/asp.php ==> <% echo "hello" %>
lynx localhost/~php/asp.php ---> just source revealed (not working)
6)short_open_tag TEST
less /home/php/public_html/short.php ==> <? echo "hello" ?>
lynx localhost/~php/short.php ==> hello <-?? short_open_tag = OFF
--------------------------------------------
My misunderstanding about "php_admin_flag"?