Pages: 12Next
Current Page: 1 of 2
Your VirtualHost - add a VirtualHost
Posted by: erwinds (---.access.telenet.be)
Date: March 02, 2020 12:51AM

Hi,

My Your VirtualHost folder does not match what should be in it contains folders (websites) that I have already deleted
And when I add a new website with Add a VirtualHost
they will no longer appear in the list
does anyone know how i can fix this?

Best regards,
Erwin

Options: ReplyQuote
Re: Your VirtualHost - add a VirtualHost
Posted by: Otomatic (Moderator)
Date: March 02, 2020 09:39AM

Hi,

> My Your VirtualHost folder
It's not a folder, it's a menu.

Did you delete VirtualHost using the Delete VirtualHost form?

What are the contents of the files:
- httpd-vhosts.conf
- C:\Windows\System32\drivers\etc\hosts

What is the results of:
- Right-Click -> Tools -> Show VirtualHost examined by Apache

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

Options: ReplyQuote
Re: Your VirtualHost - add a VirtualHost
Posted by: erwinds (---.access.telenet.be)
Date: March 02, 2020 12:02PM

Best,
yes I deleted it via the VirtualHost form suppress
the list in httpd-vhosts.conf is correct
also in Right-Click -> Tools -> Show VirtualHost examined by Apache is it right
but in the menu it is different there it says:
------
localhost
Daritas
kineastene
mobilobar
aqua
jennsalon
php5
vzsa
paradigm
---------
httpd-vhosts.conf:
--------------------------------
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName daritas
DocumentRoot "c:/wamp64/www/daritas"
<Directory "c:/wamp64/www/daritas/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
#
<VirtualHost *:80>
ServerName kineastene
DocumentRoot "c:/wamp64/www/kine-astene"
<Directory "c:/wamp64/www/kine-astene/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName mobilobar
DocumentRoot "c:/wamp64/www/mobilobar"
<Directory "c:/wamp64/www/mobilobar/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName aqua
DocumentRoot "c:/wamp64/www/aqua"
<Directory "c:/wamp64/www/aqua/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
#
<VirtualHost *:80>
ServerName php5
DocumentRoot "c:/wamp64/www/php5"
<Directory "c:/wamp64/www/php5/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
<VirtualHost *:80>
ServerName vzsa
DocumentRoot "c:/wamp64/www/vzsa"
<Directory "c:/wamp64/www/vzsa/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
#
#
#
<VirtualHost *:80>
ServerName jlec
DocumentRoot "c:/wamp64/www/jlec"
<Directory "c:/wamp64/www/jlec/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require local
</Directory>
</VirtualHost>
------------------------------------------------
Right-Click -> Tools -> Show VirtualHost examined by Apache:
-------------------------------------
VirtualHost configuration:

Default server: localhost
Virtual Host: localhost
Virtual Host: daritas
Virtual Host: kineastene
Virtual Host: mobilobar
Virtual Host: aqua
Virtual Host: php5
Virtual Host: vzsa
Virtual Host: jlec
-----------------------------------------------

Options: ReplyQuote
Re: Your VirtualHost - add a VirtualHost
Posted by: Otomatic (Moderator)
Date: March 02, 2020 12:47PM

Hi,

Did you restart Wampserver after modifying your VirtualHost?

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

Options: ReplyQuote
Re: Your VirtualHost - add a VirtualHost
Posted by: erwinds (---.access.telenet.be)
Date: March 02, 2020 12:49PM

hi,

Yes i do

Options: ReplyQuote
Re: Your VirtualHost - add a VirtualHost
Posted by: Otomatic (Moderator)
Date: March 02, 2020 01:48PM

Hi,

I have absolutely no idea where the two supernumerary ServerNames (jennsalon and paragdim) that are not in the httpd-vhosts.conf file could come from.

Are these two names (jennsalon and paragdim) present in the three Your VirtualHost menus?

- 1 - Left-click wampmanager icon -> Your VirtualHost

- 2 - Wampserver homepage 'http://localhost/'.

- 3 - VirtualHost management page 'http://localhost/add_vhost.php'.

If they exist in the Wampserver homepage 'http://localhost/' what are the links assigned to each of them. This can be seen by hovering the mouse or by right-clicking on the name and Copy link address.

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

Options: ReplyQuote
Re: Your VirtualHost - add a VirtualHost
Posted by: erwinds (---.access.telenet.be)
Date: March 02, 2020 02:23PM

Hi,

on the homepage of wampserver this is:

Your VirtualHost

localhost
daritas
kineastene
mobilobar
aqua
php5
vzsa
jlec

it is different from the menu !!!
is it possible to completely redo the menu?

Options: ReplyQuote
Re: Your VirtualHost - add a VirtualHost
Posted by: Otomatic (Moderator)
Date: March 02, 2020 02:52PM

Hi,

Whatever they are, the three Your VirtualHost menus are "made" from the same PHP function that will read the httpd-vhosts.conf file.

The left-click menu -> Your VirtualHost is recreated each time Wampserver is started or by Right-Click -> Refresh.

Anyway, for me to try to understand, please perform:

- Right-Click -> Tools -> Create Wampserver configuration report
wait for end

- Right-Click -> Tools -> Wampserver configuration report
This will open the configuration report with the default text editor.
Copy the whole text and paste it here.

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

Options: ReplyQuote
Re: Your VirtualHost - add a VirtualHost
Posted by: erwinds (---.access.telenet.be)
Date: March 02, 2020 05:04PM

hi

- Right-Click -> Tools -> Create Wampserver configuration report =>ok
- Right-Click -> Tools -> Wampserver configuration report =>Where can I find this?

Options: ReplyQuote
Re: Your VirtualHost - add a VirtualHost
Posted by: RiggsFolly (Moderator)
Date: March 02, 2020 05:21PM

Look at the bottom of the menu


- Right-Click -> Tools -> Create Wampserver configuration report

---------------------------------------------------------------------------------------------
(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: Your VirtualHost - add a VirtualHost
Posted by: erwinds (---.access.telenet.be)
Date: March 02, 2020 05:24PM

yes I found that but there is no report file !!!

Options: ReplyQuote
Re: Your VirtualHost - add a VirtualHost
Posted by: RiggsFolly (Moderator)
Date: March 02, 2020 05:53PM

Go back and look at the same menu again.

You should see a new menu item called "WAMPServer Configuration Report"

---------------------------------------------------------------------------------------------
(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: Your VirtualHost - add a VirtualHost
Posted by: Otomatic (Moderator)
Date: March 02, 2020 05:55PM

Hi,

Just under Create Wampserver configuration report.

Of course after all the report creation operations have been completed.

This is the file wamp(64)\wampConfReport.txt which is created during the operation.

I'm starting to realize that you have write permissions or ownership issues on the wamp(64) folder.
Look in the Left-click PHP -> PHP -> php error log

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

Options: ReplyQuote
Re: Your VirtualHost - add a VirtualHost
Posted by: erwinds (---.access.telenet.be)
Date: March 02, 2020 07:21PM

hi,

the log file is not there for me !!!
I also executed the application as an administrator but with the same result
I cannot, of course, insert a photo
that is in my php_error log for today
-------------------------------------------------- ------------
[02-Mar-2020 00:10:37 Europe/Brussels] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 58 bytes) in C:\wamp64\scripts\refresh.php on line 2350
[02-Mar-2020 00:11:48 Europe/Brussels] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 140 bytes) in C:\wamp64\scripts\refresh.php on line 2350
[02-Mar-2020 11:22:07 Europe/Brussels] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 108 bytes) in C:\wamp64\scripts\refresh.php on line 2350
[02-Mar-2020 12:33:16 Europe/Brussels] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 64 bytes) in C:\wamp64\scripts\refresh.php on line 2350
[02-Mar-2020 16:34:22 Europe/Brussels] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 108 bytes) in C:\wamp64\scripts\refresh.php on line 2315
[02-Mar-2020 16:36:05 Europe/Brussels] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 108 bytes) in C:\wamp64\scripts\refresh.php on line 2315
[02-Mar-2020 16:48:50 Europe/Brussels] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 140 bytes) in C:\wamp64\scripts\refresh.php on line 2350
[02-Mar-2020 17:07:08 Europe/Brussels] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in C:\wamp64\scripts\refresh.php on line 2315
[02-Mar-2020 18:39:40 Europe/Brussels] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 64 bytes) in C:\wamp64\scripts\refresh.php on line 2350
[02-Mar-2020 18:40:05 Europe/Brussels] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in C:\wamp64\scripts\refresh.php on line 2315
[02-Mar-2020 18:51:45 Europe/Brussels] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 64 bytes) in C:\wamp64\scripts\refresh.php on line 2315
[02-Mar-2020 18:52:05 Europe/Brussels] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in C:\wamp64\scripts\refresh.php on line 2315


-------------------------------------------------- ----

Options: ReplyQuote
Re: Your VirtualHost - add a VirtualHost
Posted by: Otomatic (Moderator)
Date: March 02, 2020 08:21PM

Hi,

What is the Wampserver version you use ?

Lines 2315 and 2350 of refresh.php don't exist for Wampserver 3.2.0

What is the PHP CLI version ?

Should be
phpCliVersion ="5.6.40"
in wampmanager.conf file

You can try to increase the allocated memory size by modifying the relevant line in the file

wamp(64)/bin/php/php5.6.40/php.ini

and replace 128M value by 256M
; Maximum amount of memory a script may consume (128Mcool smiley
; [php.net]
memory_limit = 128M

But this is the first on all Wampserver installations that a memory overflow for PHP CLI is observed.
Which makes me ask that you answer to READ (and answer) BEFORE YOU ASK A QUESTION
What I should have asked at the outset of the discussion.

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

Options: ReplyQuote
Re: Your VirtualHost - add a VirtualHost
Posted by: erwinds (---.access.telenet.be)
Date: March 02, 2020 11:07PM

hi

Wampserver version => 3.1.9
phpCliVersion =>5.6.40
memory size => 256M

wampmanager conf
-----------------------
[main]
language = "dutch"
status = "offline"
wampserverVersion ="3.1.9"
installDir ="c:/wamp64"
;Path of the Browser used by Wampserver
;May be modfied with the absolute path of the browser exe file
;(Use / instead of \)
navigator ="C:/Program Files/Mozilla Firefox/firefox.exe"
;Path of the Text Editor used by Wampserver
;May be modfied with the absolute path of the Text Editor exe file
;(Use / instead of \)
editor ="C:/Windows/System32/notepad.exe"
defaultLanguage = english
wampserverMode ="64bit"
[options]
AliasSubmenu ="off"
NotCheckVirtualHost = "off"
NotCheckDuplicate = "off"
ItemServicesNames = "off"
VirtualHostSubMenu = "on"
ProjectSubMenu = "off"
HomepageAtStartup = "off"
urlAddLocalhost = "on"
MenuItemOnline = "off"
VhostAllLocalIp = "off"
SupportMySQL ="on"
SupportMariaDB ="on"
ShowphmyadMenu= "on"
ShowadminerMenu = "on"
NotVerifyPATH= "off"
HostsLinesLimit= "5000"
NotVerifyHosts= "off"
NotVerifyTLD = "off"
AutoCleanLogs = "on"
AutoCleanLogsMax = "1000"
AutoCleanLogsMin = "50"
AutoCleanTmp = "on"
AutoCleanTmpMax = "1000"
; Management of PHP dll files and phpForApache.ini in the Apache bin folder.
; "symlink" to create symbolic links - "copy" to copy files
CreateSymlink= "symlink"
BackupHosts = "off"

[php]
phpVersion = "7.3.5"
phpIniDir = "."
phpConfFile = "php.ini"
phpExeDir = "."
mysqlDefaultPort= "3306"

[phpCli]
phpCliVersion ="5.6.40"
phpExeFile = "php.exe"
phpCliFile = "php-win.exe"

[apache]
apacheVersion ="2.4.39"
apacheExeDir = "bin"
apacheConfDir = "conf"
apacheExeFile = "httpd.exe"
apacheConfFile = "httpd.conf"
apacheServiceInstallParams ="-n wampapache64 -k install"
apacheServiceRemoveParams ="-n wampapache64 -k uninstall"
[apacheoptions]
apacheUseOtherPort = "off"
apachePortUsed = "80"

[mysql]
mysqlVersion ="5.7.26"
mysqlConfDir = "."
mysqlConfFile = "my.ini"
mysqlExeDir = "bin"
mysqlExeFile = "mysqld.exe"
mysqlServiceInstallParams ="--install-manual wampmysqld64"
mysqlServiceRemoveParams ="--remove wampmysqld64"
[mysqloptions]
mysqlPortUsed = "3306"
mysqlUseOtherPort = "off"
mysqlUseConsolePrompt = "off"
mysqlConsolePrompt= "\U-MySQL\v-['\d']>"
mysqlPortOptionsMenu= "on"

[mariadb]
mariadbVersion ="10.3.14"
mariadbConfDir = "."
mariadbConfFile = "my.ini"
mariadbExeDir = "bin"
mariadbExeFile = "mysqld.exe"
mariadbServiceInstallParams ="--install-manual wampmariadb64"
mariadbServiceRemoveParams ="--remove wampmariadb64"
[mariadboptions]
mariaPortUsed = "3307"
mariaUseOtherPort = "on"
mariadbUseConsolePrompt = "off"
mariadbConsolePrompt= "\U-\v-['\d']>"
mariadbPortOptionsMenu= "on"

[service]
ServiceApache ="wampapache64"
ServiceMysql ="wampmysqld64"
ServiceMariadb ="wampmariadb64"

----------------------

Options: ReplyQuote
Re: Your VirtualHost - add a VirtualHost
Posted by: Otomatic (Moderator)
Date: March 03, 2020 11:07AM

Hi,

It would be advisable to upgrade to Wampserver 3.2.0. But before doing so you should check the VC++ packages.

- Verify that all VC ++ packages are installed and with the latest versions.
To do this, use the tool:
Checks VC++ packages installed
Do not use a previously loaded tool. Make a new download to make sure you are using the correct version.
To download missing packages, do not rely on Microsoft links, they are not reliable, download packages on http://wampserver.aviatechno.net in section Visual C++ Redistribuable Packages
Do not forget that if you have a 64 bit Windows, you must install both 32 and 64 bit versions of each package.
You must install each package "as an administrator", so right-click the exe file and then run as Administrator.

In wampmanager.conf you have urlAddLocalhost = "on", this option to add localhost in the url is obsolete and is removed with Wampserver 3.2.0.

- Apply Update 3.2.0 to your version of Wampserver
Wampserver update 3.2.0

- Apply Update Aestan Tray Menu 3.2.2.6
Aestan Tray Menu 3.2.2.6

Launch Wampserver then empty the log files :
Right-Click -> Tools -> Empty logs -> Empty ALL log files
Answer y the Enter.

We thus start again on a healthy and known basis in which we can possibly carry out a "trace" if the VistualHost problem is still present.

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

Options: ReplyQuote
Re: Your VirtualHost - add a VirtualHost
Posted by: erwinds (---.access.telenet.be)
Date: March 03, 2020 12:51PM

hi

tis is
------------------
Compiler Visual C++ versions used:

PHP 5.6.40 Compiler => MSVC11 (Visual C++ 2012)
Architecture => x64
is compatible with Apache 2.4.39

PHP 7.0.33 Compiler => MSVC14 (Visual C++ 2015)
Architecture => x64
is compatible with Apache 2.4.39

PHP 7.1.29 Compiler => MSVC14 (Visual C++ 2015)
Architecture => x64
is compatible with Apache 2.4.39

PHP 7.2.18 Compiler => MSVC15 (Visual C++ 2017)
Architecture => x64
is compatible with Apache 2.4.39

PHP 7.3.5 Compiler => MSVC15 (Visual C++ 2017)
Architecture => x64
is compatible with Apache 2.4.39



MySQL Ver 5.7.26 for Win64 on x86_64 (MySQL Community Server (GPL))


MariaDB Ver 10.3.14-MariaDB for Win64 on AMD64 (mariadb.org binary distribution)


Apache 2.4.39 Apache Lounge VC15 Server built: Mar 28 2019 11:59:33
Architecture: 64-bit
-----------------------------

Options: ReplyQuote
Re: Your VirtualHost - add a VirtualHost
Posted by: erwinds (---.access.telenet.be)
Date: March 03, 2020 01:35PM

Hi,

After the update wampserver 3.2.0 do I have to reconfigure my php ini again?
Or other things need to be reconfigured

Options: ReplyQuote
Re: Your VirtualHost - add a VirtualHost
Posted by: RiggsFolly (Moderator)
Date: March 03, 2020 01:51PM

The wampserver upgrade shoudl not have changed Anything other than the wampserver internal functionality.
No other changes are made

---------------------------------------------------------------------------------------------
(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
Pages: 12Next
Current Page: 1 of 2


Sorry, only registered users may post in this forum.