1827837 Members
1515 Online
109969 Solutions
New Discussion

hpapache2 problems

 
Matt Horan_1
New Member

hpapache2 problems

Well I just decided to try out hpapache2 again, and ran into the same problem as before. Now this may just be a php problem, I am not sure, but I checked their site with no luck and it seems related to the hp version only. When I try to run any useful script besides the test, I get a cannot connect to server, and the following appears in the log: [Wed May 29 21:37:57 2002] [notice] child pid 2977 exit signal Bus error (10). The weird thing is the server actually continues running, but accessing any script like this generates the same error. Again please tell me if this is just a php problem and I will check back with them. But as the scripts worked fine under the previous versions of hpapache, on the same server, I am somewhat lost. Thanks for your time.
5 REPLIES 5
Steve Steel
Honored Contributor

Re: hpapache2 problems

Hi

Which os do you have and which versions of
apache java and maybe tomcat


Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Matt Horan_1
New Member

Re: hpapache2 problems

I'm running hp-ux 11i on a hp 9000/811. Apache is 2.0.32, the hp distrib, java is 1.3, again an hp distrib, and tomcat is disabled at the moment but it is version 3.3. Thanks for your time.
Jordan Bean
Honored Contributor

Re: hpapache2 problems

I'm betting this is a PHP problem. What was the previous version of PHP? Version 3? Or an early release of version 4?

When we migrated from PHP 3 to PHP 4.1.2 (on RedHat Linux 7.2), we had to update all of the scripts, changing all ASP-style tags ( <% and %> ) to , in order to avoid the rude Apache server errors.

Only later did we realize that the PHP 4 interpreter would recognize ASP-style tags if instructed. The default behavior is not to do so.

Look for the php.ini file (/etc/php.ini on Linux) and set the asp_tags option to "On".
Matt Horan_1
New Member

Re: hpapache2 problems

Still no luck, I was not using the asp style tags. I was previously using the hpapache distrib with php 4 no problems.
Jordan Bean
Honored Contributor

Re: hpapache2 problems

It helps to "read" the initial post... The error message is a little vague... Does PHP need to talk to a database? If Oracle, is ORACLE_HOME and ORACLE_SID passed to PHP using the SetEnv or PassEnv Apache config directives? Or are these set within the scripts or PHP config? Does Apache or PHP provide any information in the error_log about dynamic modules that failed to load?