forms with apache 2.0.36, php, mysql in solaris

forms with apache 2.0.36, php, mysql in solaris

Post by Kent Stairl » Wed, 12 Jun 2002 22:56:24



Hi,

  I have apache2.0.36 and php4.2.1 and mysql3.23.49 on solaris 7.
  The ole' phpinfo.php with <? phpinfo() ?> works fine and mysql and
  apache is
  working.  I have an html form that takes 2 parameters, uses
  form action = results.php method = post and etc.
  The results.php is from a book and makes calls to the mysql server
  using

  I have the same html and php scripts and etc setup on RH7.2 with
  apache 1.3.24, php4.0, and mysql3, and it works as expected.

  But on the apache 2.0.36/solaris, the form variables are not getting
  passed
  to the php script to query the database. The php script returns a "no
  parameters
  found, go back .." that's built into the script.
  My access log shows 304 status codes with 0 bytes returned.

  I hardcoded the variables into the results.php file and changed the
  search.html
  to be a form with just a submit button and the results.php queries the
  database
  and returns the correct results. So I know that php and mysql are
  working
  properly. And apache is serving html. I don't understand why the form
  variables aren't being passed.
  Httpd.conf is setup properly, I think.

  What am I missing ... ? Something in httpd.conf ???

  TIA,
  Kent

   > Select * from Users where clue > 0;
   > Empty Set (0.00 sec)

 
 
 

1. Problem with: Apache/2.0.36 (Unix) mod_ssl/2.0.36 OpenSSL/0.9.6d

I used to use Apache 1.3.19 and Apache SSL without any problem. After
installing Apache v.2, though, I get sporadic 'hangs' when a client switches
from an http page to an https page. I see in the ssl_engine_log that mutex
is mentioned a lot. I've tried different options for the SSLMutex directive,
but it doesn't seem to make the warning go away.

This is what I'm using now:

SSLPassPhraseDialog  builtin
SSLSessionCache         dbm:/usr/local/apache2/logs/ssl_gcache
SSLSessionCacheTimeout  300
SSLMutex  file:/usr/local/apache2/logs/ssl_mutex
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
SSLLog      /usr/local/apache2/logs/ssl_engine_log
SSLLogLevel info

And this is an example of what happens according to the SSL log. The first
connection succeeded, the second one hung up:

[03/Jun/2002 18:37:03 03630] [info]  Connection to child 19 established
(server www.astdgoldengate.org:443, client 12.236.195.38)
[03/Jun/2002 18:37:03 03630] [info]  Seeding PRNG with 136 bytes of entropy
[03/Jun/2002 18:37:03 03630] [warn]  Failed to acquire global mutex lock
[03/Jun/2002 18:37:03 03630] [warn]  Failed to release global mutex lock
[03/Jun/2002 18:37:03 03630] [info]  Connection: Client IP: 12.236.195.38,
Protocol: SSLv3, Cipher: RC4-MD5 (128/128 bits)
[03/Jun/2002 18:37:03 03630] [info]  Initial (No.1) HTTPS request received
for child 19 (server www.astdgoldengate.org:443)
[03/Jun/2002 18:37:19 03630] [info]  Connection to child 19 closed with
standard shutdown(server www.astdgoldengate.org:443, client 12.236.195.38)
[03/Jun/2002 18:40:49 03642] [info]  Connection to child 25 established
(server www.astdgoldengate.org:443, client 12.236.195.38)
[03/Jun/2002 18:40:49 03642] [info]  Seeding PRNG with 136 bytes of entropy
[03/Jun/2002 18:40:49 03642] [warn]  Failed to acquire global mutex lock
[03/Jun/2002 18:40:49 03642] [warn]  Failed to release global mutex lock

I'd appreciate any input anyone has with a similar scenario.

Thanks,

/s/ Harley Puthuff

2. alamo -- antiknark

3. Mysql, PHP, Apache in Solaris

4. advice on DNS and SMTP with a DMZ

5. Solaris/Intel apache/MySQL/PHP memory leak?

6. PROBLEM WITH COPROCESSOR 387 AND IRQ13.....HELP!

7. Linux / Solaris Unix Differences in MySQL, PHP, Apache

8. Training in Dallas!

9. problem with php, mysql and apache in Solaris 8

10. problem with mysql,php and apache in solaris 8

11. apache 2.0.36 on solaris 7 binary error msg - help

12. Apache 2.0.36 on Solaris 7 - compilation/installation help

13. Apache w/ PHP and SSL: w/ PHP OK - w/out PHP NOK