#19461 [Fbk->Opn]: short_open_tag = Off is set, but PHP tries to parse anyway

From: Date: Wed, 18 Sep 2002 15:58:43 +0000
Subject: #19461 [Fbk->Opn]: short_open_tag = Off is set, but PHP tries to parse anyway
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19654@lists.php.net to get a copy of this message
ID: 19461 User updated by: kelson@speed.net Reported By: kelson@speed.net -Status: Feedback +Status: Open Bug Type: PHP options/info functions Operating System: Linux 2.4.19 PHP Version: 4CVS-2002-09-17 New Comment: Yes, I restarted my web server. Yes, phpinfo() shows it as being off, so I would assume it's parsing php.ini. phpinfo() also shows the correct build date. Before installing the new version, and before reinstalling the old version, I removed everything in /usr/local/include/php and /usr/local/lib/php, just to be sure that nothing was left over from the other version. I have not changed php.ini, I am using the same copy of Apache, and I used the exact same configuration for both snapshots of PHP. And yes, I restarted my webserver. The process went something like: ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs make rm -rf /usr/local/include/php rm -rf /usr/local/lib/php make install /etc/init.d/httpd restart When I restored the previous snapshot, I simply moved into the other build directory and repeated the last 4 commands. Previous Comments: ------------------------------------------------------------------------ [2002-09-18 09:56:26] sander@php.net Did you restart your webserver? Does the correct value show up on phpinfo()? If not, restart your webserver and make sure it parses your php.ini. ------------------------------------------------------------------------ [2002-09-17 19:15:18] kelson@speed.net Using today's snapshot (php4-STABLE-200209171500) with Apache 2.0.40, despite the fact that "short_open_tag = Off" is set in php.ini and shows up as Off in phpinfo(), PHP is trying to parse <? tags anyway. PHP is trying to parse, for instance, the XML declaration, which results in blank output and the following error: PHP Parse error: parse error, unexpected T_STRING in (filename) on line 1 Returning to the previous snapshot I was using (php4-STABLE-200209060900) fixed the problem. Configuration on both: --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19461&edit=1

« previous php.bugs (#19654) next »