Sunday, January 24, 2010

Configuring PHP on Windows

If you are getting 500 errors but everything else in PHP runs normally (in IIS 7), then chances are Session is not working. You can verify this by just having a script that runs session_start().

Two things to fix:
1. session.save_path, session.use_cookes and session.start has to be set too
2. warnings: error_reporting = E_ALL & ~E_NOTICE

No comments: