PHP Problem

Nathan England nathan at paysonlinux.org
Mon Feb 28 11:57:47 MST 2011


I have a serious problem. I cannot run _anything_ php...

I have an LFS system I use for running various test php things. I have done
a fresh install of php 5.3.5 and apache 2.2.17. I created an index.php with

<?php phpinfo(); ?>

and it returns as expected, all looks good. However, when I run the
following I get a segmentation fault and I cannot figure this out after 3
days!!!!!
This has to be soooo  stupidly simple I am over-looking something. What is
wrong?

Offending Code:

<?php
  if (isset($_POST['LogInName'])){
    $Name = $_POST['name'];
    echo "Congratulations, $Name.";
  }
?>

<form method="post" name="LogInName" id="LogInName" class="searchform">
  <table width='300' cellpadding='5' cellspacing='5'>
    <tr>
      <td>Your Name</td>
      <td><input type="text" name="name" id="name"></td>
    </tr>
  </table>
  <br />
  <input name="LogInName" type="submit" value="Login">
</form>

That is all. I open the page, type in my name and upon clicking submit I get
a Chrome error. Error 324 (net::ERR_EMPTY_RESPONSE): Unknown error.

Firefox wants to download the php page afterwards. Any help would be greatly
appreciated! This system is no different from any other LFS system. I
created an LFS system and backed up the entire system to a tar file. When I
reload the system, or a new system, I decompress that tar file and then
build whatever software I need on it. I've never had a problem in the past,
so I am not completely stumped! This is something so basic, I must have
simply missed something trivial... which is obviously not so trivial!
Anything come to mind?

Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.PLUG.phoenix.az.us/pipermail/plug-discuss/attachments/20110228/ada198f6/attachment.html>


More information about the PLUG-discuss mailing list