Hi have Centos 6 installed and busy installing wkhtmltopdf, I only have one step left and that is to include extension=phpwkhtmltox.so to the php.ini file, I added it to /etc/php.ini and reloaded apache and the extention does not take effect.
I check /usr/lib64/php/modules/phpwkhtmltox.so and the file is present.
Is there anything I did wrong?
extension=...
phpinfo();
for the 'Loaded Configuration File' line - see if you are actually using /etc/php.ini (orphp -i | grep php.ini
- although this isn't the same in some environments). You may want to create a new ini file under/etc/php.d
and add your line to it (e.g.echo "extension=phpwkhtmltox.so" > /etc/php.d/phpwkhtmltox.ini
) . Finally, don't just add the line to the bottom of php.ini - the file is divided into sections, add it before the Module Settings.