Page 1 of 1

older version of php

PostPosted: 22. November 2009 14:23
by squills
Hello guys, I am having a problem with the newest ver of xampp recognizing my php code..and was wondering if it can be changed to an older php version? if soo how can i do this?
thanks
squills

Re: older version of php

PostPosted: 22. November 2009 14:39
by Nobbie
Its by far easier

either to change all <? into <?php in your scripts
or to set "short_open_tag = On" in php.ini and restart Apache

than replacing PHP by an older version.

Re: older version of php

PostPosted: 23. November 2009 04:32
by squills
Ok i changed the short_open_tags to on and restarted, Now when i try to open site it says page not found 404 error?

any idea?
thanks
squills

Re: older version of php

PostPosted: 23. November 2009 05:41
by Izzy
squills wrote:...Now when i try to open site it says page not found 404 error?.
The reason for File does not exist errors can be found by looking in the \xampp\apache\logs\error.log file.

Re: older version of php

PostPosted: 23. November 2009 19:06
by squills
Thanks found i had to change the directroot :D
squills