RE: [PHP] apache/php with sybase12.5
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:[EMAIL PROTECTED] 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: > > > > > 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. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] apache/php with sybase12.5
Hi, If I place the following line in httpd.conf LoadModule php5_module "modules/libphp5.so" I receive this error: Syntax error on line 232 of /usr/local/apache2/conf/httpd.conf: Cannot load /usr/local/apache2/modules/libphp5.so into server: ld.so.1: /usr/local/apache2/bin/httpd: fatal: /usr/local/apache2/modules/libphp5.so: open failed: No such file or directory During the configure, make and make install steps, I received no errors. find / -name libphp5.so returned nothing. I did the same steps with mysql, and the libphp5.so was created. Also please note that the sybase servers are remote. I have only the client directory on that server (/opt/sybase) Thanks. *** 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
[PHP] apache/php with sybase12.5
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: 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