Interal Server Error 500 - session_start()

半腔热情 提交于 2019-12-06 08:06:21

Try adding this at the top of your script, before your include:

ini_set("display_errors", true);

This is a perfect example of exceptionally bad question.

While the only your problem is how to get an error message from PHP, you wrote a whole novel on the things nobody needs to know. It doesn't matter if you run a facebook app or anything else. It doesn't matter what version curl you have installed.

The only thing you need is PHP error message.
You have to track it down. Check error_reporting, error_log and log_errors directives in phpinfo().
Check user's home directory for the additional log files. Ask server admin for the log files. THIS have to be the only direction of your search - a PHP error message.

The phpinfo() had the answer. Under session, the save_handler parameter had to be set from:

session.save_handler = user

to:

session.save_handler = files

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!