Customize server environment

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
user___
Forum Contributor
Posts: 297
Joined: Tue Dec 05, 2006 3:05 pm

Customize server environment

Post by user___ »

Hi guys,
I have been looking for some information, about the way Php is configured on a Remote Server , on the Internet for a few days and I think that the right place to post my question is here. So, I have a Web host(shared) which has everything up and running but it runs Php 4.x.x while I need 5.1.x. I have been told that by compiling the Php source and then upload the compiled files I can set another version on the server but I am not aware of the way how to tell Apache what to load(Actually, I have an idea but I am not sure whether I am right.). If I set a .htaccess file with the required settings(loadmodule(If it works with a module) path to the place with dlls(the php one)).

I would be very grateful if you can give me some information about that configuration and how to do it.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Last I saw .htaccess doesn't support LoadModule level directives. Talk to your host about getting them to upgrade.
user___
Forum Contributor
Posts: 297
Joined: Tue Dec 05, 2006 3:05 pm

Reply

Post by user___ »

Thank you feyd but is there any way to set Php on a remote host?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Without access to httpd.conf, I believe that would be a no.
user___
Forum Contributor
Posts: 297
Joined: Tue Dec 05, 2006 3:05 pm

Reply

Post by user___ »

Thank you feyd.
Post Reply