In order to have these functions available, you must compile PHP with fbsql support by using the --with-fbsql[ =DIR] option.
You must install the FrontBase database server or at least the fbsql client libraries to use this functions. You can get FrontBase from http://www.frontbase.com/.