I use DOMPDF to create PDF files inside a symfony application.
It works fine on my current production server. I was instructed to move this to a new server. I checked the code on the new server, and although it still creates the PDF file, most of the formatting is broken.
Here is an example of what is happening:
http://geoffreymaddock.com/work/project-dompdf-working.jpg
http://geoffreymaddock.com/work/project-dompdf-broken.jpg
Some of the formatting operations are on the new server, and some are not.
Both servers have the same code. They both run php 5.1.6.
The only difference that I really see is the presence on the new server of additional php modules. I am not sure what might cause this problem.
Production Server Modules: [PHP Modules] BZ2 Calendar CType Curl Date House EXIF FTP GD Gettext GMP hash Iconv LDAP LibXML mime_magic MSSQL MySQL MySQLi oci8 ODBC OpenSSL pcntl PCRE PDO PDO_MySQL PDO_ODBC Pdo_Sqlite POSIX pspell reflection session shmop SimpleXML SNMP Sockets SPL standard sysvmsg sysvsem sysvml xlsml xml xlsml dlsm
New server modules:
[ PHP]
BCMath
BZ2
CType
EXIF
FTP
..
Gettext
Iconv
IMAP
LDAP
LibXML
MBstring
mime_magic
MSSQL
MySQL
MySQLi
Ncurses
oci8
ODBC
OpenSSL
PCRE
PDO
pdo_dblib
PDO_MySQL
pdo_Oci
PDO_ODBC
Pdo_Sqlite
phpcups
POSIX
pspell
shmop
SimpleXML
SNMP
SPL
SQLite
sysvmsg
sysvsem
sysvshm
WDDX
XML
XmlReader
XMLRPC
XmlWriter
XSL
Zlib
- ?