Search found 5 matches

by kziel
Wed Jun 28, 2023 8:36 am
Forum: PHP
Topic: How to install and configure the connection to mssql in php8.2?
Replies: 9
Views: 141694

Re: How to install and configure the connection to mssql in php8.2?

I can see the content of a php file with mssql in the browser but I don't know why the database doesn't connect with remote ip. I have tested it from Microsoft SQL Server Manager Studio, and I connect it to the database, it works, but it doesn't work from Vesta. I think something is missing in the w...
by kziel
Tue Jun 27, 2023 5:21 pm
Forum: PHP
Topic: How to install and configure the connection to mssql in php8.2?
Replies: 9
Views: 141694

Re: How to install and configure the connection to mssql in php8.2?

myVesta wrote: Tue Jun 27, 2023 1:44 pm try:

Code: Select all

apt update
apt install -y php8.2-dev
After executing that command I had this error:
plat.h:30:10: fatal error: sql.h: No such file or directory
I corrected it with this:

Code: Select all

sudo apt-get install unixodbc-dev
Thank you very much for the help.
by kziel
Tue Jun 27, 2023 12:13 pm
Forum: PHP
Topic: How to install and configure the connection to mssql in php8.2?
Replies: 9
Views: 141694

Re: how to install and configure the connection to mssql in php8.2?

when i use pecl install sqlsrv i get the following error: WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-upd ate pecl.php.net" to update downloading sqlsrv-5.11.0.tgz ... Starting to download sqlsrv-5.11.0.tgz (192,671 bytes) ...........................
by kziel
Sat Jun 24, 2023 12:15 pm
Forum: PHP
Topic: How to install and configure the connection to mssql in php8.2?
Replies: 9
Views: 141694

Re: how to install and configure the connection to mysql in php8.2?

myVesta wrote: Mon Jun 12, 2023 9:12 pm mysql or mssql?
in subject you wrote 'mysql'
I'm sorry I wrote mysql in the title, what I need is to connect to mssql.
by kziel
Mon Jun 12, 2023 5:01 pm
Forum: PHP
Topic: How to install and configure the connection to mssql in php8.2?
Replies: 9
Views: 141694

How to install and configure the connection to mssql in php8.2?

Hello, I want to connect to a mssql database but I don't know how to install and activate the extensions for myvesta, can someone please help me?