Re: apache/php with sybase12.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 17 Aug 2007 16:00:35 +0300, "ROUKOS Michel" <Michel.ROUKOS@xxxxxxxxx> wrote:
> Hi,
> 
> I am integrating httpd-2.0.59 with php-5.2.1 and Sybase 12.5 on a
> solaris 8 machine. I followed these steps:
> Install apache:
> 
> ./configure --prefix=/usr/local/apache2 --enable-so
> make
> make install
> 
> 
> PHP configuration:
> 
> 
> I edited this file php-5.2.1/ext/sybase_ct/ php_sybase_ct.h and changed
> this line:
> #define CTLIB_VERSION CS_VERSION_100
> ...to...
> #define CTLIB_VERSION CS_VERSION_125
> 
> Then:
> ./configure --with-apx2=/usr/local/apache2/bin/apxs
> --with-sybase-ct=/opt/sybase/oc12.5-EBF11486/OCS-12_5/ --enable-bcmath
> --enable-calendar --enable-ctype --enable-exif --enable-ftp
> --enable-trans-sid --enable-shmop --enable-sockets --enable-sysvsem
> --enable-sysvshm --enable-wddx
> make
> make install
> 
> 
> then added these 2 lines in httpd.conf:
> AddType application/x-httpd-php .php .phtml
> AddType application/x-httpd-php-source .phps
> 
> 
> When I access test.php, I am asked to download the file - meaning php is
> not working well. I also don't see libphp5.so under modules/ directory.
> 
> test.php is locate under htdocs/ and has this content:
> 
> <?phpinfo()?>
> 
> 
> Could you please point to me why libphp5.so was not generated? Also why
> php is not working well with apache and sybase? 
>  
> *******************************
> This e-mail contains information for the intended recipient only.  It may
> contain proprietary material or confidential information.  If you are not
> the intended recipient you are not authorised to distribute, copy or use
> this e-mail or any attachment to it.  Murex cannot guarantee that it is
> virus free and accepts no responsibility for any loss or damage arising
> from its use.  If you have received this e-mail in error please notify
> immediately the sender and delete the original email received, any
> attachments and all copies from your system.
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

Did you also place the following line in the apache config?

LoadModule php5_module "modules/libphp5.so"

If you sure there were no configure or compile errors when building PHP
try and locate libphp5.so on the server. And copy it to the module dir.

find / -name libphp5.so

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux