![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm trying to install the SQL Anywhere interface for PHP on Centos (=RHEL) Linux 5.1, x86_64, which uses PHP 5.1.6. I tried using the prebuilt module for PHP 5.1.2 but it didn't do anything. My next step was to try building just the sqlanywhere.so module, using the instructions that were posted to this group on 2007-02-01. Following that procedure, I was able to run "php connect.php" successfully from the command line, but the connection failed when I tried serving connect.php with the Apache server (httpd 2.2.3). (Yes, I sourced sa_config.sh in the shell that ran httpd). So I decided I would give up on the shortcuts and follow the long procedure Sybase documents on its website for adding the SQL Anywhere module to the PHP source tree. Unfortunately, I had to remove my distro's PHP installation to do this. I couldn't use the PHP source from my distro, because the distro's php-devel package does not have the buildconf file that the SQL Anywhere documentation calls for. When I eventually got done building and installing my custom PHP version, which my distro can't update, it was so unconfigured that .php files were served as raw code, without being interpreted by Apache. At present, Apache is down and I can't get it started again. There really should be a documented way to build the SQL Anywhere module for PHP without rebuilding (messily) PHP itself. At this point, I plan to go back to my distro's version of PHP, and I seem to face a choice of either SQL Anywhere and ODBC middleware or a different database with a working PHP module. But before that, does anyone have any tips for getting the SQL Anywhere module working? Richard |
#3
| |||
| |||
|
|
I'm trying to install the SQL Anywhere interface for PHP on Centos (=RHEL) Linux 5.1, x86_64, which uses PHP 5.1.6. I tried using the prebuilt module for PHP 5.1.2 but it didn't do anything. My next step was to try building just the sqlanywhere.so module, using the instructions that were posted to this group on 2007-02-01. Following that procedure, I was able to run "php connect.php" successfully from the command line, but the connection failed when I tried serving connect.php with the Apache server (httpd 2.2.3). (Yes, I sourced sa_config.sh in the shell that ran httpd). So I decided I would give up on the shortcuts and follow the long procedure Sybase documents on its website for adding the SQL Anywhere module to the PHP source tree. Unfortunately, I had to remove my distro's PHP installation to do this. I couldn't use the PHP source from my distro, because the distro's php-devel package does not have the buildconf file that the SQL Anywhere documentation calls for. When I eventually got done building and installing my custom PHP version, which my distro can't update, it was so unconfigured that .php files were served as raw code, without being interpreted by Apache. At present, Apache is down and I can't get it started again. There really should be a documented way to build the SQL Anywhere module for PHP without rebuilding (messily) PHP itself. At this point, I plan to go back to my distro's version of PHP, and I seem to face a choice of either SQL Anywhere and ODBC middleware or a different database with a working PHP module. But before that, does anyone have any tips for getting the SQL Anywhere module working? Richard |
#4
| |||
| |||
|
|
I'm trying to install the SQL Anywhere interface for PHP on Centos (=RHEL) Linux 5.1, x86_64, which uses PHP 5.1.6. I tried using the prebuilt module for PHP 5.1.2 but it didn't do anything. My next step was to try building just the sqlanywhere.so module, using the instructions that were posted to this group on 2007-02-01. Following that procedure, I was able to run "php connect.php" successfully from the command line, but the connection failed when I tried serving connect.php with the Apache server (httpd 2.2.3). (Yes, I sourced sa_config.sh in the shell that ran httpd). So I decided I would give up on the shortcuts and follow the long procedure Sybase documents on its website for adding the SQL Anywhere module to the PHP source tree. Unfortunately, I had to remove my distro's PHP installation to do this. I couldn't use the PHP source from my distro, because the distro's php-devel package does not have the buildconf file that the SQL Anywhere documentation calls for. When I eventually got done building and installing my custom PHP version, which my distro can't update, it was so unconfigured that .php files were served as raw code, without being interpreted by Apache. At present, Apache is down and I can't get it started again. There really should be a documented way to build the SQL Anywhere module for PHP without rebuilding (messily) PHP itself. At this point, I plan to go back to my distro's version of PHP, and I seem to face a choice of either SQL Anywhere and ODBC middleware or a different database with a working PHP module. But before that, does anyone have any tips for getting the SQL Anywhere module working? Richard |
#5
| |||
| |||
|
|
I'm trying to install the SQL Anywhere interface for PHP on Centos (=RHEL) Linux 5.1, x86_64, which uses PHP 5.1.6. I tried using the prebuilt module for PHP 5.1.2 but it didn't do anything. My next step was to try building just the sqlanywhere.so module, using the instructions that were posted to this group on 2007-02-01. Following that procedure, I was able to run "php connect.php" successfully from the command line, but the connection failed when I tried serving connect.php with the Apache server (httpd 2.2.3). (Yes, I sourced sa_config.sh in the shell that ran httpd). So I decided I would give up on the shortcuts and follow the long procedure Sybase documents on its website for adding the SQL Anywhere module to the PHP source tree. Unfortunately, I had to remove my distro's PHP installation to do this. I couldn't use the PHP source from my distro, because the distro's php-devel package does not have the buildconf file that the SQL Anywhere documentation calls for. When I eventually got done building and installing my custom PHP version, which my distro can't update, it was so unconfigured that .php files were served as raw code, without being interpreted by Apache. At present, Apache is down and I can't get it started again. There really should be a documented way to build the SQL Anywhere module for PHP without rebuilding (messily) PHP itself. At this point, I plan to go back to my distro's version of PHP, and I seem to face a choice of either SQL Anywhere and ODBC middleware or a different database with a working PHP module. But before that, does anyone have any tips for getting the SQL Anywhere module working? Richard |
#6
| |||
| |||
|
|
I'm trying to install the SQL Anywhere interface for PHP on Centos (=RHEL) Linux 5.1, x86_64, which uses PHP 5.1.6. I tried using the prebuilt module for PHP 5.1.2 but it didn't do anything. My next step was to try building just the sqlanywhere.so module, using the instructions that were posted to this group on 2007-02-01. Following that procedure, I was able to run "php connect.php" successfully from the command line, but the connection failed when I tried serving connect.php with the Apache server (httpd 2.2.3). (Yes, I sourced sa_config.sh in the shell that ran httpd). So I decided I would give up on the shortcuts and follow the long procedure Sybase documents on its website for adding the SQL Anywhere module to the PHP source tree. Unfortunately, I had to remove my distro's PHP installation to do this. I couldn't use the PHP source from my distro, because the distro's php-devel package does not have the buildconf file that the SQL Anywhere documentation calls for. When I eventually got done building and installing my custom PHP version, which my distro can't update, it was so unconfigured that .php files were served as raw code, without being interpreted by Apache. At present, Apache is down and I can't get it started again. There really should be a documented way to build the SQL Anywhere module for PHP without rebuilding (messily) PHP itself. At this point, I plan to go back to my distro's version of PHP, and I seem to face a choice of either SQL Anywhere and ODBC middleware or a different database with a working PHP module. But before that, does anyone have any tips for getting the SQL Anywhere module working? Richard |
#7
| |||
| |||
|
|
I'm trying to install the SQL Anywhere interface for PHP on Centos (=RHEL) Linux 5.1, x86_64, which uses PHP 5.1.6. I tried using the prebuilt module for PHP 5.1.2 but it didn't do anything. My next step was to try building just the sqlanywhere.so module, using the instructions that were posted to this group on 2007-02-01. Following that procedure, I was able to run "php connect.php" successfully from the command line, but the connection failed when I tried serving connect.php with the Apache server (httpd 2.2.3). (Yes, I sourced sa_config.sh in the shell that ran httpd). So I decided I would give up on the shortcuts and follow the long procedure Sybase documents on its website for adding the SQL Anywhere module to the PHP source tree. Unfortunately, I had to remove my distro's PHP installation to do this. I couldn't use the PHP source from my distro, because the distro's php-devel package does not have the buildconf file that the SQL Anywhere documentation calls for. When I eventually got done building and installing my custom PHP version, which my distro can't update, it was so unconfigured that .php files were served as raw code, without being interpreted by Apache. At present, Apache is down and I can't get it started again. There really should be a documented way to build the SQL Anywhere module for PHP without rebuilding (messily) PHP itself. At this point, I plan to go back to my distro's version of PHP, and I seem to face a choice of either SQL Anywhere and ODBC middleware or a different database with a working PHP module. But before that, does anyone have any tips for getting the SQL Anywhere module working? Richard |
#8
| |||
| |||
|
|
I'm trying to install the SQL Anywhere interface for PHP on Centos (=RHEL) Linux 5.1, x86_64, which uses PHP 5.1.6. I tried using the prebuilt module for PHP 5.1.2 but it didn't do anything. My next step was to try building just the sqlanywhere.so module, using the instructions that were posted to this group on 2007-02-01. Following that procedure, I was able to run "php connect.php" successfully from the command line, but the connection failed when I tried serving connect.php with the Apache server (httpd 2.2.3). (Yes, I sourced sa_config.sh in the shell that ran httpd). So I decided I would give up on the shortcuts and follow the long procedure Sybase documents on its website for adding the SQL Anywhere module to the PHP source tree. Unfortunately, I had to remove my distro's PHP installation to do this. I couldn't use the PHP source from my distro, because the distro's php-devel package does not have the buildconf file that the SQL Anywhere documentation calls for. When I eventually got done building and installing my custom PHP version, which my distro can't update, it was so unconfigured that .php files were served as raw code, without being interpreted by Apache. At present, Apache is down and I can't get it started again. There really should be a documented way to build the SQL Anywhere module for PHP without rebuilding (messily) PHP itself. At this point, I plan to go back to my distro's version of PHP, and I seem to face a choice of either SQL Anywhere and ODBC middleware or a different database with a working PHP module. But before that, does anyone have any tips for getting the SQL Anywhere module working? Richard |
#9
| |||
| |||
|
|
I'm trying to install the SQL Anywhere interface for PHP on Centos (=RHEL) Linux 5.1, x86_64, which uses PHP 5.1.6. I tried using the prebuilt module for PHP 5.1.2 but it didn't do anything. My next step was to try building just the sqlanywhere.so module, using the instructions that were posted to this group on 2007-02-01. Following that procedure, I was able to run "php connect.php" successfully from the command line, but the connection failed when I tried serving connect.php with the Apache server (httpd 2.2.3). (Yes, I sourced sa_config.sh in the shell that ran httpd). So I decided I would give up on the shortcuts and follow the long procedure Sybase documents on its website for adding the SQL Anywhere module to the PHP source tree. Unfortunately, I had to remove my distro's PHP installation to do this. I couldn't use the PHP source from my distro, because the distro's php-devel package does not have the buildconf file that the SQL Anywhere documentation calls for. When I eventually got done building and installing my custom PHP version, which my distro can't update, it was so unconfigured that .php files were served as raw code, without being interpreted by Apache. At present, Apache is down and I can't get it started again. There really should be a documented way to build the SQL Anywhere module for PHP without rebuilding (messily) PHP itself. At this point, I plan to go back to my distro's version of PHP, and I seem to face a choice of either SQL Anywhere and ODBC middleware or a different database with a working PHP module. But before that, does anyone have any tips for getting the SQL Anywhere module working? Richard |
#10
| |||
| |||
|
|
I'm trying to install the SQL Anywhere interface for PHP on Centos (=RHEL) Linux 5.1, x86_64, which uses PHP 5.1.6. I tried using the prebuilt module for PHP 5.1.2 but it didn't do anything. My next step was to try building just the sqlanywhere.so module, using the instructions that were posted to this group on 2007-02-01. Following that procedure, I was able to run "php connect.php" successfully from the command line, but the connection failed when I tried serving connect.php with the Apache server (httpd 2.2.3). (Yes, I sourced sa_config.sh in the shell that ran httpd). So I decided I would give up on the shortcuts and follow the long procedure Sybase documents on its website for adding the SQL Anywhere module to the PHP source tree. Unfortunately, I had to remove my distro's PHP installation to do this. I couldn't use the PHP source from my distro, because the distro's php-devel package does not have the buildconf file that the SQL Anywhere documentation calls for. When I eventually got done building and installing my custom PHP version, which my distro can't update, it was so unconfigured that .php files were served as raw code, without being interpreted by Apache. At present, Apache is down and I can't get it started again. There really should be a documented way to build the SQL Anywhere module for PHP without rebuilding (messily) PHP itself. At this point, I plan to go back to my distro's version of PHP, and I seem to face a choice of either SQL Anywhere and ODBC middleware or a different database with a working PHP module. But before that, does anyone have any tips for getting the SQL Anywhere module working? Richard |
![]() |
| Thread Tools | |
| Display Modes | |
| |