Failure to Install PHP 5

Web hosting discussion, programming, and shared and dedicated servers.
7 posts Page 1 of 1
by rpetruc » Mon May 21, 2012 7:35 pm
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
by rodrigo » Mon May 21, 2012 11:10 pm
From what I can tell, you actually only have the first of the two lines in place, both need to be present.
by rpetruc » Mon May 21, 2012 11:52 pm
I have uploaded a new .htaccess file with both command lines present and am still getting the same error result.
by kgc » Tue May 22, 2012 11:11 am
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.
Kelsey Cummings
System Architect, Sonic.net, Inc.
by rpetruc » Tue May 22, 2012 7:49 pm
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.
by kgc » Tue May 22, 2012 8:47 pm
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.
Kelsey Cummings
System Architect, Sonic.net, Inc.
by rpetruc » Tue May 22, 2012 8:54 pm
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.
7 posts Page 1 of 1