Hi guys,
I have a fresh install of the most up to date version and am trying to get PHP includes working. I have had it working on previous versions but don’t remember what I did.
I have tried all the suggestions found online but still have no luck.
This seems to be the most popular solution, however, this still doesn’t work.
Then add the following code:
AddType text/html .shtml
Options +Includes
AddOutputFilter INCLUDES .shtml
The above code should be above “<Directory />” in httpd.conf file
Then find “Options Indexes FollowSymLinks” and replace it with:
Options +Indexes +FollowSymLinks +Includes
Restart wamp and enjoy.
Could someone please tell me how to get this working as I reall need it quick.
I have one more problem, when I click on the Wamp icon, my projects and select my project it says it can’t find it. If I manually navigate to localhost/redesign/ then the site will appear. Any ideas??
Version of Operating system? - Windows 7 64bit
Version of Wamp Server installed? - 2.5
Version of Apache you are running? - Apache : 2.4.9
Version of MySQL you are running? - MySQL : 5.6.17
Version of PHP you are running? - PHP : 5.5.12
PHPMyAdmin : 4.1.14
SqlBuddy : 1.3.3
XDebug : 2.2.5
I have tried this and still nothing:
Inserted Include after this line - Options Indexes FollowSymLinks
Uncommented these two lines:
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
I have made sure that include_module is selected.
I am using this line in my html file:
<?php include ‘form.php’ ?>
Still not working.
What the hell am I doing wrong?
Blinky