Jump to content

Php problem with change php vesion php 5.2.4 to php5.3.1


mrakodol

Recommended Posts

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: :shrug:

I am enable short tags support in php.ini.

Thank you.

PHP 5.3.1

php531.jpg

PHP 5.2.4

php524.jpg

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.