Can oracle instant client be installed in an Azure Web App - php

We've installed oracle instant client into an Azure virtual machine and all is running ok. Our Oracle database is external to Azure.
However running a VM seems to be an overkill for our application and we are wondering whether we can connect from our PHP based web application to our oracle instance from an Azure Web App instead.
Is this possible and if so how?
thanks

Currently, we cannot install oracle instant client on Azure Web Apps. So we can leverage Azure VM to install oracle instant client.

You can connect Azure Web Apps- PHP with Oracle using OCI8 drivers, take a look at this reference: https://blogs.msdn.microsoft.com/azureossds/2016/02/23/access-oracle-databases-from-azure-web-apps-using-oci8-drivers-with-php/

Related

How to start a PHP Websocket server on Microsoft Azure?

I was able to setup WebSocket on Azure.WebSockets enabled on Azure
But my issue is : how to start the PHP ws server?
I have used this sample implementation https://github.com/ghedipunk/PHP-Websockets successfuy on my computer but I am not able to start the server in MS Azure.
All Azure Web Apps run in a secure environment called a sandbox. In the sandbox, each app is processed by Microsoft IIS. An app runs through PHP's Command Line Interface (CLI) is not allowed. For more details, please refer to Azure Web App sandbox.
In order to be able to run PHP-WebSockets in Azure, you need to host in something like a Virtual Machines, Cloud Services, or Containers, rather than Web Apps.

How can I install ssh2 in Windows_NT (Azure web service) to connect VM from web service?

To make my question more clear, I'm breaking them into parts.
I have created webpage in Microsoft azure using app service {http://####.azurewebsites.net}
I have created virtual machine linux (Ubuntu) platform
Both the service (web and vm) are in the same account (#####outlook.com).
Now, I want to connect web service with vm. I have seen solutions connecting using ssh2 in php codes as shown here.
I tried this in my local system (ubuntu). It was working fine.
Now I want to connect to vm from web service. For this purpose how can I install ssh2 in webservice provided by azure.
I have logged into azure web service via ftp using terminal. It shows remote system is Windows_NT.
How can I install ssh2 into webservice so that I can access vm from webservice.
Any help appreciated. Thank You

Oracle Instant Client - with Docker and PHP

I have a web application written in PHP and using codeigniter, it currently runs on WAMP but I am soon moving to a linux based server and would like to use Docker.
The application has to connect to an Oracle database and currently I use Oracle Instant Client which works a treat.
When I move to Linux & Docker how will I integrate PHP with Oracle Instant Client?

Connect to Quickbooks using QODBC driver remotely via PHP

I have Quickbooks installed on a local machine. QODBC is installed and I can successfully connect to QB both with their VB demo test tools and via PHP running on the local machine.
I'm simply using odbc_connect("QuickBooks Data", "", "");
However, I need to connect back to this machine from a remote machine where PHP is running the same script. What should the connection string look like? Should I be connecting to QuickBooks Data or QuickBooks Data QRemote
It seems that QRemote is meant to work only if the Remote Client is installed on the remote machine. As I'm connecting from a Linux (non gui) machine, I don't believe that's possible. However, I have opened up the necessary ports to connect to QRemote and verified via telnet that it's open.
How do I connect? Thanks.
For now, QODBC cannot be installed on Linux machine. But if you know any driver or method to link Linux to call DSN/Driver on the machine, you should be able to use QODBC from Linux.
Please share if you are interested in a Linux client for QRemote which will connect to QuickBooks Data on the Windows machine. We are collecting votes for Developing/Adding feature for Linux Client or QRemote Driver(Linux). (To show you interest toward Linux client for QRemote, Raise a support ticket at http://support.flexquarters.com/esupport/index.php?/Tickets/Submit )
For now, you can use a windows box at the remote site.
I would request you to refer
Accessing QuickBooks Data Remotely using QODBC & QRemote. (Video)
http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2517/
&
http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2483/0/using-quickbooks-data-remotely-via-qodbc
FAQ & Knowledge base : http://support.qodbc.com/
I would suggest to use Windows machine instead of Linux machine, install PHP, use either IIS or Apache and install QODBC.
With QODBC , QRemote will get install automatically. QRemote can work locally and remotely.
If you have QuickBooks Install the the PHP machine, you can use QuickBooks Data QRemote and connect locally.
Incase you have QuickBooks on remote machine, you can configure the DSN "QuickBooks Data QRemote" and point to remote machine's IP Address.
QODBC driver is meant to be installed on a Windows machine to access the data.
Refer :
Accessing QuickBooks Data Remotely using QODBC & QRemote. (Video)
http://support.flexquarters.com/esupport/index.php?/Default/Knowledgebase/Article/View/2517/
How to use QODBC with PHP
http://support.flexquarters.com/esupport/index.php?/Knowledgebase/Article/View/2623/0/how-to-use-qodbc-with-php

hybrid connection using azure hybrid cloud service

Installed with hybrid connection manager in my azure account. tried to connect local LAN server from azure web app.
https://azure.microsoft.com/en-in/documentation/articles/integration-hybrid-connection-create-manage/
Followed all steps above but no use. credentials of my local host are correct as i have connected SQL server from xampp PHP server.
All I want to know where might be the mistake.
Thanks,

Categories