Re: apache/php with sybase12.5
| From: | Thijs Lensselink | Date: | Sat, 18 Aug 2007 08:49:07 +0000 |
| Subject: | Re: apache/php with sybase12.5 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-260986@lists.php.net to get a copy of this message | ||
ROUKOS Michel wrote:
> Hi,
> I installed libtool 1.5 and tried again. The libphp.so was not created
> as well.
> I tried also to run with
> ./configure --with-apx2=/usr/local/apache2/bin/apxs
> make
> make install
>
> same results: libphp5.so is not created under modules/ directory.
>
> Thanks and regards,
> Michel
>
> -----Original Message-----
> From: Lens Development [mailto:dev@lenss.nl]
> Sent: Friday, August 17, 2007 7:57 PM
> To: ROUKOS Michel
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] apache/php with sybase12.5
>
> 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
>
> *******************************
> 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.
>
>
I have the feeling your build tools are hosed.
Maybe somebody else on the list has a suggestion.
You could try a newer version or a snapshot.