francis Aneke Posted March 30, 2014 Share Posted March 30, 2014 My php Designer 7 and Dreamweaver cs5 no longer recognizes class files and function files and this happened after uninstalled and reinstalled my server PLEASE what should i do. Am on windows Link to comment Share on other sites More sharing options...
Ingolme Posted March 30, 2014 Share Posted March 30, 2014 They probably aren't recognized as PHP files because the server doesn't execute .class and .function files. You can either rename them to .class.php and .function.php (I recommend that) or tell the server to execute .class and .function files by adding this to the apache configuration file: AddType application/x-httpd-php .classAddType application/x-httpd-php .function Link to comment Share on other sites More sharing options...
francis Aneke Posted March 30, 2014 Author Share Posted March 30, 2014 Ingolme, Am using web-developer controller(server), which portion of the apache configuration script will i add the script in the server panel to make it right! Link to comment Share on other sites More sharing options...
francis Aneke Posted March 30, 2014 Author Share Posted March 30, 2014 that is where exactly to add the script you pasted Link to comment Share on other sites More sharing options...
francis Aneke Posted April 9, 2014 Author Share Posted April 9, 2014 Thanks, i have solved this problem long ago, using ADDTYPE above 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