Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm trying to install wkhtmltopdf on my debian linux server so I will be able to test if it creates a pdf from a url.
I've downloaded wkhtmltopdf-0.9.9-static-i386.tar.bz2 and extracted it's contents to a directory.
When I try to test if it's working, I came across the next error:
/usr/local/bin# wkhtmltopdf http://google.com google.pdf
wkhtmltopdf: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory
I'm trying to install https://github.com/KnpLabs/KnpSnappyBundle on my symfony2 and I think I need to install wkhtmltopdf on my linux first. Am I right?
It took me a few hours to solve this one, but you need to install libfontconfig1 also e.g.:
apt-get install libfontconfig1
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I installed ffmpeg by doing sudo apt-get install ffmpeg
From a terminal, when I run /usr/bin/ffprobe -help it runs properly, but it is not running from my package. Instead I get the exception in the title: Your FFProbe version is too old and soes not support '-help'
I am using laravel and i have installed this package https://github.com/PHP-FFMpeg/PHP-FFMpeg
Where am i going wrong?
I found the solution to this issue after 22 days
Step 1
Download ffmpeg link
Step 2
Extract and rename ffmpeg
Step 3
Ubuntu
$ffmpeg = \FFMpeg\FFMpeg::create(array(
'ffmpeg.binaries' => /home/shubhamazad/Downloads/ffmpeg/ffmpeg',
'ffprobe.binaries' =>/home/shubhamazad/Downloads/ffmpeg/ffprobe'
));
Windows
$ffmpeg = \FFMpeg\FFMpeg::create(array(
'ffmpeg.binaries' =>'C:\user\Downloads\ffmpeg\bin\ffmpeg.exe',
'ffprobe.binaries' =>'C:\user\Downloads\ffmpeg\bin\ffprobe.exe'
));
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I just installed PHP and Apache2 on my laptop (ubuntu 12.04), but I can't get my PHP files to load. I have followed this tutorial: http://www.howtogeek.com/howto/ubuntu/installing-php5-and-apache-on-ubuntu/ , and the index.html file works, but when I try any php, I get a server error.
I looked online for a few hours, and I added "AddType application/x-httpd-php .php" to my httpd.conf (but I don't think I'm supposed to be editing that file for the ubuntu version??) in /etc/apache2/, which somehow let ONE php file load (which just contains phpinfo()). I then tried making a new php file with the same code, but that one won't load (server error). I have no idea why it only loads that specific file. I have tried restarting apache and opening the other one first, but for some reason, it only loads the first file. I also tried to move the file to another directory in /var/www/, but not dice. I hope this makes sense, because I'm a beginner here.
any help would be appreciated!!
I think you didn't install the last version of php, try to install php5
apt-get install php5
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Is Composer designed to be installed on a web server or on a local computer?
It is designed for both.
You can use it in development (you will use composer update a lot then) and you can use it in production (you will install your dependencies with composer install then).
In development phrase, you define with which dependencies your project works. And in production, you make sure these dependencies are installed.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I installed php with make install. Now I go to the directory I compiled my php and do make uninstall. It throws this error make: *** No rule to make target 'uninstall'. stop..
What is going on?
Centos6
PHP 5
If there is no 'uninstall' target, there isn't any automated way to uninstall and remove files.
If by luck you built your php in a 100% dedicated directory (/opt/your/php for example) then uninstalling may be as simple as removing this dedicated directory, as everything generated at build/compile time will be contained inside this directory.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
So I'm trying to get Tidy2.0 installed on my Karmic, following this guide:
http://www.howtoforge.com/forums/archive/index.php/t-7395.html
I figured everything would work, but it seems the source for Tidy2.0 is no longer live:
http://support.office-shadow.com/installer/tidy2.0.tar.gz
That site is still live though (office-shadow.com, namely), but it doesn't seem like they're hosting the extension anymore. Thus, I'm hoping someone here has it sitting somewhere on a box. Please? Help?
Thanks.
sudo aptitude install php5-dev libtidy-dev
#you may have to install other libs, like gcc, build-essential, etc.
#see the guides on how to compile PHP, for instance
svn co http://svn.php.net/repository/php/php-src/branches/PHP_5_3/ext/tidy/
cd tidy
phpize
./configure
make
sudo make install
Basically, I just replaced http://support.office-shadow.com/installer/tidy2.0.tar.gz with the repository location. If you're using PHP 5.2, replace PHP_5_3 with PHP_5_2.