We are using Linux Debian(x64) for the example.
We must perform the entire procedure as super user (root).
1- We must enable the armhf architecture for libct4 library to be available for installation.
We must enable the i386 architecture for the libct4:i386 library to be available for installation.
1.1- Perform the update.
1.2- Install the library libct4.
1.3- Install the library libct4:i386.
1.4 - Confirm the libraries installation.
1.5- Verify the installation location of the libct4:i386 library.
1.6- Create a temporary link to the file libct.so.4.
1- We will access the folder where php.ini is in: /opt/NetMake/v81/components/apache/conf/
1.1- Edit the file named php.ini.
1.2- Add the line extension=sybase_ct.so in php.ini extensions area.
1.3- We must copy the module sybase_ct.so for the PHP extensions folder placed in: /opt/NetMake/v81/components/apache/ext/
1.4- We must restart Scriptcase Apache, so the changes are visible for PHP.
At the end, when accessing the diagnosis of Scriptcase, we can check the extension enabled.
Currently Scriptcase offers a driver to connect with the Sybase database: Sybase.
You can see the features below:
Sybase ( Recommended ) : Allows the connection to be made with Sybase using the native PHP driver ( sybase_ct ), which is superior in processing speed and constantly updated.
Now we’ll access Scriptcase from Scriptcase from the browser and create a connection with the Sybase database.
Step 1: Access your Scriptcase, for example, http://localhost:8081/scriptcase/ on the toolbar go to the marked icon in the image below, referring to “New Connection”.
Step 2: After clicking “New Connection”, the page for creating connections will appear, click on the Sybase database image.
Step 3: On the following image, place the required information:
For more details on configuring the connection of the database click on Advanced
Step 4: Always test your connection before saving, if the message “Connection Success” appears, then save the connection. If it fails to connect, revise the fields that were informed, especially Username, Password, Database and Server/Host.
Verify if the module is enabled in the diagnosis.