vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   .htaccess for php 5.3 (https://vborg.vbsupport.ru/showthread.php?t=287753)

beishe8 09-12-2012 05:22 AM

.htaccess for php 5.3
 
I would like to test vB 5
Downloaded it and trying to install it.
Facing a message that php 5.2 is not sufficient I would need 5.3 for it.

My host told me that they have 5.3, I have to modify my .htaccess file for it.

I have never modified .htaccess file, please tell me how to do it,don't want to srew up the whole server.

Quote:

We currently have 5.3.10 (or higher) installed on all servers. A handler for PHP 5.3 is added to our shared and reseller servers for those who wish to utilize it. In order to utilize this handler, you will need to add the following code to your .htaccess file:
Code:

# Use PHP 5.3
AddType application/x-httpd-php53 .php


Is it correct below or I have to use some special syntax for it:

Code:

<IfModule mod_suphp.c>

        suPHP_ConfigPath /home/username/php.ini

        <Files php.ini>

                order allow,deny

                deny from all

        </Files>

</IfModule>
# Use PHP 5.3
AddType application/x-httpd-php53 .php

--------------- Added [DATE]1347442519[/DATE] at [TIME]1347442519[/TIME] ---------------

I took the risk, edited the file,it works.


All times are GMT. The time now is 03:42 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00922 seconds
  • Memory Usage 1,711KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete