简体   繁体   English

突然使用xampp“我的http Apache服务器停止工作”

[英]suddenly “my http Apache server stopped working” using xampp

every thing was fine suddenly my server stopped working there is nothing in error logs phpmyadmin is working fine the problem occurs when i am my project first home.php page loaded but when i am sign in entering email id and password server stopped working . 一切正常,我的服务器突然停止工作,错误日志中没有任何内容phpmyadmin运行正常,当我是我的项目的第一个home.php页面加载时,但是当我登录输入电子邮件ID和密码服务器时,停止工作了。 (i have not changed any thing in php.ini) (earlier it was working fine) (我没有更改php.ini中的任何内容)(之前工作正常)

pl thanks 请谢谢

I ran into a similar problem. 我遇到了类似的问题。

I narrowed it down to pages that interfaced with the database seemed to result in this message from Apache. 我将其范围缩小到与数据库连接的页面,这些页面似乎导致了Apache发出此消息。

In my case, Oracle had been upgraded to 11g and caused the OCI connections to fail. 就我而言,Oracle已升级到11g,并导致OCI连接失败。 No PHP or Apache errors were returned which made it rather difficult to come to this conclusion... 没有返回PHP或Apache错误,这使得很难得出这个结论...

Changing the following in the php.ini (and an apache restart) solved the issue. 在php.ini中更改以下内容(并重新启动apache)解决了该问题。

;extension=php_oci8.dll      ; Use with Oracle 10gR2 Instant Client
extension=php_oci8_11g.dll  ; Use with Oracle 11gR2 Instant Client

So, if I understand correctly, the server stops working after you log in? 因此,如果我理解正确,那么登录后服务器会停止工作吗? But phpmyadmin is still working? 但是phpmyadmin仍在工作吗? Something's not right there. 那里不对劲。

If phpmyadmin is still running after your problem, then the problem is most likely related to your apache config file. 如果问题出炉后phpmyadmin仍在运行,则问题很可能与您的apache配置文件有关。

If you cannot access phpmyadmin at all until restart of apache, then you effectively your apache server. 如果在重新启动apache之前根本无法访问phpmyadmin,则可以有效地使用apache服务器。 However, since nothing is showing up in the error logs, I doubt it somehow. 但是,由于错误日志中未显示任何内容,因此我对此表示怀疑。

Could you paste us the relevant parts of your apache config, tell in more detail, what urls you are using to log in, what software you are using (if that is the case, eg wordpress) and perhaps generally explain more what you are trying to do? 您能否将我们的apache配置中的相关部分粘贴给我们,更详细地说明您用于登录的url,您使用的是什么软件(如果是这种情况,例如wordpress),也许通常可以解释更多您的尝试去做?

EDIT 1 编辑1

If it is a PHP related error, try reading the php error log. 如果是与PHP相关的错误,请尝试阅读php错误日志。 That log is different from the apache log. 该日志与apache日志不同。 Some servers never send error reports to the browser by default and only show a white page. 默认情况下,某些服务器从不向浏览器发送错误报告,而仅显示白页。 You can find the location of the php log file in your php.ini. 您可以在php.ini中找到php日志文件的位置。 Just keep looking for the word log . 只是继续寻找单词log

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM