hisoka Posted March 30, 2016 Share Posted March 30, 2016 Is there a method to know which Apache version is compatible with PHP version For example : Is there a method to know which apache version is compatibe with PHP version 5.4 and php 5.3 ??? Link to comment Share on other sites More sharing options...
Ingolme Posted March 30, 2016 Share Posted March 30, 2016 It's either in the Apache documentation or the PHP documentation. Link to comment Share on other sites More sharing options...
euc Posted March 30, 2016 Share Posted March 30, 2016 Apache comes first because PHP is a module that Apache loads into itself. The Apache documentation doesn't say much about PHP or any other server side script, if anything. On the Apache version I am running at present I have run a couple of PHP versions so there is some overlap. . Link to comment Share on other sites More sharing options...
hisoka Posted March 31, 2016 Author Share Posted March 31, 2016 "It's either in the Apache documentation or the PHP documentation." Honestly I read both of them but I could not find which version of Apache belongs to which version of PHP . For example I could not find in both documentations which Apache version is compatible with php 5.4 and I could not find which Apache version is compatible with php 5.3 . It is not mentioned . Link to comment Share on other sites More sharing options...
euc Posted March 31, 2016 Share Posted March 31, 2016 I looked up the documentation that came with my first version of PHP (can't remember) called "php_manual_en.chm", typed "apache" into the search and there is quite a bit. This manual is quite old but mentions PHP running on Apache 1.3 and onwards but the PHP version I have is 5.4. This is also old but does everything I want. If it isn't broken, don't fix it. It's a case of the driver before the cart before the horse. You don't get the documentation until you install PHP but it's better to install Apache first. Anyway, my manual confirms there is considerable overlap. Link to comment Share on other sites More sharing options...
hisoka Posted March 31, 2016 Author Share Posted March 31, 2016 As I said I read both documentation and I could not find the answer to my question in both of them Link to comment Share on other sites More sharing options...
justsomeguy Posted March 31, 2016 Share Posted March 31, 2016 There are not specific versions of PHP for specific versions of Apache. They are separate software projects. Link to comment Share on other sites More sharing options...
hisoka Posted April 1, 2016 Author Share Posted April 1, 2016 (edited) "There are not specific versions of PHP for specific versions of Apache. They are separate software projects" I have Apache 2.2.15 and worked fine with PHP 5.2 . When uninstalled PHP 5.2 and substituted it with PHP 5.4 , my Apache stopped working and I could not restart it anymore . It says :" Apache could not be restarded " So if it is not a problem of version compatibility so what is it exactly ? or why does my Apache work with PHP 5.2 and not with PHP 5.4 Edited April 1, 2016 by hisoka Link to comment Share on other sites More sharing options...
justsomeguy Posted April 1, 2016 Share Posted April 1, 2016 I don't know, I'm not sitting there watching you. I'm sure the Apache logs have an indication of what the problem is. Maybe you didn't remove the old PHP config from Apache and it's still trying to load the old version. 1 Link to comment Share on other sites More sharing options...
hisoka Posted April 2, 2016 Author Share Posted April 2, 2016 Thanks justsomeguy it was because of some remnants from an old PHP data already installed Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now