Re: tru64 php informix
| From: | Luis Fernando Morales | Date: | Sat, 06 May 2006 15:20:48 +0000 |
| Subject: | Re: tru64 php informix | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-17306@lists.php.net to get a copy of this message | ||
I have been tried to compile the php module without '--with-informix' and
the apache2 startup fine, the php module runs ok and I can execute *.php
from
the web browser.
But when I try to add the parameter '--with-informix' here is when the
apache2 cannot startup.. I done a 'apachectl -e debug' and it send the
next message :
[Sat May 06 10:01:12 2006] [debug] mod_so.c(248): loaded module php4_module
it seems that the apache2 has been loaded the module but at this point it
freezes and I need a ctrl-c to stop the process.
I think the problem is with the informix libs and apache2 'cause without
them the php works perfect.
The curious thing is that the PHP Cli binary works fine with the informix
option
I made a informix connection from a single testifx.php file with the next
code:
<?php
if (!$conn = @ifx_connect( "test@localhost", "user", "pass" ))
{
die( sprintf( "Connection error: %s %s", ifx_error(),
ifx_errormsg() ) );
}
else
{
echo 'Connected!... ok';
}
?>
and ran it with '/usr/opt/hpapache2/bin/php testifx.php' and it sends the
message :
Connected!... ok
Any suggestion? and thanx for the support!
On 5/6/06, Peter Hodge <toomuchphp-phpinstall@yahoo.com> wrote:
Hi, I'm not very familiar with Apache problems, sorry, the best I can suggest is that you comment out the lines in httpd.conf which refer to php and see if apache will run without it. good luck, Peter