Reply to Re: including a PHP file displays the file's content to the user agent (PHP 5.1)

Your name:

Reply:


Posted by Daz on 10/17/06 17:35

Cyberwolf wrote:
> Hi all
>
> I'm having a strange problem when upgrading the content management
> system eZ publish from PHP 4.4 to PHP 5.1. Some cache files related to
> i18n are included with the "include" function, but they are being
> displayed to the user agent instead of being parsed by PHP. With PHP
> 4.4 there was no problem.
>
> You can download a test script from:
> http://blog.kristofcoomans.be/wp-content/uploads/test.tar
>
> Thanks for your help
>
> Cheers
>
> --
>
> Kristof

Do any other php pages parse properly? If not, then it will most likely
be a problem with your install and/or configuration. If you can parse
some php pages, it might be worth checking your PHP 5 configuration,
and then Apache's configuration if nothing jumps out at you in there.

Is there any particular reason you chose to go with PHP 5? I have heard
of lots of people having problems with it, which is why I stay away
from it. Well, until I understand it a bit better anyway...

Would it not be appropriate to just stick with PHP 4?

It might also be worth checking that the correct modules have been
added to Apache's enabled-modules folder. After which you would need to
restart Apache for the change to take effect if you haven't done so
already.

All the best.

Daz

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация