lundi 26 juillet 2021

Display problem: pdo_sqlsrv cuts long texts

I developed a web interface with Symfony 5, using a SQL Server database. I used the php connector pdo_sqlsrv on my local machine, with the use of WAMP.

Locally, everything works perfectly. However, when I deploy my website on a Linux server, I have problems displaying text. When I just want to display text from my database, it is cut off after 6976 characters. However, I use the same connector pdo_sqlsrv version 5.8.1 on the server.

After several searches, I could not find the problem. Do you have any solutions for this problem? Is there any PHP or Apache configuration to do?

Many Thanks.




Aucun commentaire:

Enregistrer un commentaire