sofiaweb 0 Report post Posted August 7, 2009 (edited) My whole php code begin with <?, not <?php so i upgrade from php 2.2.x to 2.3.0 apparently, now it will only work if my php code start with <?php if i start with <? it will just dump it as html. i got hundreds of php files, most are mixed with html code where php code are all over the place between html, I don't think it's a good idea to automatically do search and replace. to manually do search and replace obviously will take too much time. i think i may make mistake while i configure php. this is what i configure before compiling: --with-apxs2=/usr/local/apache/bin/apxs \ --disable-debug \ --enable-ftp \ --enable-inline-optimization \ --enable-magic-quotes \ --enable-mbstring \ --enable-safe-mode \ --enable-wddx=shared \ --with-gettext \ --with-mysql=/usr/local/mysql \ --with-regex=system \ --with-zlib-dir=/usr/lib \ --enable-sigchild \ --with-gd \ --with-freetype-dir=/usr/share/X11/fonts/TTF \ --enable-gd-native-ttf \ --enable-xml \ --enable-soap or, is it something else i need to do? thanks, to fix, set short_open_tag = On in php.ini sorry i forgot the quotations Edited August 7, 2009 by sofiaweb Quoted the text copied from http://atbhost.net/forums/showthread.php?p=70722 (see edit history) Share this post Link to post Share on other sites
yordan 10 Report post Posted August 7, 2009 Please do not post copied texts in this forum.If you really want to do it, put it between quote tags.Your topic has already been published here : http://ww1.atbhost.net/And did you notice the typo error ? In the original topic, you can see typo. PHP 5.3.0. apache 2.2.12 Share this post Link to post Share on other sites