Re: apache/php with sybase12.5
| From: | Lens Development | Date: | Fri, 17 Aug 2007 16:57:08 +0000 |
| Subject: | Re: apache/php with sybase12.5 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260970@lists.php.net to get a copy of this message | ||
ROUKOS Michel 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.
>
>
What version of libtool do you use?
What happens if you just run
./configure --with-apx2=/usr/local/apache2/bin/apxs
make
make install