Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> FAQ - PHP5 w/phpSuExec Conversion From PHP4
Poll
Was this helpful?
Yes
100%
 100%  [ 2 ]
No
0%
 0%  [ 0 ]
Total Votes : 2


Author Message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Fri Dec 21, 2007 4:13 pm Reply with quote

Let me look again
 
View user's profile Send private message
Raven







PostPosted: Fri Dec 21, 2007 4:17 pm Reply with quote

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

PostPosted: Fri Dec 21, 2007 8:11 pm Reply with quote

thanks for the help raven i appreciate it

_________________
Nukes real friend is a big cup of Java with a valium stirred in. www.islandtitanz.org 
View user's profile Send private message
Raven







PostPosted: Sat Dec 22, 2007 4:56 am Reply with quote

RavensScripts

Only registered users can see links on this board! Get registered or login!
 
papamike
Theme Guru



Joined: Jan 11, 2006
Posts: 170

PostPosted: Sat Jan 23, 2010 6:59 pm Reply with quote

I'll tell 'ya, I'm so lost I doubt if I can find my way home HitsFan

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 Smile 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. worship
 
View user's profile Send private message
Raven







PostPosted: Sat Jan 23, 2010 8:13 pm Reply with quote

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







PostPosted: Sat Jan 23, 2010 8:28 pm Reply with quote

Thank U sir. Smile
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> FAQ - PHP5 w/phpSuExec Conversion From PHP4

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©