1

I've a php application running on Apache. Earlier it was running on CentOS6 Operating system without any issue. Now we have upgraded OS to CentOS7. But application is not working.

Not sure the same php application not working fine on new OS.

After debug this issue, noticed that php "include" options are working.

Should I need to install anything on the new CentOS7 server? . Even I tried on different CentOS7 machine. Same problem.

Someone please help me on this.

KMG
  • 281
  • 1
  • 4
  • 10
  • 1
    If I change the php handler from "AddHandler php5-script .php" to "AddHandler php5-script .php5". Now part of the site content is loading. Still some page are showing php code on the page. Code : " 0) { //$s = 0; while($row = dbFetchAssoc($result)) { extract($row); // $id=$row['id']; echo $row['content']; } ?>" – KMG Dec 31 '16 at 14:46
  • I found similar post where the **PHP Module** for Apache on CentOS7 seems to be not working : http://serverfault.com/questions/738441/php-not-working-with-apache-on-centos-7 – Alexandre Roux Dec 31 '16 at 08:30
  • its not php not working issue. its related to "php include" not working. which means, if use include function to call another php, its not working – KMG Dec 31 '16 at 09:46

0 Answers0