ID: 19461 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -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] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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