| Author |
Message |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Fri Dec 21, 2007 4:13 pm |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Fri Dec 21, 2007 4:17 pm |
|
| Raven wrote: | | All the other lines should be in your .htaccess except PHP_FLAG output_buffering On which you should delete. |
Fixed. You didn't delete the PHP_FLAG line. |
|
|
|
 |
magnum Client

Joined: Jun 23, 2006 Posts: 83
|
Posted:
Fri Dec 21, 2007 8:11 pm |
|
thanks for the help raven i appreciate it |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sat Dec 22, 2007 4:56 am |
|
|
|
 |
papamike Theme Guru

Joined: Jan 11, 2006 Posts: 135 Location: Southern Influence
|
Posted:
Sat Jan 23, 2010 6:59 pm |
|
I'll tell 'ya, I'm so lost I doubt if I can find my way home
My issue is: I want to use Gallery3 within a subdirectory and get the error message 'using php4 but need php5.' Raven said that I should read these topics on how to override php4 within the htaccess file. Now I agree that I need to know this stuff and have learned alot over the years (except how to use htaccess) BUT I've read until I'm blind and still haven't found what is applicable to my problem. I also searched the all mighty web and didn't find a specific fix.
I did notice the last post in this forum was back in 2007 so I must be the only idiot out there having this problem. Or that doesn't know the fix. I guess that I have relied on managed servers too often.
Any help is deeply appreciated.  |
|
|
|
 |
Raven Site Admin/Owner

Joined: Aug 27, 2002 Posts: 16987 Location: Kansas
|
Posted:
Sat Jan 23, 2010 8:13 pm |
|
To use PHP5.x on your server which defaults to PHP4, add these lines to the beginning of your .htaccess file. The first line is a comment and can be disregarded if you want.
# Use PHP5 as default
AddHandler application/x-httpd-php5 .php .php4 .php3 .phtml |
|
|
|
 |
papamike Theme Guru

Joined: Jan 11, 2006 Posts: 135 Location: Southern Influence
|
Posted:
Sat Jan 23, 2010 8:28 pm |
|
Thank U sir.  |
|
|
|
 |
|
|
|
|