Re: PHP Problem

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: kitepilot@kitepilot.com
Date:  
To: Main PLUG discussion list
Subject: Re: PHP Problem
I've done tons of LFS stuff, I'll be more than glad to lend you a hand but
I'll need SSH access to the box.
What switches did you tar/untar with?
ET




Nathan England writes:

> 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

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss