Page 1 of 1
Failure to Install PHP 5
Posted: Mon May 21, 2012 7:35 pm
by rpetruc
I have edited the my .htaccess file to enable PHP 5 by adding the commands noted below (as instructed by a sonic support person). However, my wordpress web page still indicates that "Your server is running PHP version 4.4.9 but WordPress 3.3.2 requires at least 5.2.4." What else do I need to do? I was told that this forum was the best place to obtain an answer.
Action php-cgi /cgi-bin/php53
AddHandler php-cgi .php
Re: Failure to Install PHP 5
Posted: Mon May 21, 2012 11:10 pm
by rodrigo
From what I can tell, you actually only have the first of the two lines in place, both need to be present.
Re: Failure to Install PHP 5
Posted: Mon May 21, 2012 11:52 pm
by rpetruc
I have uploaded a new .htaccess file with both command lines present and am still getting the same error result.
Re: Failure to Install PHP 5
Posted: Tue May 22, 2012 11:11 am
by kgc
rpetruc wrote:I have uploaded a new .htaccess file with both command lines present and am still getting the same error result.
The problem might be that you are uploading a dos formated text file and not unix. Your client should have an option to use 'text' mode upload which will convert the file automatically. You could also run 'dos2unix' on it on the shell.
Re: Failure to Install PHP 5
Posted: Tue May 22, 2012 7:49 pm
by rpetruc
I am using WinSCP as a client and used both its internal editor and Notepad++ as an external editor to save these commands in .htaccess as a text file. Still I am getting the same error and cannot seem to install PHP5.
Re: Failure to Install PHP 5
Posted: Tue May 22, 2012 8:47 pm
by kgc
rpetruc wrote:I am using WinSCP as a client and used both its internal editor and Notepad++ as an external editor to save these commands in .htaccess as a text file. Still I am getting the same error and cannot seem to install PHP5.
Take a look at
http://winscp.net/eng/docs/transfer_mode - it automatically is converting files with common extensions but isn't converting the .htaccess file.
Re: Failure to Install PHP 5
Posted: Tue May 22, 2012 8:54 pm
by rpetruc
Thanks for the advice, but I just tracked down a high level engineer I know at Citrix and he fixed the problem in about 30 seconds once he took a look at it. I'm not sure what he did, but it didn't take long.