My php project in aws cloud server but my oracle databse on-premises how to connect? is it possible? Somebody suggested me to do with php rest api method
If you are trying to connect via the internet the connection can be established using public ips. But if you are looking for more secure and scalable solution please read the following.