LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-16-2014, 12:06 AM   #1
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Rep: Reputation: 61
David Vs Goliath - Help me install PHP+QB+AV on Ubuntu DedServ


Hey LQ,

I'm trying to make a mini youtube (no not for porn!) site. I want to be able to handle video uploads, and then compress them to various formats, add watermarks yatta yatta. I stumbled upon this: http://php-qb.net/index.php/2-uncate...php-and-ffmpeg

That looks like pretty good to me.

So I'm going through the setup process here: https://github.com/chung-leong/av/wi...ation-on-Linux

And when I do
Code:
phpize
I Get
Code:
wh33t@Wh33tBox:~$ phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the mod                       ule

wh33t@Wh33tBox:~$ sudo phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the mod                       ule
And yeah, I have no idea what that error means. I have a feeling it has something to do with where the tarball source is located. Currently it's ~

Code:
wh33t@Wh33tBox:~$ ls -l
total 112
-rw-rw-r-- 1 wh33t wh33t 23229 Feb 24  2014 av-1.3-php-5.4-debian-wheezy-64bit.tar.bz2
-rw------- 1 wh33t wh33t   422 Jun 15  2013 av.ini
-rw------- 1 wh33t wh33t 54210 Feb 24  2014 av.so
drwxrwxr-x 2 wh33t wh33t  4096 Dec  6 18:18 downloads
wh33t@Wh33tBox:~$ phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the module

wh33t@Wh33tBox:~$ sudo phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the module

Any ideas or tips in the right direction is greatly appreciated. Thanks buds.

Last edited by wh33t; 12-16-2014 at 12:09 AM.
 
Old 12-16-2014, 09:30 AM   #2
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbangified Debian 8 (Jessie)
Posts: 747
Blog Entries: 1

Rep: Reputation: 172Reputation: 172
My guess is that something went wrong with unpacking.
There are 13 objects in the tarball that I downloaded, one directory and 12 files. (including your missing 'config.m4')

Also, I may be wrong but it seems that good practice would suggest that this tarball should have been unpacked into a directory of it's own rather than unpacking it loosely into ~/
 
1 members found this post helpful.
Old 12-18-2014, 09:04 PM   #3
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Original Poster
Rep: Reputation: 61
Quote:
Originally Posted by qlue View Post
My guess is that something went wrong with unpacking.
There are 13 objects in the tarball that I downloaded, one directory and 12 files. (including your missing 'config.m4')

Also, I may be wrong but it seems that good practice would suggest that this tarball should have been unpacked into a directory of it's own rather than unpacking it loosely into ~/
Thanks, I'll try that and report back.
 
Old 12-18-2014, 09:20 PM   #4
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Original Poster
Rep: Reputation: 61
Thanks, I redownloaded it and actually looked up how to untar a tar.bz2 file. Currently going through the install now from source.
 
Old 12-19-2014, 01:37 AM   #5
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Original Poster
Rep: Reputation: 61
I managed to get QB into the system ok. Apache2 started up normally.

But now stuck again. I downloaded the av.so precompiled extension for Ubuntu, copied the contents of av.ini into my php.ini script and then moved the extension to /usr/lib/php5/20121212 and then did sudo php5enmod av.

Now when I try to sudo service apache2 restart I get this:

Code:
wh33t@Wh33tBox:/var/log/apache2$ sudo service apache2 restart
 * Restarting web server apache2                                                               AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 192.168.1.2. Set the 'ServerName' directive globally to suppress this message
                                                                                        [fail]
 * The apache2 instance did not start within 20 seconds. Please read the log files to discover problems
Any ideas. I checked the logs in /var/logs/apache2/ and there doesn't appear to be Apache start up errors in those scripts.

Code:
wh33t@Wh33tBox:/var/log/apache2$ ls -l
total 1200
-rw-r----- 1 root adm 374948 Dec 18 19:23 access.log
-rw-r----- 1 root adm 632427 Dec 14 06:40 access.log.1
-rw-r----- 1 root adm      0 Dec 18 23:28 error.log
-rw-r----- 1 root adm 196644 Dec 14 06:40 error.log.1
-rw-r----- 1 root adm      0 Dec 14 06:40 other_vhosts_access.log
-rw-r----- 1 root adm   3554 Dec  6 19:37 other_vhosts_access.log.1
wh33t@Wh33tBox:/var/log/apache2$
Any ideas where to go from here?
 
Old 03-17-2015, 07:22 PM   #6
wh33t
Member
 
Registered: Oct 2003
Location: Canada
Posts: 922

Original Poster
Rep: Reputation: 61
Turns out QB is no longer in development. I hired a local Linux dude to compile it and make it work for me. You guys are so handy in a tight situation!
 
  


Reply

Tags
php+qb+av



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Data and Goliath: Digital surveillance and what you can do about it LXer Syndicated Linux News 0 10-07-2014 04:30 PM
LXer: Kolab: David and Goliath LXer Syndicated Linux News 0 03-29-2013 10:41 AM
Hello, my name is David I am in a project that pretend to install Linux in SAAB cars. DavidDolz LinuxQuestions.org Member Intro 0 05-16-2010 07:03 AM
LXer: David and Goliath II: i4i Wins (Again) over Microsoft LXer Syndicated Linux News 0 12-23-2009 01:30 PM
install mysql,php en ubuntu 5.1 htamayo Ubuntu 1 10-22-2006 09:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration