Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have updated php to 5.3.1 now some of the scripts hosted on my vps have stopped working. This includes whmcs and fantastico. All these scripts are showing a blank page. now debugging each and every script will take a lot of time and clients are not happy about it. What do you guys suggest:

  • Downgrade
  • Debug everything
share|improve this question
1  
Have you checked your Apache logs. I'd think if they all stopped working there will most probably be a common solution between PHP/Apache that should fix them all. Do any PHP scripts work? Could it be an issue with Apache and PHP support in general? –  sbtkd85 Apr 13 '12 at 14:20
    
yes most of wordpress websites are working fine –  ehmad11 Apr 13 '12 at 19:38
add comment

3 Answers

up vote 1 down vote accepted

Quick check, look in your error logs see what the problem is. Take appropriate action based on what you find.

If the 'fix' isn't quick, downgrade or recover to a known good position.

Setup a test environment to test/debug the upgrade and make a plan for doing the same in production.

Carry out the plan from above in production.

Repeat the previous two points for all future upgrades.

share|improve this answer
    
there were so many errors some because of php handler like: .htaccess: Invalid command 'php_flag' .. probably downgrading is the best solution –  ehmad11 Apr 13 '12 at 20:47
add comment

Turn on php error logs in php.ini log_errors = on error_log = /path/to/file

If there are many different errors, it is probably the best practice to keep on 5.2.x branch.

BTW 5.3.1 is pretty old, better use 5.3.10 for security issues.

share|improve this answer
add comment

The Problem is related to Ioncube.

You would need to downgrade or run both php versions in parallel until you get updated versions of the software.

See more at the WHMCS Forums

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.