Hi,
I have a newly build web server using cpanel 11.28.64. & OS is centOS.
Before go live I wanted a test a website & I copied the files from my current ubuntu web server.
But when I tryto access the site I am getting the Internal Server Error + getting the following error on apache error log.
"Invalid command 'php_value', perhaps mis-spelled or defined by a module not included in the server configuration"
So what i did was I commented out the php_values (following) on my .htaccess file & then it worked.
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value browscap php_browscap.ini
But I need to keep those php_values in the .htaccess files. Its looks like apache doesnt identify those lines.
My current PHP and SuExec configuration on the server is:
Default PHP Version (.php files) 5
PHP 5 Handler suphp
PHP 4 Handler none
Apache suEXEC on
What do you recommend?
many Thanks
I have a newly build web server using cpanel 11.28.64. & OS is centOS.
Before go live I wanted a test a website & I copied the files from my current ubuntu web server.
But when I tryto access the site I am getting the Internal Server Error + getting the following error on apache error log.
"Invalid command 'php_value', perhaps mis-spelled or defined by a module not included in the server configuration"
So what i did was I commented out the php_values (following) on my .htaccess file & then it worked.
php_value magic_quotes_gpc 0
php_value register_globals 0
php_value browscap php_browscap.ini
But I need to keep those php_values in the .htaccess files. Its looks like apache doesnt identify those lines.
My current PHP and SuExec configuration on the server is:
Default PHP Version (.php files) 5
PHP 5 Handler suphp
PHP 4 Handler none
Apache suEXEC on
What do you recommend?
many Thanks