Reply to Re: Need help, PHP5 no errors show and server will not parse php code.

Your name:

Reply:


Posted by dkruger on 10/22/07 20:40

On Oct 4, 8:28 am, kjsph...@gmail.com wrote:
> I jsut installed a new PHP 5 server as I wanted to keep the php4
> version server running until I change over all the code to work with
> 5.
>
> Here is the problem and for the life of me I cannot figure it out.
>
> If I create a file and put it in the root of apache 2.2 on the php 5
> server with the command php_info() it displays the php information.
>
> Now if I copy a file from the php4 server into the php5 root and call
> the file it display the php code and not the php_info information.
>
> A step forward. I copy my entire website from the php 4 to php 5 andhttp://blahblah.index.phpand it show the php code it will not parse
> it.
>
> I create a new file and place it in a new directory on the php 5
> server and everything works fine. I am so frustrated as I do not know
> what is wrong. I really need help here.
>
> Apache 2.0.5.9
> PHP 5.2.4
> Win 20036 SP 1
>
> Anyone have any idea as to why this is not working? If I create a new
> folder and a new file it works. If I copy the project from another
> server to this one and then create a new file in that directory I
> copied over, it will not work.
>
> I am stumped.
>
> Thanks,
>
> Kev

My guess with the way it sounds would be a file ownership/permission
problem, like Jerry had mentioned. when the files are copied to the
new server, they will by default be created as the user doing the
copying being the owner, where they should be setup to have the
correct permissions for the web server user. That would be what I
would check first at least.

[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

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