开发者

PHP getting blank pages after submit a form + signal Segmentation fault (11)

I few days ago I update my macbook pro to snow leopard, and since then some php files are not showing.

This is what happens:

I created a php form, when going to 'http://localhost/webform.php' I can see the form just fine. Then, once I submit the form, I just get a blank page.

I enable error a开发者_高级运维nd warnings reporting under php.ini to make sure I'm not missing something, but still I'm not getting anything, just the blank page.

Then I checked under apache log files, and what I notice is that every time I submit the form I see the following line coming up under the apache logs:

[Wed Apr 07 21:40:28 2010] [notice] child pid 70223 exit signal Segmentation fault (11)


Because you tagged this question with mysql, I'm going to go out on a limb and say that you've run into this issue.

I'd suggest commenting out your call to mysql_close() and/or mysql_connect() and verify that it is indeed one of those lines that is producing the segfault. The suggested work-around is to always pass the optional database handle to those calls. However, there are other workaround suggested in that link, so I would try to narrow the problem down and see if any of the suggestions there fix it.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜