To use php5 (at least with my webhost) you need to copy everything you have in .htaccess into a file called php.ini except anywhere it says php_value in the htaccess, you just erase those words.
Here's an example of an .htaccess file:
Here's the same thing, but in php.ini (for php5)Code:<IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> <IfModule mod_gzip.c> mod_gzip_on No </IfModule> php_value upload_max_filesize 100M php_value post_max_size 100M php_value output_buffering on php_value max_execution_time 1000 php_value max_input_time 1000 php_value session.gc_maxlifetime 14400 <IfModule mod_security.c> SecFilterEngine Off
You might have to add "register_ globals off" or "register_globals on" to it (I had to do that with one script to be able to log in---not vshare but something else). You can't use the new features of vShare without PHP5.Code:<IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> <IfModule mod_gzip.c> mod_gzip_on No </IfModule> upload_max_filesize 100M post_max_size 100M output_buffering on max_execution_time 1000 max_input_time 1000 session.gc_maxlifetime 14400 <IfModule mod_security.c> SecFilterEngine Off




Reply With Quote
Bookmarks