PHPmotion v3 and v 3.5 Support > Server Issues (PHP, FFMPEG, CGI etc)
404 error
(1/1)
casualx:
hello there
I have reccently downloaded and uploaded phpmotion but cause im new to lamp server generally I need some help
after setting up the ubuntu base system I did those following commands and operations
--- Code: ---#install apache2 with php
sudo -s #enable permanent root acces for the actual shell
apt-get install apache2
nano /etc/apache2/ports.conf #edited /etc/apache2/ports.conf that the server listen on 192.168.1.2 with "Listen 192.168.1.2:80"
apt-get install php5 libapache2-mod-php5sudo
service apache2 restart
#test php
echo "<?php phpinfo(); ?>" > /var/www/test.php #test was successfull
#install mysql
apt-get install mysql-server php5-mysql mysql-client
#install phpmyadmin
apt-get install libapache2-mod-auth-mysql phpmyadmin #all functions seem to work
--- End code ---
now I started with installing phpmotion
--- Code: ---
#installing the dependencies
apt-get install mplayer
apt-get install mencoder
apt-get install flvtool2
apt-get install ubuntu-restricted-extras
apt-get install build-essential
apt-get install ffmpeg
apt-get install php5-gd
apt-get install php5-curl
a2enmod rewrite
service apache2 force-reload
service apache2 resta01 sudo apt-get update
--- End code ---
php shield installation
--- Code: ---mkdir /home/user/phpshield
cd /home/user/phpshield
wget http://phpshield.com/loaders/ixed4.lin.x86-32.zip
unzip ixed4.lin.x86-32.zip
#testing which php I have
php -v #
output: PHP 5.3.2-1ubuntu4.14 with Suhosin-Patch (cli) (built: Feb 11 2012 06:50:46)
cp ixed.5.3.lin /usr/lib/php5/20090626+lfs
echo "extension=phpshield.5.2.lin" >> /etc/php5/apache2/php.ini
service apache2 restart
--- End code ---
next step was registering here,download phpmotion for php5.3 and move to /var/www/phpmotion
edited /var/www/phpmotion/.htaccess and change line RewriteBase /phpmotion
edited /etc/php5/apache2/php.ini and change directive "enable_dl = On"
change permissions for root folder
--- Code: ---chmod 777 -R /var/www/phpmotion
--- End code ---
copied all files from /var/www/phpmotion/cgi-bin to /usr/lib/cgi-bin by issuing following command
cp -R /var/www/phpmotion/cgi-bin /usr/lib/cgi-bin
next step edit /var/www/phpmotion/cgi-bin/uu_default_config.pm
--- Code: ---temp_dir => $ENV{'DOCUMENT_ROOT'} . '/phpmotion/temp/',
upload_dir => $ENV{'DOCUMENT_ROOT'} . '/phpmotion/uploads$
redirect_url => '/phpmotion/uploader_finished.php',
path_to_upload => '/phpmotion/uploads/avi/',
--- End code ---
next step created mysql database for phpmotion
--- Code: ---mysql -u root -p<mypassword>
create database phpmotion;
grant all privileges on phpmotion.* to 'root'@'localhost';
quit;
--- End code ---
so I did install with firefox which all went ok
finally remove the setup files by
--- Code: ---mv /var/www/phpmotion/setup /var/www/phpmotion/old_setup
--- End code ---
now I can acces the site but when click on a sectio I get the 404 error
whats wrong with this?
oac:
You will need to enable mod_rewrite to fix this problem.
casualx:
thx im gonna try this
Navigation
[0] Message Index
Go to full version