dbTalk Databases Forums  

HELP CONFIGURATION ASA 10.0.1 with PHP 5.2.0 and APACHE 2.2.3 onDEBIAN

sybase.public.sqlanywhere.linux sybase.public.sqlanywhere.linux


Discuss HELP CONFIGURATION ASA 10.0.1 with PHP 5.2.0 and APACHE 2.2.3 onDEBIAN in the sybase.public.sqlanywhere.linux forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
avillamizarb@gmail.com
 
Posts: n/a

Default HELP CONFIGURATION ASA 10.0.1 with PHP 5.2.0 and APACHE 2.2.3 onDEBIAN - 07-08-2008 , 08:52 AM






hello, I need help with ASA 10.0.1 with PHP5.2.0 common in Apache
2.2.3 environment Debi 4.03 I can not connect to travez of odbc, I
followed the steps outlined in the installation manuals and fails to
connect tells me the following error :

Fatal error: Call to undefined function sqlanywhere_connect () in /
var/www/apache2-default/connect.php on line 2

I need to indicate to me step by step more detailed installation and
configuration with sqlanywhere10.0.1 odbc, php5.2.0, apache2.2.6
environment in debian

Thank you

Reply With Quote
  #2  
Old   
Phil Mitchell
 
Posts: n/a

Default Re: HELP CONFIGURATION ASA 10.0.1 with PHP 5.2.0 and APACHE 2.2.3on DEBIAN - 07-08-2008 , 02:21 PM






The steps in the manual provide all of the information you should need
to get PHP working. Use the pre-built PHP 5.2.0 driver that came with
your SQL Anywhere installation and copy it to your php_extension_dir
(this is either in your php.ini file or hard-coded, run "php --info" or
use the phpinfo() function to find the correct location). Then add the
extension entry in php.ini.

Once you have done the above, make sure that $SQLANY10/lib32 (or lib64,
depending on the pointersize that PHP is using) is in your
LD_LIBRARY_PATH (source sa_config.sh from the appropriate
$SQLANY10/binXX directory). You should be able to run php from the
command line at this point. Try one of the sample scripts. If that
does not work, it should give you a useful error message. If it does
work, then you are pretty well good to go.

One common problem when running under Apache is that the environment is
not set up properly. Find the apache (or httpd) script in /etc/init.d,
and make sure that the correct sa_config.sh script is being sourced for
your Apache server.

You can verify your setup by creating a simple PHP script that just
calls phpinfo(). Run that through Apache, and look for the SQL Anywhere
information. If you don't see it, check the environment section to
ensure that LD_LIBRARY_PATH is set. If it is not set, then go back to
your init script and find out why.

Let me know if you have further problems.

Cheers,
Phil

avillamizarb (AT) gmail (DOT) com wrote:
Quote:
hello, I need help with ASA 10.0.1 with PHP5.2.0 common in Apache
2.2.3 environment Debi 4.03 I can not connect to travez of odbc, I
followed the steps outlined in the installation manuals and fails to
connect tells me the following error :

Fatal error: Call to undefined function sqlanywhere_connect () in /
var/www/apache2-default/connect.php on line 2

I need to indicate to me step by step more detailed installation and
configuration with sqlanywhere10.0.1 odbc, php5.2.0, apache2.2.6
environment in debian

Thank you

Reply With Quote
  #3  
Old   
Phil Mitchell
 
Posts: n/a

Default Re: HELP CONFIGURATION ASA 10.0.1 with PHP 5.2.0 and APACHE 2.2.3on DEBIAN - 07-08-2008 , 02:21 PM



The steps in the manual provide all of the information you should need
to get PHP working. Use the pre-built PHP 5.2.0 driver that came with
your SQL Anywhere installation and copy it to your php_extension_dir
(this is either in your php.ini file or hard-coded, run "php --info" or
use the phpinfo() function to find the correct location). Then add the
extension entry in php.ini.

Once you have done the above, make sure that $SQLANY10/lib32 (or lib64,
depending on the pointersize that PHP is using) is in your
LD_LIBRARY_PATH (source sa_config.sh from the appropriate
$SQLANY10/binXX directory). You should be able to run php from the
command line at this point. Try one of the sample scripts. If that
does not work, it should give you a useful error message. If it does
work, then you are pretty well good to go.

One common problem when running under Apache is that the environment is
not set up properly. Find the apache (or httpd) script in /etc/init.d,
and make sure that the correct sa_config.sh script is being sourced for
your Apache server.

You can verify your setup by creating a simple PHP script that just
calls phpinfo(). Run that through Apache, and look for the SQL Anywhere
information. If you don't see it, check the environment section to
ensure that LD_LIBRARY_PATH is set. If it is not set, then go back to
your init script and find out why.

Let me know if you have further problems.

Cheers,
Phil

avillamizarb (AT) gmail (DOT) com wrote:
Quote:
hello, I need help with ASA 10.0.1 with PHP5.2.0 common in Apache
2.2.3 environment Debi 4.03 I can not connect to travez of odbc, I
followed the steps outlined in the installation manuals and fails to
connect tells me the following error :

Fatal error: Call to undefined function sqlanywhere_connect () in /
var/www/apache2-default/connect.php on line 2

I need to indicate to me step by step more detailed installation and
configuration with sqlanywhere10.0.1 odbc, php5.2.0, apache2.2.6
environment in debian

Thank you

Reply With Quote
  #4  
Old   
Phil Mitchell
 
Posts: n/a

Default Re: HELP CONFIGURATION ASA 10.0.1 with PHP 5.2.0 and APACHE 2.2.3on DEBIAN - 07-08-2008 , 02:21 PM



The steps in the manual provide all of the information you should need
to get PHP working. Use the pre-built PHP 5.2.0 driver that came with
your SQL Anywhere installation and copy it to your php_extension_dir
(this is either in your php.ini file or hard-coded, run "php --info" or
use the phpinfo() function to find the correct location). Then add the
extension entry in php.ini.

Once you have done the above, make sure that $SQLANY10/lib32 (or lib64,
depending on the pointersize that PHP is using) is in your
LD_LIBRARY_PATH (source sa_config.sh from the appropriate
$SQLANY10/binXX directory). You should be able to run php from the
command line at this point. Try one of the sample scripts. If that
does not work, it should give you a useful error message. If it does
work, then you are pretty well good to go.

One common problem when running under Apache is that the environment is
not set up properly. Find the apache (or httpd) script in /etc/init.d,
and make sure that the correct sa_config.sh script is being sourced for
your Apache server.

You can verify your setup by creating a simple PHP script that just
calls phpinfo(). Run that through Apache, and look for the SQL Anywhere
information. If you don't see it, check the environment section to
ensure that LD_LIBRARY_PATH is set. If it is not set, then go back to
your init script and find out why.

Let me know if you have further problems.

Cheers,
Phil

avillamizarb (AT) gmail (DOT) com wrote:
Quote:
hello, I need help with ASA 10.0.1 with PHP5.2.0 common in Apache
2.2.3 environment Debi 4.03 I can not connect to travez of odbc, I
followed the steps outlined in the installation manuals and fails to
connect tells me the following error :

Fatal error: Call to undefined function sqlanywhere_connect () in /
var/www/apache2-default/connect.php on line 2

I need to indicate to me step by step more detailed installation and
configuration with sqlanywhere10.0.1 odbc, php5.2.0, apache2.2.6
environment in debian

Thank you

Reply With Quote
  #5  
Old   
Phil Mitchell
 
Posts: n/a

Default Re: HELP CONFIGURATION ASA 10.0.1 with PHP 5.2.0 and APACHE 2.2.3on DEBIAN - 07-08-2008 , 02:21 PM



The steps in the manual provide all of the information you should need
to get PHP working. Use the pre-built PHP 5.2.0 driver that came with
your SQL Anywhere installation and copy it to your php_extension_dir
(this is either in your php.ini file or hard-coded, run "php --info" or
use the phpinfo() function to find the correct location). Then add the
extension entry in php.ini.

Once you have done the above, make sure that $SQLANY10/lib32 (or lib64,
depending on the pointersize that PHP is using) is in your
LD_LIBRARY_PATH (source sa_config.sh from the appropriate
$SQLANY10/binXX directory). You should be able to run php from the
command line at this point. Try one of the sample scripts. If that
does not work, it should give you a useful error message. If it does
work, then you are pretty well good to go.

One common problem when running under Apache is that the environment is
not set up properly. Find the apache (or httpd) script in /etc/init.d,
and make sure that the correct sa_config.sh script is being sourced for
your Apache server.

You can verify your setup by creating a simple PHP script that just
calls phpinfo(). Run that through Apache, and look for the SQL Anywhere
information. If you don't see it, check the environment section to
ensure that LD_LIBRARY_PATH is set. If it is not set, then go back to
your init script and find out why.

Let me know if you have further problems.

Cheers,
Phil

avillamizarb (AT) gmail (DOT) com wrote:
Quote:
hello, I need help with ASA 10.0.1 with PHP5.2.0 common in Apache
2.2.3 environment Debi 4.03 I can not connect to travez of odbc, I
followed the steps outlined in the installation manuals and fails to
connect tells me the following error :

Fatal error: Call to undefined function sqlanywhere_connect () in /
var/www/apache2-default/connect.php on line 2

I need to indicate to me step by step more detailed installation and
configuration with sqlanywhere10.0.1 odbc, php5.2.0, apache2.2.6
environment in debian

Thank you

Reply With Quote
  #6  
Old   
Phil Mitchell
 
Posts: n/a

Default Re: HELP CONFIGURATION ASA 10.0.1 with PHP 5.2.0 and APACHE 2.2.3on DEBIAN - 07-08-2008 , 02:21 PM



The steps in the manual provide all of the information you should need
to get PHP working. Use the pre-built PHP 5.2.0 driver that came with
your SQL Anywhere installation and copy it to your php_extension_dir
(this is either in your php.ini file or hard-coded, run "php --info" or
use the phpinfo() function to find the correct location). Then add the
extension entry in php.ini.

Once you have done the above, make sure that $SQLANY10/lib32 (or lib64,
depending on the pointersize that PHP is using) is in your
LD_LIBRARY_PATH (source sa_config.sh from the appropriate
$SQLANY10/binXX directory). You should be able to run php from the
command line at this point. Try one of the sample scripts. If that
does not work, it should give you a useful error message. If it does
work, then you are pretty well good to go.

One common problem when running under Apache is that the environment is
not set up properly. Find the apache (or httpd) script in /etc/init.d,
and make sure that the correct sa_config.sh script is being sourced for
your Apache server.

You can verify your setup by creating a simple PHP script that just
calls phpinfo(). Run that through Apache, and look for the SQL Anywhere
information. If you don't see it, check the environment section to
ensure that LD_LIBRARY_PATH is set. If it is not set, then go back to
your init script and find out why.

Let me know if you have further problems.

Cheers,
Phil

avillamizarb (AT) gmail (DOT) com wrote:
Quote:
hello, I need help with ASA 10.0.1 with PHP5.2.0 common in Apache
2.2.3 environment Debi 4.03 I can not connect to travez of odbc, I
followed the steps outlined in the installation manuals and fails to
connect tells me the following error :

Fatal error: Call to undefined function sqlanywhere_connect () in /
var/www/apache2-default/connect.php on line 2

I need to indicate to me step by step more detailed installation and
configuration with sqlanywhere10.0.1 odbc, php5.2.0, apache2.2.6
environment in debian

Thank you

Reply With Quote
  #7  
Old   
Phil Mitchell
 
Posts: n/a

Default Re: HELP CONFIGURATION ASA 10.0.1 with PHP 5.2.0 and APACHE 2.2.3on DEBIAN - 07-08-2008 , 02:21 PM



The steps in the manual provide all of the information you should need
to get PHP working. Use the pre-built PHP 5.2.0 driver that came with
your SQL Anywhere installation and copy it to your php_extension_dir
(this is either in your php.ini file or hard-coded, run "php --info" or
use the phpinfo() function to find the correct location). Then add the
extension entry in php.ini.

Once you have done the above, make sure that $SQLANY10/lib32 (or lib64,
depending on the pointersize that PHP is using) is in your
LD_LIBRARY_PATH (source sa_config.sh from the appropriate
$SQLANY10/binXX directory). You should be able to run php from the
command line at this point. Try one of the sample scripts. If that
does not work, it should give you a useful error message. If it does
work, then you are pretty well good to go.

One common problem when running under Apache is that the environment is
not set up properly. Find the apache (or httpd) script in /etc/init.d,
and make sure that the correct sa_config.sh script is being sourced for
your Apache server.

You can verify your setup by creating a simple PHP script that just
calls phpinfo(). Run that through Apache, and look for the SQL Anywhere
information. If you don't see it, check the environment section to
ensure that LD_LIBRARY_PATH is set. If it is not set, then go back to
your init script and find out why.

Let me know if you have further problems.

Cheers,
Phil

avillamizarb (AT) gmail (DOT) com wrote:
Quote:
hello, I need help with ASA 10.0.1 with PHP5.2.0 common in Apache
2.2.3 environment Debi 4.03 I can not connect to travez of odbc, I
followed the steps outlined in the installation manuals and fails to
connect tells me the following error :

Fatal error: Call to undefined function sqlanywhere_connect () in /
var/www/apache2-default/connect.php on line 2

I need to indicate to me step by step more detailed installation and
configuration with sqlanywhere10.0.1 odbc, php5.2.0, apache2.2.6
environment in debian

Thank you

Reply With Quote
  #8  
Old   
Phil Mitchell
 
Posts: n/a

Default Re: HELP CONFIGURATION ASA 10.0.1 with PHP 5.2.0 and APACHE 2.2.3on DEBIAN - 07-08-2008 , 02:21 PM



The steps in the manual provide all of the information you should need
to get PHP working. Use the pre-built PHP 5.2.0 driver that came with
your SQL Anywhere installation and copy it to your php_extension_dir
(this is either in your php.ini file or hard-coded, run "php --info" or
use the phpinfo() function to find the correct location). Then add the
extension entry in php.ini.

Once you have done the above, make sure that $SQLANY10/lib32 (or lib64,
depending on the pointersize that PHP is using) is in your
LD_LIBRARY_PATH (source sa_config.sh from the appropriate
$SQLANY10/binXX directory). You should be able to run php from the
command line at this point. Try one of the sample scripts. If that
does not work, it should give you a useful error message. If it does
work, then you are pretty well good to go.

One common problem when running under Apache is that the environment is
not set up properly. Find the apache (or httpd) script in /etc/init.d,
and make sure that the correct sa_config.sh script is being sourced for
your Apache server.

You can verify your setup by creating a simple PHP script that just
calls phpinfo(). Run that through Apache, and look for the SQL Anywhere
information. If you don't see it, check the environment section to
ensure that LD_LIBRARY_PATH is set. If it is not set, then go back to
your init script and find out why.

Let me know if you have further problems.

Cheers,
Phil

avillamizarb (AT) gmail (DOT) com wrote:
Quote:
hello, I need help with ASA 10.0.1 with PHP5.2.0 common in Apache
2.2.3 environment Debi 4.03 I can not connect to travez of odbc, I
followed the steps outlined in the installation manuals and fails to
connect tells me the following error :

Fatal error: Call to undefined function sqlanywhere_connect () in /
var/www/apache2-default/connect.php on line 2

I need to indicate to me step by step more detailed installation and
configuration with sqlanywhere10.0.1 odbc, php5.2.0, apache2.2.6
environment in debian

Thank you

Reply With Quote
  #9  
Old   
Phil Mitchell
 
Posts: n/a

Default Re: HELP CONFIGURATION ASA 10.0.1 with PHP 5.2.0 and APACHE 2.2.3on DEBIAN - 07-08-2008 , 02:21 PM



The steps in the manual provide all of the information you should need
to get PHP working. Use the pre-built PHP 5.2.0 driver that came with
your SQL Anywhere installation and copy it to your php_extension_dir
(this is either in your php.ini file or hard-coded, run "php --info" or
use the phpinfo() function to find the correct location). Then add the
extension entry in php.ini.

Once you have done the above, make sure that $SQLANY10/lib32 (or lib64,
depending on the pointersize that PHP is using) is in your
LD_LIBRARY_PATH (source sa_config.sh from the appropriate
$SQLANY10/binXX directory). You should be able to run php from the
command line at this point. Try one of the sample scripts. If that
does not work, it should give you a useful error message. If it does
work, then you are pretty well good to go.

One common problem when running under Apache is that the environment is
not set up properly. Find the apache (or httpd) script in /etc/init.d,
and make sure that the correct sa_config.sh script is being sourced for
your Apache server.

You can verify your setup by creating a simple PHP script that just
calls phpinfo(). Run that through Apache, and look for the SQL Anywhere
information. If you don't see it, check the environment section to
ensure that LD_LIBRARY_PATH is set. If it is not set, then go back to
your init script and find out why.

Let me know if you have further problems.

Cheers,
Phil

avillamizarb (AT) gmail (DOT) com wrote:
Quote:
hello, I need help with ASA 10.0.1 with PHP5.2.0 common in Apache
2.2.3 environment Debi 4.03 I can not connect to travez of odbc, I
followed the steps outlined in the installation manuals and fails to
connect tells me the following error :

Fatal error: Call to undefined function sqlanywhere_connect () in /
var/www/apache2-default/connect.php on line 2

I need to indicate to me step by step more detailed installation and
configuration with sqlanywhere10.0.1 odbc, php5.2.0, apache2.2.6
environment in debian

Thank you

Reply With Quote
  #10  
Old   
Phil Mitchell
 
Posts: n/a

Default Re: HELP CONFIGURATION ASA 10.0.1 with PHP 5.2.0 and APACHE 2.2.3on DEBIAN - 07-08-2008 , 02:21 PM



The steps in the manual provide all of the information you should need
to get PHP working. Use the pre-built PHP 5.2.0 driver that came with
your SQL Anywhere installation and copy it to your php_extension_dir
(this is either in your php.ini file or hard-coded, run "php --info" or
use the phpinfo() function to find the correct location). Then add the
extension entry in php.ini.

Once you have done the above, make sure that $SQLANY10/lib32 (or lib64,
depending on the pointersize that PHP is using) is in your
LD_LIBRARY_PATH (source sa_config.sh from the appropriate
$SQLANY10/binXX directory). You should be able to run php from the
command line at this point. Try one of the sample scripts. If that
does not work, it should give you a useful error message. If it does
work, then you are pretty well good to go.

One common problem when running under Apache is that the environment is
not set up properly. Find the apache (or httpd) script in /etc/init.d,
and make sure that the correct sa_config.sh script is being sourced for
your Apache server.

You can verify your setup by creating a simple PHP script that just
calls phpinfo(). Run that through Apache, and look for the SQL Anywhere
information. If you don't see it, check the environment section to
ensure that LD_LIBRARY_PATH is set. If it is not set, then go back to
your init script and find out why.

Let me know if you have further problems.

Cheers,
Phil

avillamizarb (AT) gmail (DOT) com wrote:
Quote:
hello, I need help with ASA 10.0.1 with PHP5.2.0 common in Apache
2.2.3 environment Debi 4.03 I can not connect to travez of odbc, I
followed the steps outlined in the installation manuals and fails to
connect tells me the following error :

Fatal error: Call to undefined function sqlanywhere_connect () in /
var/www/apache2-default/connect.php on line 2

I need to indicate to me step by step more detailed installation and
configuration with sqlanywhere10.0.1 odbc, php5.2.0, apache2.2.6
environment in debian

Thank you

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.