I'm trying to restore a backed up site .I have all i need basically the mysqldata.sql backupfile and the DocumentRoot dir.First question is this all i need ? Second question the DocumentRoot is set,the php4 module is 'a2enmoded' when i connect to the the site the dowload window show up asking me where i want to download a t2sn3zyo.phtml file .... what's happening ??? Thanks !!
<VirtualHost tor.gabrix.ath.cx:80> ServerName tor.gabrix.ath.cx ServerAlias tor.gabrix.ath.cx ServerAdmin [email protected] DocumentRoot /var/www/torgab ErrorLog /var/log/apache2/tor_error.log TransferLog /var/log/apache2/tor_access.log </VirtualHost>
Try this instead: Code: <VirtualHost tor.gabrix.ath.cx:80> ServerName tor.gabrix.ath.cx ServerAlias tor.gabrix.ath.cx ServerAdmin [email][email protected][/email] DocumentRoot /var/www/torgab ErrorLog /var/log/apache2/tor_error.log TransferLog /var/log/apache2/tor_access.log AddType application/x-httpd-php .php .php3 .php4 .php5 php_admin_flag safe_mode On php_admin_value open_basedir /var/www/torgab/ php_admin_value file_uploads 1 php_admin_value upload_tmp_dir /var/www/torgab/phptmp/ php_admin_value session.save_path /var/www/torgab/phptmp/ </VirtualHost> and run Code: mkdir /var/www/torgab/phptmp/ chmod 777 /var/www/torgab/phptmp/
Why this new dir for ???Most of this are commands you find in /etc/php4/apache2/php.ini isn't it ?Could you please tell me a bit more than just try this,sorry but i don't like to copy and paste blindly !thanks!
File uploads ... uhm!! ?? What file uploads ?? Sorry i don't see your point!I tried and doesn't work,could you please explain a bit more, you don't have to,offcourse,but would be nice to make understand me and maybe other people,don't you think?I know you are buried of posts of any kind and you are one of the few persons keeping howtoforge up,and still making a great job,but i like understand what i do ,as you do,and maybe give also my part,isn't right?? !!!!
For example if you have a php page with a form to upload images, etc. But this is getting off-topic now.