cancel
Showing results for 
Search instead for 
Did you mean: 

Basic Server Setup for ADS & PHP Web Application

dnsdaniel
Explorer
0 Kudos

Hello, I am not new to PHP or ADS but am new to combining the two and need advice from those more experienced.

I have need to build a PHP web application that talks to an ADS and want to setup and test on my own server, and will later connect the application from my server to another server where the database is located. Is Windows or Linux best? I noticed there are only downloads for the Advantage Web Platform in Windows (as well as the Architect) but I already have a Linux server in mind for testing.

I realize I have to setup the PHP Extension (Driver) but am unsure what all else, and exactly what steps and in what order, etc. Basic server setup and getting started is where I need the most input, please.

Then regarding the application, I have the example PHP application from CodeCentral but imagine it would be deprecated by now? Please advise; any help or pointing in the right direction is much appreciated, in advance! Thank you!

My reading and download plans, so far -> Please steer if I'm going down the wrong path . . .

Advantage Database Server for Linux 64-bit
http://devzone.advantagedatabase.com/dz/content.aspx?Key=20ℜlease=19∏=25&Platform=10

Advantage Web Platform (Windows 32-bit only - not for Linux?)
http://devzone.advantagedatabase.com/dz/content.aspx?Key=20ℜlease=19∏=31&Platform=6

Advantage PHP Extension

Linux 64-bit Download Link:
http://devzone.advantagedatabase.com/dz/content.aspx?key=20ℜlease=19∏=16&Platform=10

Linux Installation Notes:
https://devzone.advantagedatabase.com/dz/webhelp/advantage10/php_linux_installation_notes.htm


Daniel

Accepted Solutions (0)

Answers (1)

Answers (1)

joachim_drr
Contributor
0 Kudos

I'd suggest to use ODBC in order to connect ADS from a PHP app. The ADS PHP driver does not support actual PHP versions. Web Platform is only required when connecting via REST/ODATA. It is based on Apache, but also uses an outdated version.