I need help upgrading from php 4 to php 5 on my dedicated server. The script i have required php 5 and it wont let me install the script on php 4. In my WHM when i login and go to Apache Build/Upgrade I see there are many version of php 5.x to choose from. So i picked one and ran the upgrade. When i'm done and go to my site it won't open. It makes me download the pages that i try to open. Can someone tell me how to have your server set up so it runs php 5.
When I upgraded php5 to the latest version in WHM I received an error. To resolve the error you can either use a slightly older version of php5, such as php5.1.x or create a symlink of /usr/bin/php-cgi from /usr/bin/php From a super user account (root) run the following from SSH ln -s /usr/bin/php /usr/bin/php-cgi Code (markup): After you run this restart apache. This resovled my issues with the latest version of php5 thats in WHM11. If this does not work you can try to compile another version of PHP5, or get someone to work on it who knows what they are doing.
I vote for this also. I recommend www.platinumservermanagement.com They dont do a one time fee, but somewhere o website they say, to setup an account, and if you want cancel it after one month. They charge 29$ per month for first server for unlimited work on server. Then its 19$ a month for additionnal servers.
It is very easy to upgrade to php 5 if you have cPanel in your sever. In WHM Root control panel , you can see Apache Update. There you can select the php version. I am now using php 5.2.3 , the latest one.No problem at all. Also, update your cPanel version to STABLE or CURRENT build. The current build now contains EasyApache 3. If you need help, then let me know, I can do it for you for free. PM me with the details Vivek, SunTex Hosting, www.suntexhosting.com
When you request a php page and your browser asks you where to save the file "index.php" it usually means that PHP is segfaulting and Apache isn't setting the correct mime-type, hence your browser doesn't know what to do with the file. It's likely there will be a message in one of the error logs, most likely the Apache error log (PHP is crashing so it won't have a chance to write out any error message). If you do find the error message, it will give you a clue as to what you need to do to fix it.