sss000_007 Posted September 23, 2008 Share Posted September 23, 2008 currently my apache server is using php 4.4 ,i want it to use a newly installed php 5.2.6 how can I do it ,I have tried changing the php loadmodule in httpd.conf from php4 to php5 but it is not working somebody help ??? Quote Link to comment https://forums.phpfreaks.com/topic/125422-changing-the-php-being-used-in-apache2/ Share on other sites More sharing options...
wildteen88 Posted September 23, 2008 Share Posted September 23, 2008 When using PHP5 you need to use the following loadmodule line LoadModule php5_module "C:/php/php5apache2_2.dll"; Change C:/php to your actual PHP installation folder. Also I assume you're using Apache2.2.x, if you're using Apache 2.0.x then remove _2 from the loadModule line above. Quote Link to comment https://forums.phpfreaks.com/topic/125422-changing-the-php-being-used-in-apache2/#findComment-648776 Share on other sites More sharing options...
sss000_007 Posted September 24, 2008 Author Share Posted September 24, 2008 hi wildteen88 , thanks for the reply But I am using Solaris operating system and i have included the corresponding php5 module Quote Link to comment https://forums.phpfreaks.com/topic/125422-changing-the-php-being-used-in-apache2/#findComment-649240 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.