index.php not being recognised
Posted by: NiallS (---.dsl.in-addr.zen.co.uk)
Date: February 04, 2017 11:13PM

Windows 10 - 64 bit
WampServer Version 3.0.6 64bit
Apache 2.4.23 -
PHP 5.6.25
MySQL 5.7.14
PHP 5.6.25 for CLI
Icon is green
Access to localhost - O.K.
Yes I have access to phpmyAdmin

hosts
127.0.0.1 localhost
127.0.0.1 test
::1 localhost
::1 test

httpd-vhosts.conf
<VirtualHost *:80>
ServerName localhost
DocumentRoot c:/wamp64/www
<Directory "c:/wamp64/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>

<VirtualHost *:80>
ServerName test
DocumentRoot c:/wamp64/www/test
<Directory "c:/wamp64/www/test/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>

AV - Defender
no firewall

wampserver in C:\wamp64

test shows up as a virtualhost and project
clicking on either of goimg to localhost/test produces a popup
Opening
You have chosen to open:
which is : application/x-httpd-php (1.4kb)
from htttp;//test
What should Firefox do with this file?

Cheers
Niall

Options: ReplyQuote
Re: index.php not being recognised
Posted by: RiggsFolly (Moderator)
Date: February 04, 2017 11:35PM

Hi

Did you restart Apache?

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: index.php not being recognised
Posted by: NiallS (---.dsl.in-addr.zen.co.uk)
Date: February 05, 2017 06:07PM

Yes I restarted Apache, I actually restarted the whole computer as well

Options: ReplyQuote
Re: index.php not being recognised
Posted by: Otomatic (Moderator)
Date: February 05, 2017 06:30PM

Hi,

> Access to localhost - O.K.
Is there any error message at the bottom of localhost page? (Wampserver homepage)

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: index.php not being recognised
Posted by: NiallS (---.dsl.in-addr.zen.co.uk)
Date: February 06, 2017 09:36AM

There was a message at one stage about a duplicate localhost in vhosts(i think) but now there are none and all the Wamp installed programs work perfectly

Options: ReplyQuote


Sorry, only registered users may post in this forum.