mrakodol Posted December 25, 2010 Share Posted December 25, 2010 Hello everyone. I have a problem with the local server (localhost connection). Until yesterday I used an old version of XAMPP's (version 1.6.4 with PHP 5.2.4) and last night I finally found the time to install XAMPP 1.7.3 with PHP 5.3.1. But some things that I worked under the old XAMPP-om, which are working perfectly now no longer work, and I do not know why. Please find enclosed pics that were under php4 and that now works. So I wonder where is the error and where possible errors. Also under my new PHP-om non-stop is done refresh the page and print portions of the code (as you can see from the picture). :shrug: I am enable short tags support in php.ini. Thank you. PHP 5.3.1 PHP 5.2.4 Quote Link to comment https://forums.phpfreaks.com/topic/222626-php-problem-with-change-php-vesion-php-524-to-php531/ Share on other sites More sharing options...
PFMaBiSmAd Posted December 25, 2010 Share Posted December 25, 2010 Your forgot to show us the php code that produced that page, but when php code is output to the browser it means that the php code was not seen as being php code. Either - 1) Your php installation is not working, 2) You used short open tags in your code <? instead of full open tags <?php , 3) You are not using .php as your file extension. Have you actually checked that any php code works at all Try the following - <?php phpinfo(); ?> I am enable short tags support in php.ini ^^^ Yes, but did you check that they actually were enabled using a phpinfo(); statement? Quote Link to comment https://forums.phpfreaks.com/topic/222626-php-problem-with-change-php-vesion-php-524-to-php531/#findComment-1151337 Share on other sites More sharing options...
mrakodol Posted December 25, 2010 Author Share Posted December 25, 2010 Here is result of my phpinfo <?php phpinfo(); ?> There is no result when I type: <? phpinfo(); ?> And I replace all <? with <?php and web browser continuous refreshing page. I now written some code in Zend Framework and that code work perfectly. [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/222626-php-problem-with-change-php-vesion-php-524-to-php531/#findComment-1151340 Share on other sites More sharing options...
PFMaBiSmAd Posted December 25, 2010 Share Posted December 25, 2010 web browser continuous refreshing page. ^^^ We would need to see the code responsible for that symptom, so that the problem can be reproduced, but the most likely cause is code that is out of date and still relies on register_globals being on. Quote Link to comment https://forums.phpfreaks.com/topic/222626-php-problem-with-change-php-vesion-php-524-to-php531/#findComment-1151341 Share on other sites More sharing options...
mrakodol Posted December 25, 2010 Author Share Posted December 25, 2010 Tnx. My fault. I found in only one file <? and when I replace that with <?php code begin work! Thank you very much! When I preparing code for sent to you I wouldn't found such a mistake. Thank you very much [/code] Quote Link to comment https://forums.phpfreaks.com/topic/222626-php-problem-with-change-php-vesion-php-524-to-php531/#findComment-1151345 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.