PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I searched DEVNET around but it was not possible to find what I am looking for:
1 - I am runing PHP Version 5.2.0-8+etch13;
2 - Server : Debian;
3 - I NEED TO ACCESS REMOTELY: SQL SERVER outside this linux dist...and when I try to do it - I receive the following information: Fatal error: Call to undefined function mssql_connect()
The LOAD MODULES is "empty". So I need to compile php.ini as well as httpd.conf (apache).
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
;
; If you wish to have an extension loaded automatically, use the following
; syntax:
;
; extension=modulename.extension
;
; For example, on Windows:
;
; extension=msql.dll
;
; ... or under UNIX:
;
; extension=msql.so
;
; Note that it should be the name of the module only; no directory information
; needs to go here. Specify the location of the extension with the
; extension_dir directive above.
But I get lost in this point. I need some help to solve this.
As I stated above - I am using a Linux dist: DEBIAN. So, Debian make use of apt-get...
Following an instruction taken from another site and checking out that I had the following directories exactly in these paths:
The Ini´s files must be found in: /etc/php5
=====================================
Check it out: /etc/php5/conf.d - all ini here will be loaded.
Check it out: /etc/php5/apache2 - you must find the php.ini (main file) loaded by Apache.
Check it out: /etc/php5/cli - you must find the php.ini to command line.
If you have this above (it s not 100% guaranteed) you can make use of:
apt-get install php5-sybase // if you are logged as root!