NuSphere Forums
 DB-Form Wizard - connect to MSSQL - which PHP-Version

 Joined: 04 Nov 2015 Posts: 3
 Posted: Mon Jan 25, 2016 4:22 am
Hi Forum

I'm working with PhpEd v16 Professional.

I d'like to use the DB-Form Wizard with MSSQL. But i am not able to connect to the DB.

As i know, i have to copy the two files...
- db_mssql.inc
- db_utils.inc
... from the \php_ed\include_lib directory to my "working directory" (where the generated form-file is saved).

I think the problem ist, that i don't have the right PHP-Version (correspondig to the db_xy.inc files from phpEd).

Could you please tell me, which Version of PHP is the right here?

I tried:
- 5.2.1 (with php_mssql.dll enabled)
- 5.3.3 (php_sqlsrv_53_nts_vc9.dll enabled)
- 5.4.7 (php_sqlsrv_54_nts.php enabled)
- 5.4.22 (php_sqlsrv_54_nts.dll enabled)
- 5.6.4 (php_sqlsrv_56_nts.dll enabled)

Thank you very much in advance - and sorry for my english!
kuisli

 Joined: 04 Nov 2015 Posts: 3
 Posted: Mon Jan 25, 2016 5:25 am
Thank you AR1.

Yes, i've read all the files. Unfortunately there is no hint about the corresponding PHP-version for db_utils.inc and db_mssql.inc

In db_mssql.inc there's the function "mssql_connect()" - which (as far as i know) - must be an older one. The Extension php_mssql.dll is here needed. But 5.2.1 won't work either.
Could it realy be older then PHP 5.2?!

Anyone out there, who can create a Form with the DB-Wizard, which connects successfully to an MSSQL-database?

Woul'd be very nice, if there are more hint's to this secret mystery
Thank you!