var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Problem with php ( i think )
I own a dedicated server with freeBSD 7.2, Apache 2.2 and PHP 5.2.10 ( PHP handler is SDO )
Some of my scripts need the Source Guardian, so i have made an update via easyapache including Source Guardian 7.x and Zend Optimizer.
But when i load the files from the browser then the browser response to me to download the file. Here you can see example ( torz.info/index.php ).
I think that is an Apache problem, but i have exhaust all my knowledge 2 days know. I have ask my server provider and many forums without no success.
You should probably add the AddHandler for handling php files in Apache configuration or in .htaccess under the specific domain that you are trying to access.
Thanks for your reply,
Ok i put that << AddHandler application/x-httpd-php >> to my .htaccess and show to me " Internal Server Error ".
Paste the result of the following command.
ls -l .htaccess
Also make sure you add the appropriate AddHandler directive properly.
AddHandler application/x-httpd-php5 .php
I have add the AddHandler that you just give me.
and thats the results ( ls -l .htaccess ) :
-rw-r--r-- 1 torz1001 nobody 423 Aug 6 17:29 .htaccess
With files that are encoded with ioncube i have not any problem its all working properly. I have problem only with files that are encoded with Source Guardian.
Try changing the group of .htaccess to torz1001.
I have try this to, but the problem persist.
Maybe check if:
enable_dl = On
is in your php.ini file. If not, change current setting
and restart apache.
php is not getting parsed by apache just recompile apache using /scripts/easyapache.
By xoleno in forum Hosting Security and Technology
Last Post: 03-31-2008, 05:41 AM
By ekusteve in forum Hosting Security and Technology
Last Post: 06-14-2005, 12:35 PM
By galacnet in forum Hosting Security and Technology
Last Post: 05-30-2005, 11:15 AM
By bruinbear714 in forum Hosting Security and Technology
Last Post: 05-21-2005, 05:19 PM
By NationHosts in forum Hosting Security and Technology
Last Post: 01-20-2004, 08:05 PM