[solved] Cannot parse php5 files? Cannot launch installation

Joomla versions 2.5, 1.7 and 1.6 are all end-of-life since December 31st 2014 and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
poppei
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Sep 19, 2011 3:22 pm

[solved] Cannot parse php5 files? Cannot launch installation

Post by poppei » Mon Sep 19, 2011 3:37 pm

Hi!

I cannot launch the installation process. When I tried to launch it I got following message:
Your host needs to use PHP 5.2.4 or higher to run Joomla 1.6.
After some googling I inserted
AddType x-mapp-php5 .php
at the beginning of my htaccess.txt file which I renamed to .htaccess

Now I got following output:
mark('afterLoad') : null; // Instantiate the application. $app = JFactory::getApplication('site'); // Initialise the application. $app->initialise(); // Mark afterIntialise in the profiler. JDEBUG ? $_PROFILER->mark('afterInitialise') : null; // Route the application. $app->route(); // Mark afterRoute in the profiler. JDEBUG ? $_PROFILER->mark('afterRoute') : null; // Dispatch the application. $app->dispatch(); // Mark afterDispatch in the profiler. JDEBUG ? $_PROFILER->mark('afterDispatch') : null; // Render the application. $app->render(); // Mark afterRender in the profiler. JDEBUG ? $_PROFILER->mark('afterRender') : null; // Return the response. echo $app;
I googled a lot but could not solve the problem. Has it something to do with rights? All files of Joomla subdirectory belongs to me, the ftp-user.
I also tried to change alle files owner (inclusively subdirectories) to www-data. Still same output.

Has someone any hint for me?
I use kasserver.com and following PHP versions are installed:
4.4.9 / 4.4.9 / 5.2.12 / 5.3.6
I try to install Joomla 1.7.0. (I also tried 1.6.6 with the same problems as mentioned)
Last edited by poppei on Tue Sep 20, 2011 9:15 am, edited 1 time in total.

poppei
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Sep 19, 2011 3:22 pm

Re: Cannot parse php5 files? Cannout launch installation...

Post by poppei » Mon Sep 19, 2011 10:40 pm

STRIKE!!!!!!! :D :D :D

I solved it! Man was it simple (but provider specific as I think):

I had to add

Code: Select all

AddHandler php53-cgi .php
into .htaccess

Thanks to FAQ #1: http://all-inkl.com/wichtig/faq/#faq_software

vincesoldo
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Nov 08, 2011 7:41 am

Re: Cannot parse php5 files? Cannout launch installation...

Post by vincesoldo » Tue Nov 08, 2011 11:18 am

poppei wrote:STRIKE!!!!!!! :D :D :D

I solved it! Man was it simple (but provider specific as I think):

I had to add

Code: Select all

AddHandler php53-cgi .php
into .htaccess

Thanks to FAQ #1: http://all-inkl.com/wichtig/faq/#faq_software

Hi,
i'm not expert!
Where do you add the code?

Thanks

mbrsolution
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 151
Joined: Sat Aug 27, 2011 10:41 am
Location: Australia
Contact:

Re: [solved] Cannot parse php5 files? Cannot launch installa

Post by mbrsolution » Wed Nov 09, 2011 5:17 am

You add the code into the .htaccess file found in the root of your domain i.e

/public_html

mbrsolution
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 151
Joined: Sat Aug 27, 2011 10:41 am
Location: Australia
Contact:

Re: [solved] Cannot parse php5 files? Cannot launch installa

Post by mbrsolution » Wed Nov 09, 2011 5:19 am

To view it your best bet is to remote into your server using ftp

A good and free ftp program is filezilla client http://filezilla-project.org/

Kind regards

vincesoldo
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue Nov 08, 2011 7:41 am

Re: Cannot parse php5 files? Cannot launch installation

Post by vincesoldo » Wed Nov 09, 2011 9:12 am

Hi,

i add the code on the top of .htaccess.

But it don't work!

mbrsolution
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 151
Joined: Sat Aug 27, 2011 10:41 am
Location: Australia
Contact:

Re: [solved] Cannot parse php5 files? Cannot launch installa

Post by mbrsolution » Wed Nov 09, 2011 9:28 am

Does the link above ask you to put that code on the top of your .htaccess file?

synergis7
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Tue May 15, 2012 1:37 am
Location: Tokyo

Re: Cannot parse php5 files? Cannout launch installation...

Post by synergis7 » Tue May 15, 2012 1:44 am

poppei wrote:STRIKE!!!!!!! :D :D :D

I solved it! Man was it simple (but provider specific as I think):

I had to add

Code: Select all

AddHandler php53-cgi .php
into .htaccess

Thanks to FAQ #1: http://all-inkl.com/wichtig/faq/#faq_software
Thank you for this. Great fix for the 1and1, worked for me :) when I got the
"Your host needs to use PHP 5.2.4 or higher to run Joomla 1.7." glitch with Joomla on 1and1.

On a side note, Windows wouldn't let me change the htaccess.txt file to
.htaccess; I was able to do so from within the 1and1 Webspace Explorer
interface though.

I also added

Code: Select all

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php 
to the top of the .htaccess file.

Not sure what they do - saw them on another forum.


Locked

Return to “Installation Joomla! 2.5”