Installing PHP, Ffmpeg And Things On Debian GNU/Linux 4.0
May 14, 2009
I have a shared hosting account on dreamhost
It has php and others installed but it allows custom installations for a number of reasons (control of the php.ini file, ...).
I have shell and ftp access to /home/username/ where my websites are
(/home/username/domain.ltd)
I installed php 5.2.9 under /home/username/php5,
I also installed ffmpeg but I ran into troubles installing ffmpeg-php.
Now I would like to start over, I'm not very advanced in this and I probably messed some stuff up. It seemed like a good idea to ask for some general advice before going at it again.
First, I was wondering about the filesystem I needed to set up, like the bin, tmp, lib, ... directories. Which ones do I need and what should go in them.
And how exactly do I let the system know these folders are there and it should look there for some commands. When I used phpize, it used the default one instead of the one in my custom php folder. Is the export command all there is to it?
When I install PHP, where should I install it and do I need to point it to my directories (bin, lib, etc...) instead of the ones in the host's root.
I noticed when installing ffmpeg-php it still looked for the default ones at some points:
HTML Code:
"checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend..."
I don't know if this is normal behaviour or not, I'm just basically writing everything I am unsure about.
I got my website to use the custom PHP by editting the htaccess file
Also,
what would be the best approach to remove the things I currently installed, I suppose remove the php5 directory is not enough.
View 0 Replies
ADVERTISEMENT
Aug 25, 2005
Hi there, I was wondering if anyone have installed ffmpeg-php under windows successfully or you might understand how to do it?
By default it's for linux, but there is a version for win made by some guy/guys to be found here: ffmpeg google groups
Problem is, I don't understand how to install? Could anyone explain, thanks!
Edit: Got it to work!
avcodec.dll (copy to WindowsSystem32)
avformat.dll (copy to WindowsSystem32)
php_ffmpeg.dll (php dir)
Add: extension=php_ffmpeg.dll <- to php.ini
All the other files confused me
View 0 Replies
View Related
Sep 25, 2006
We have a managed VPS, and have never needed on our own dedicated servers in teh past to have FFMPEG due to the line of data we host. So, I asked our provider to please install FFMPEG onto our server.
This is the response I have received:
FFMpeg requires PHP to be compiled as CGI (PHPsuexec) that is only officially supported by cPanel. So in order to install FFMpeg modules we have to resetup your VPS with cPanel.
Now our VPS is running Direct Admin on CentOS.
I am not trying to poke holes at our provider, just trying to find out if this is the truth, or if there is a work around that can accomplish this.
I do not want CPANEL on our account. We have two unix techs here at work, however unfortunately they are both off for two weeks as of middle of last week, so i'm caught with who to look for to gain a second opinion.
View 1 Replies
View Related
Sep 14, 2007
I was trying to install:
FFmpeg
FFmpeg-PHP
Flv2tool
LAME MP3 Encoder
I have read this instructions in here:
[url]
But to this step:
12. Compile FFMPEG
cd ~/ffmpeg/ffmpeg
./configure --enable-libmp3lame --enable-libogg --enable-libvorbis --disable-mmx --enable-shared
echo '#define HAVE_LRINTF 1' >> config.h
make
make install
I got an error like this:
Quote:
[root@host ffmpeg]# ./configure --enable-libmp3lame --enable-libogg --enable-libvorbis --disable-mmx --enable-shared
Unable to create and execute files in /tmp. Set the TMPDIR environment
variable to another directory and make sure that /tmp is not mounted
noexec.
Sanity test failed.
If you think configure made a mistake, make sure you are using the latest
version from SVN. If the latest version fails, report the problem to the
ffmpeg-devel@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.err" produced by configure as this will help
solving the problem.
View 14 Replies
View Related
Nov 4, 2006
Where can i find a step-by-step guide on how to install ffmpeg-php on windows?
I got totally lost while doing that. Below are the steps i'v taken so far:
- Dled Windows EXT from here: http://sourceforge.net/project/showf...roup_id=122353 (ffmpeg_new.rar)
- Unzipped it.
-Copied all php_ffmpeg_... dlls into php's ext dir
-Copied avformat.dll and avcodec.dll to system32 folder
-Activated ext (i am using WAMP5)
-Restarted Apache
-Ran phpinfo(); and didnt see the ext activated.
View 0 Replies
View Related
Nov 24, 2007
i dont have this preinstalled..
Can anyone guide me on its installation
View 3 Replies
View Related
Apr 20, 2008
These three encoders are required as part of installation on my script, but they don't come with guides, anyone got ANY clue on how to go about installing these?
View 10 Replies
View Related
Apr 6, 2009
Has anyone else here installed ffmpeg? I'm almost done getting it setup when I ran into an error which I don't understand. My theory is that I have a version conflict, but I'm not sure how to fix this or what software is conflicting.
Here's the error:
Code:
Warning: Module 'ffmpeg' already loaded in Unknown on line 0
/usr/local/bin/php: symbol lookup error: modules/ffmpeg.so: undefined symbol: avcodec_build
I get this on "make test" for ffmpeg-php-0.5.1. All test's fail.
View 11 Replies
View Related
Apr 13, 2009
Need help installing ffmepg, ffmpeg-php, flvtool2,mplayer,menconder and such for a video hosting site. I own a vps and I have full root access and I want to know how to do that. Can anyone link me to a tutorial or post it here?
View 10 Replies
View Related
Oct 9, 2008
I just ordered a server which has that setup:
AMD Athlon 64 X2 6000+ Dual Core
8MB RAM
2x750GB RAID 1 HD
Now I wanna run it with DirectAdmin, but obviously DirectAdmin doesn´t support the Debian 64 which is installed but only 32 bit Debian.
Now I wonder wether I could setup a Debian 32 as well on that system and if yes, wether it would give me a deficit in Performance?
Or would you rather go with CentOS 64 which Directadmin supports?
View 6 Replies
View Related
Oct 21, 2009
When i try to install all those things i am getting error...i am following the things given in below link but i am not to excute this svn command
[url]
View 6 Replies
View Related
Jun 9, 2009
The hosting with FFMPEG, FFMPEG-PHP, Xvid, Mp3lame, FLV2Tool Support is necessary.
It was pleasant downtownhost.com,
But cost 4.95 only at payment of 36 months! It is a lot of ((
There are similar variants?
View 13 Replies
View Related
May 7, 2009
my plan for the network is:
LAN (10.0.0.0/24) > (eth0: 10.0.0.62) Debian Router (eth1: 172.16.0.62) > modem (172.16.0.1) > internet
I have change /proc/sys/net/ipv4/ip_forward from 0 to 1
and Routing table is:
Destination Gateway Genmask Flags Metric Ref Use Iface
172.16.0.62 * 255.255.255.255 UH 0 0 0 eth0
10.0.0.62 * 255.255.255.255 UH 0 0 0 eth0
10.0.0.0 10.0.0.62 255.255.255.0 UG 0 0 0 eth0
10.0.0.0 * 255.255.255.0 U 0 0 0 eth0
172.16.0.0 172.16.0.62 255.255.255.0 UG 0 0 0 eth1
172.16.0.0 * 255.255.255.0 U 0 0 0 eth1
default 172.16.0.1 0.0.0.0 UG 0 0 0 eth1
But client not connect internet when use debian router
config debian router?
View 6 Replies
View Related
Apr 19, 2007
yesterday i order one server in netdirekt but the server only have one hdd mount i need mount the other but first i need make one partition of it
Quote:
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 30140 242099518+ 83 Linux
/dev/sda2 30141 30401 2096482+ 82 Linux swap / Solaris
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb doesn't contain a valid partition table
can anyone help me to creat a partition for /dev/sdb with 250.0GB ?
for then i mount like that : mount /dev/sdb /home/user/hdd2
I think is that if I'm wrong let me know
View 4 Replies
View Related
Jun 24, 2015
Is it possible through Plesk Linux version on the root servers to update?If not and you will update the Debian itself, you have to note something? What should you back up before everything to make Plesk is working again? Is a complete reinstallation is required?
View 1 Replies
View Related
Jul 3, 2014
I have:
Debian 7.5
Plesk 12.0.18
In the hosting setting i have selected:
PHP support (Run PHP as FastCGI application , PHP version 5.4.4)
The web instead of interpreted php makes me do the download of a file. How can I fix?
View 2 Replies
View Related
Aug 18, 2014
It's possible to enable HHVM on debian host with plesk?
View 1 Replies
View Related
Jan 29, 2015
I am attempting to migrate from a debian os server with the latest plesk 12 to Centos (rather cloudlinux) and would like to know if there are any options that should not be checked during the process?
I recently tried to do the normal procedure, which is to transfer all objects, etc. And for some reason the percentage went from 1-50% to then back to zero.. but when clicking to check the current status, its still working
Status: in progress
Current operation deploying domain.com
current operation progress: empty bar
Different sites are transferring, but I am not sure if the migration will effect the system because the difference in OS folder structure and file location.
View 6 Replies
View Related
Jan 6, 2015
I am using apt-cron for automatic nightly security updates.
This morning, it won't install anything - here the log:
Code:
Jan 6 04:21:00 srv2 cron-apt: CRON-APT RUN [/etc/cron-apt/config]: Tue Jan 6 04:00:01 CET 2015
Jan 6 04:21:00 srv2 cron-apt: CRON-APT SLEEP: 1052, Tue Jan 6 04:17:33 CET 2015
Jan 6 04:21:00 srv2 cron-apt: CRON-APT ACTION: 3-download
Jan 6 04:21:00 srv2 cron-apt: CRON-APT LINE: /usr/bin/apt-get -o quiet=1 upgrade -d -y -o APT::Get::Show-Upgraded=true
[Code].....
View 1 Replies
View Related
May 24, 2014
How do I install FFMPEG on Pleslk 11.5?
View 1 Replies
View Related
Jul 18, 2014
Recently Debian released point release .6 of Debian Wheezy (Debian 7). This change in version number is causing all Plesk updates and upgrades to fail, due to 404 errors:
Code:
Getting new version of Parallels Installer...
File downloading parallels_installer_Debian_7.6_x86_64.md5sum:
ERROR: The required version '3.16.20' was not found on the server.
This could happen because of configuration error at the download site.
Failed to download the package [url] ....
The requested URL returned error: 404...This has been going on a couple of days. When will this be fixed?
View 2 Replies
View Related
Jan 13, 2015
sw-engine fails to start with the following message:
system is debian 7.0.7 with Plesk 12.0.18 I have the problem on two servers, it started after upgrading debian
/usr/bin/sw-engine: error while loading shared libraries: libruntime.so.1: cannot open shared object file: No such file or directory
View 2 Replies
View Related
Sep 5, 2008
I'm transcoding videos on a web server using ffmpeg and can successfully transcode some video formats but am having a few issues.
One of them is that I get a "Segmentation Fault" when trying to transcode a video in h.264 codec. I can't find much by searching and am wondering if that's a codec issue, or something else.
any experience with ffmpeg?
View 1 Replies
View Related
Sep 12, 2014
I have server with the Plesk control panel on Linux server and want to install ffmpeg + MPlayer + LAME + FLVtool2 + MediaInfo + Mencoder + MP4Box + neroAacEnc , but not sure about the steps to install it. Is there any script or easy steps to install ffmpeg + MPlayer + LAME + FLVtool2 + MediaInfo + Mencoder + MP4Box + neroAacEnc on my server.
View 1 Replies
View Related
Jan 31, 2015
For some reason I am having issues with latest Plesk with php and wordpress. HTML sites are fine, but all php and wordpress sites are giving a 502 error after fully migrating. I repaired with Webserver Configurations Troubleshooter and rebooted and its still giving me the same issue.Also, noticed my previous server had php 5.4.36, the new CentOS server has 5.4.37.
View 5 Replies
View Related
Aug 21, 2014
I have server with the Plesk control panel on Linux server and want to install ffmpeg but not sure about the steps to install it. Any script or easy steps to install ffmpeg on my server.
View 1 Replies
View Related
Jun 17, 2015
I have Plesk 12 panel on Debian 7 server.
When I try to add service to auto start using command:
# update-rc.d nginx defaults
update-rc.d: using dependency based boot sequencing
I got error:
insserv: warning: script 'kavehost' missing LSB tags and overrides
#
View 2 Replies
View Related
Jun 20, 2014
I am trying to install Magento on my apache server. I am running into the dreaded mcrypt issue as Magento needs it to run. I have now been googling for the past few hours and have gotten nowhere.
Here are my details:
Linux
Centos 5.5
PHP 5.3.3
x86_64
Plesk 12
I have tried installing all sorts of different repos and it just isn't working.
When I try to install using # yum install php-mcrypt I get the following:
Loaded plugins: fastestmirror
Package php-mysql is obsoleted by php-mysqlnd, trying to install php-mysqlnd-5.5.13-3.el5.remi.x86_64 instead
--> Processing Dependency: php53-gd for package: psa-php53-configurator
--> Processing Dependency: php53-imap for package: psa-php53-configurator
[Code].....
View 6 Replies
View Related
Jan 3, 2007
Quote:
Originally Posted by tanfwc
yum install gcc
hi tanfwc, opened up a new thread so where do I type this in? after these lines?
Quote:
cd /usr/local/src
wget ftp://ftp.ruby-lang.org/pub/ruby/sta...y-1.8.4.tar.gz (or latest stable version)
tar xvzf ruby-1.8.4.tar.gz
cd ruby-1.8.
View 12 Replies
View Related
Oct 26, 2009
I'm not sure if this is correct place to post this, but I had a look round and couldn't see anything particularly appropriate.
Can someone point me in the right direction... give me a link or some advice... I want to learn about 302 pages, 301 pages and other types of pages.
I read that 302 pages may mean a website's traffic is being redirected by someone else...?
Obviously, I want to know if someone is sneakily redirecting my traffic... and I need to protect myself against it.
View 4 Replies
View Related
Jan 18, 2008
I have been researching the vps market for a month or so now and have started to compile a list of questions to put to vps providers who get short listed. I would love some contributions!
1) What is the cpu and how is cpu capacity distributed, by account number limits, by assigning a certain number of mhz, is the asisgned capcity burstable?
2) ram is usually clearly advertised but who scalable is it? Can you add just extra ram or do you need to upgrade to the next package. Is it burstable and with what constraints.
3) are there any limits for the number of processes (shared hosting providers may limit processes to only a few, 15 for instance before terminating them). This isnt advertsised but need to be answered for dynamic sites with high traffic.
4) Number of simaltanious connections, both from individual Ips to the sites/account or to pop3 accounts. If the pop3 account sim con is low its will be annoying when trying to donwlaod email from several of your sites at the same time....attempts after the X number will fail.
5) Will your account have assigned bandwidth or will you just be sharing whatever connection 10/100mbps with the other uses on the server. This isnt such a big deal as a lot of servers will be streched to output 100mbps of data. If the connection is a 10mbps one then its much more important.
6) if you're used to a certain type of control panel make sure they have it and at what possible extra cost.
7) Check their terms and conditions for liability regards lost data. I chose a hosting company beofre because of their superior back up system, turns out they didnt use it and I lost 5 weeks of data (about $4000 loss for me). Their t & C avioded libility for any losses inspite of the fact that they advertises the b/u facility as a special feature.
8) quiz them on "Monitoring" and "Management". Us hosting novices may see these as the same thing but hosting companies do not. Monitoring is knowing that something is wrong, management is doing something about it. Many vps providers advertise full management but wait to be asked to fix problems that could have been lossing you money for days till one of your kind users lets you know.
9) What is their infrastructure...power, location, connectivity redundency like (ie how many T1,2 or 3 do they have and is that enough).
10) Support. Is it in house or outsourced....the later is bad as they are usually given little power to do anything and you have to wait longer for an inhouse guy to get off his lazy boy.
11) Do they limit the number of emails per period (ie like 500 per hour). This wont affect some but for those of us who have large memberships to send newsletters to this is a non starter.
View 3 Replies
View Related