Quantcast
Channel: WampServer - WampServer English
Viewing all 3212 articles
Browse latest View live

Re: AH00354: Child: Starting 150 worker threads (1 reply)

$
0
0
[Thu Aug 02 16:06:03.954005 2018] [mpm_winnt:notice] [pid 9820:tid 640] AH00354: Child: Starting 150 worker threads.

Socket path issue (3 replies)

$
0
0
Hi, I am new to wampserver and databases. I am using a program called ecobable userbase to have a registration login page on my website. I have made a database in myphpadmin. I am now trying to connect my software to my database but keep getting this error

Error connecting to database. Please adjust your db prefs if necessary. The error was: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I have checked my (my.ini) file and it says the following

socket = /tmp/mysql.sock

I have looked everywhere for how to change the path my software is using to connect to the database. I seen something that says

"This error occurs due to multiple installations of MySQL, in the operating system."

I did have wamp and mysql on my computer at the same time, so, I uninstalled everything and reinstalled everything, and I still get this message.Can I solve this issue with wamp. Everything is try from looking it up is not working!

Please help me!

Installation Tutorial (no replies)

$
0
0
OK, Im a noob...

I installed WAMP on a Win 10 64 bit server. Followed the bouncing ball on youtube on unzipping the HumHub installation file and I ran into a couple problems.

configuring a MySQL database for HumHub and some other stuff, not important in regards to this post.

But anyway, suffice it to say that I ran into some trouble. So I'm trying to figure out the problems and I see there at the bottom of the MyPhPAdmin page a link to this forum. So I logged on and created the account. Started reading through the first few posts and ran into the line about installing WAMP with administrative privilege.


Sure would have been nice to know that at the beginning of this ordeal.


So the question I have is there a cradle to grave, follow the bouncing ball installation tutorial that I can watch or read that will lead a guy like me through the HumHub installation that contains complete directions and makes no assumptions? Say as an example that the instruction set tells me in specific how to configure a MySQL database using MyPhPAdmin? That tells me to install WAMP as an administrator before I actually install WAMP?

Thanks...

"Save" on php.ini file won't stick (1 reply)

$
0
0
Can someone please address this question for me?

I have a WAMP 4.9.7 local install.
I opened the php.ini file in the apache2.4.33/bin folder and changed the max_upload_filesize setting so I could upload files that exceed the 2M default.

Every time I do this, save the file, Exit WAMP, and restart WAMP, that setting I saved reverts back to the default. The other php.ini files in the wamp/php folder don’t do this.

After I save the file and restart WAMP, wordpress tells me that the upload limit is still 2M and won't let me upload a 6M file.

I have never seen this in the past with other local installs I've done in WAMP. This is chimpanzee stuff: You just change the upload_max_filesize setting, save the file, and you can upload files to the limit you set. Simple.

Why is the php.ini file reverting back to the default after I save it?

Any help here is greatly appreciated.

Re: Aestan tray menu error occurred when opening through wampserver icon? (2 replies)

$
0
0
Dear friends,

I have installed wampserver 3 1.1on my windows 10 computer.my conf file is as under:-



[main]
language ="english"
status = "offline"
wampserverVersion ="3.1.0"
installDir ="c:/wamp"
;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 (x86)/Google/Chrome/Application/chrome.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 ="D:/TC UP/PLUGINS/Media/Notepad++/notepad++.exe"
defaultLanguage = english
wampserverMode ="64bit"
[options]
AliasSubmenu ="off"
NotCheckVirtualHost = "off"
NotCheckDuplicate = "off"
ItemServicesNames = "off"
VirtualHostSubMenu = "on"
ProjectSubMenu = "off"
HomepageAtStartup = "off"
urlAddLocalhost = "off"
MenuItemOnline = "off"
VhostAllLocalIp = "off"
SupportMySQL = "on"
SupportMariaDB = "on"

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

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

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

[mysql]
mysqlVersion ="5.7.19"
mysqlConfDir = "."
mysqlConfFile = "my.ini"
mysqlExeDir = "bin"
mysqlExeFile = "mysqld.exe"
mysqlServiceInstallParams ="--install-manual wampmysqld64"
mysqlServiceRemoveParams ="--remove wampmysqld64"
[mysqloptions]
mysqlPortUsed = "3306"
mysqlUseOtherPort = "off"

[mariadb]
mariadbVersion ="10.2.8"
mariadbConfDir = "."
mariadbConfFile = "my.ini"
mariadbExeDir = "bin"
mariadbExeFile = "mysqld.exe"
mariadbServiceInstallParams ="--install-manual wampmariadb64"
mariadbServiceRemoveParams = "--remove wampmariadb64"
mysqlServiceRemoveParams="--remove wampmariadb64"
[mariadboptions]
mariaPortUsed = "3307"
mariaUseOtherPort = "on"

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

Kindly help me restore wampserver..

Thanking you

With BEST regards,

Anil v. Chaudhary

local host access (2 replies)

$
0
0
what is the syntax to access my project using localhost

i.e localhost/project1???

Windows user not administrator ??? Strange errors (1 reply)

$
0
0
Dear all,
I'm not a tech guy so I'm here to have some hints or help.
I did an installation of 3.1.3_x64 on a PC where run a PHP application and myslq db .
I used an administrator user i.e. admin to make installation. The icon of WS is green when I use this user.
This PC is within a hospital lan network and the internal security policy do not admit to have user with administrator grant level in any present PC.
They have created a normal netuser just to fulfill the company policy.
I created into mysql that user too with all priviledges just access to data.
When I login with this las1t netuser , wampserver runs on background, but , if I try to click on desktop icon then the small icon remains red. If I do refrest there are some errors about hosts... not possible to write...
Application run the same and data are recorded on db the same.

Now, after some time the browser stop with a error like that
(Fatal error: Call to undefined function mb_convert_encoding() in nm utf8.php on line 75) and the application stop to work.

Call to undefined function mb_convert_encoding()

I googled a bit but mb_string extension is active .... the installation was succesful .

I think is something more connected to the user than php setting..

Any help will be very appreciated.

SQLSTATE[42000] (1 reply)

$
0
0
OK...

Here we go. I read the "all you need to know post" and did all the stuff contained on this post. What I did is as follows:

* A clean install of Win 10 Pro V 1803 OS17134.191
* Uninstalled Skype
* Uninstall and then reinstall all the C++ Redistributables from your repository
* Check and confirm the presence of all the required programs, all present and no problems indicated
* Installed WAMP as an Administrator
* Unzipped Humhub into a folder apart from the folder that the Unzip program created

incidental stuff I did:

* Configured router port forwarding
* Installed and configured a DuckDNS domain
* assigned a static IP address to the server NIC

The Information on the third configuration page is, Host = "Localhost," my username and password and the database name, 'rrb." I also tried the database name "redrubberball."


Page three of the HumHub configuration I get the following:


Database Exception – yii\db\Exception
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes
The SQL being executed was: ALTER TABLE `contentcontainer_permission` ADD CONSTRAINT `contentcontainer_permission_pk` PRIMARY KEY (`permission_id`, `group_id`, `module_id`, `contentcontainer_id`)
Error Info: Array
(
[0] => 42000
[1] => 1071
[2] => Specified key was too long; max key length is 1000 bytes
)

Caused by: PDOException
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes
in C:\wamp64\www\RedRubberBall\protected\vendor\yiisoft\yii2\db\Command.php at line 1258
1. in C:\wamp64\www\RedRubberBall\protected\vendor\yiisoft\yii2\db\Schema.php
at line 664




















655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673

$exceptionClass = '\yii\db\Exception';
foreach ($this->exceptionMap as $error => $class) {
if (strpos($e->getMessage(), $error) !== false) {
$exceptionClass = $class;
}
}
$message = $e->getMessage() . "\nThe SQL being executed was: $rawSql";
$errorInfo = $e instanceof \PDOException ? $e->errorInfo : null;
return new $exceptionClass($message, $errorInfo, (int) $e->getCode(), $e);
}

/**
* Returns a value indicating whether a SQL statement is for read purpose.
* @param string $sql the SQL statement
* @return bool whether a SQL statement is for read purpose.
*/
public function isReadQuery($sql)
{

2. in C:\wamp64\www\RedRubberBall\protected\vendor\yiisoft\yii2\db\Command.php
at line 1263
– yii\db\Schema::convertException(PDOException, 'ALTER TABLE `contentcontainer_pe...')
3. in C:\wamp64\www\RedRubberBall\protected\vendor\yiisoft\yii2\db\Command.php
at line 1075
– yii\db\Command::internalExecute('ALTER TABLE `contentcontainer_pe...')
4. in C:\wamp64\www\RedRubberBall\protected\vendor\yiisoft\yii2\db\Migration.php
at line 437
– yii\db\Command::execute()
5. in C:\wamp64\www\RedRubberBall\protected\humhub\modules\content\migrations\m150928_103711_permissions.php
at line 20
– yii\db\Migration::addPrimaryKey('contentcontainer_permission_pk', 'contentcontainer_permission', ['permission_id', 'group_id', 'module_id', 'contentcontainer_id'])














14
15
16
17
18
19
20
21
22
23
24
25
26
'contentcontainer_id' => Schema::TYPE_INTEGER,
'group_id' => $this->string(50)->notNull(),
'module_id' => $this->string(50)->notNull(),
'class' => Schema::TYPE_STRING,
'state' => Schema::TYPE_BOOLEAN,
]);
$this->addPrimaryKey('contentcontainer_permission_pk', 'contentcontainer_permission', ['permission_id', 'group_id', 'module_id', 'contentcontainer_id']);
}

public function down()
{
echo "m150928_103711_permissions cannot be reverted.\n";


6. in C:\wamp64\www\RedRubberBall\protected\vendor\yiisoft\yii2\console\controllers\BaseMigrateController.php
at line 725
– m150928_103711_permissions::up()
7. in C:\wamp64\www\RedRubberBall\protected\vendor\yiisoft\yii2\console\controllers\BaseMigrateController.php
at line 199
– yii\console\controllers\BaseMigrateController::migrateUp('m150928_103711_permissions')
8.

yii\console\controllers\BaseMigrateController::actionUp(0)
9. in C:\wamp64\www\RedRubberBall\protected\vendor\yiisoft\yii2\base\InlineAction.php
at line 57
– call_user_func_array([humhub\commands\MigrateController, 'actionUp'], [0])
10. in C:\wamp64\www\RedRubberBall\protected\vendor\yiisoft\yii2\base\Controller.php
at line 157
– yii\base\InlineAction::runWithParams([])
11. in C:\wamp64\www\RedRubberBall\protected\vendor\yiisoft\yii2\console\Controller.php
at line 148
– yii\base\Controller::runAction('up', [])
12. in C:\wamp64\www\RedRubberBall\protected\humhub\commands\MigrateController.php
at line 184
– yii\console\Controller::runAction('up')














178
179
180
181
182
183
184
185
186
187
188
189
190
ob_start();
$controller = new self('migrate', Yii::$app);
$controller->db = Yii::$app->db;
$controller->interactive = false;
$controller->includeModuleMigrations = true;
$controller->color = false;
$controller->runAction('up');

return ob_get_clean();
}

/**
* Executes migrations in a specific folder

13. in C:\wamp64\www\RedRubberBall\protected\humhub\modules\installer\controllers\SetupController.php
at line 127
– humhub\commands\MigrateController::webMigrateAll()














121
122
123
124
125
126
127
128
129
130
131
132
133
Yii::$app->cache->flush();

// Disable max execution time to avoid timeouts during database installation
@ini_set('max_execution_time', 0);

// Migrate Up Database
\humhub\commands\MigrateController::webMigrateAll();

DynamicConfig::rewrite();

$this->module->setDatabaseInstalled();

return $this->redirect(['/installer/config/index']);

14.

humhub\modules\installer\controllers\SetupController::actionInit()
15. in C:\wamp64\www\RedRubberBall\protected\vendor\yiisoft\yii2\base\InlineAction.php
at line 57
– call_user_func_array([humhub\modules\installer\controllers\SetupController, 'actionInit'], [])
16. in C:\wamp64\www\RedRubberBall\protected\vendor\yiisoft\yii2\base\Controller.php
at line 157
– yii\base\InlineAction::runWithParams(['r' => 'installer/setup/init'])
17. in C:\wamp64\www\RedRubberBall\protected\vendor\yiisoft\yii2\base\Module.php
at line 528
– yii\base\Controller::runAction('init', ['r' => 'installer/setup/init'])
18. in C:\wamp64\www\RedRubberBall\protected\vendor\yiisoft\yii2\web\Application.php
at line 103
– yii\base\Module::runAction('installer/setup/init', ['r' => 'installer/setup/init'])
19. in C:\wamp64\www\RedRubberBall\protected\vendor\yiisoft\yii2\base\Application.php
at line 386
– yii\web\Application::handleRequest(humhub\components\Request)
20. in C:\wamp64\www\RedRubberBall\index.php
at line 25
– yii\base\Application::run()








19
20
21
22
23
24
25
require(__DIR__ . '/protected/humhub/config/web.php'),
(is_readable(__DIR__ . '/protected/config/dynamic.php')) ? require(__DIR__ . '/protected/config/dynamic.php') : [],
require(__DIR__ . '/protected/config/common.php'),
require(__DIR__ . '/protected/config/web.php')
);

(new humhub\components\Application($config))->run();

$_GET = [
'r' => 'installer/setup/init',
];

$_COOKIE = [
'_csrf' => 'd46f47fe0f5e7f79311615bdc4357aca3e22426d47b7bd9a5a64662f390fc255a:2:{i:0;s:5:"_csrf";i:1;s:32:"WF4WY8cyAHBG8ec5j6YVb7uYEYx7_rDa";}',
];

Changing Document root in Wampserver 3 (1 reply)

$
0
0
I an using Wampserver 2.2 on Windows. I have changed the Document root to something like d:/$$HTDOCS
and every thing works fine.
Installed Wampserver 3.1.3. Installation went fine and I had access to PHPMyAdmin in an empty root. But I cannot access my data or the databases.
I tried to change the document root in both httpd.conf AND httpd-vhosts.com.

But Wamperserver stopped working, the APACHE services would not start.

What am I doing wrong?

Upgrading to Apache 2.4.xx and PHP 7.X.X simultaneously - Solution to error: Versions not compatible (1 reply)

$
0
0
In this thread, I am presenting solution to the error "PHP version not compatible with Apache version", and vice-versa "Apache version not compatible with PHP version" that you mat get after adding PHP 7.X.X and Apache 2.4.X files to the 'bin' folder

This is continuation of the thread [forum.wampserver.com] (How to update to Apache 2.4.X on WampServer).

I am using a Windows 7.

It is assumed that you have installed allow the required Windows Updates that are necessary.


Now, open the wampmanager.conf file and edit the following two lines:

phpVersion = "7.X.X" (7.X.X is whichever version you intend to use)
apacheVersion = "2.4.34"

It worked in my case.

Thank you WampServer!

Re: Wamp only start 2 services (3 replies)

$
0
0
I received this response after running the tools; but now what do I do to fix it.

State of services:

The service 'wampapache64' is started

The service 'wampmysqld64' is NOT started
EXIT error code:0
Help message for error code 0 is:
The operation completed successfully.



The service 'wampmariadb64' is started

The service 'dnscache' is started

WampServer (Apache, PHP and MySQL) will not function properly if any service
'wampapache64'
'wampmysqld64'
'wampmariadb64'
'dnscache'
is not started.

I really can't tell what is started and what is not started

SSL (1 reply)

$
0
0
OK...

I have WAMP up and running as well as my HumHub website and all is well.

Please tell me about SSL. I've read a couple different websites that tell me how to install a product called "OpenSSL" for Localhost but then I see that there's an SSL module available with the Apache server itself. Do you have a primer on enabling SSL on WAMP for us Noobs?

Thank you and best regards...

Server sent charset unknown to the client (no replies)

$
0
0
Wampserver icon color is Orange

By entering User: root
Passwrod: (empty)

I got the following erroe:

MySQL said: Documentation
#2054 - Server sent charset unknown to the client. Please, report to the developers

and the following message:

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.


What to do to make Wampserver icon color Green ?

Your kind help is heighly appreciated.

Thank you.

ayoutyma@hotmail.com

error accessing over network (1 reply)

$
0
0
Hey,

I am completely new to wampserver. I am using wampserver Version 3.1.3 - 64bit installed on windows 10 x64, Apache version 2.4.33, PHP version 5.6.35, mySQL version 5.7.21 and MariaDB version 10.2.14.

My virtual host file looks like this:
# Virtual Hosts
#
<VirtualHost *:80>
ServerName localhost
ServerAlias localhost
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +Includes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
</Directory>
</VirtualHost>

I have two problems when accessing this over LAN.

1 - When I access the wampserver homepage from other computers, the page opens with these two error messages at the bottom:

The path ${INSTALL_DIR}/www for DocumentRoot does not exist (File c:/wamp64/bin/apache/apache2.4.33/conf/extra/httpd-vhosts.conf)
The path ${INSTALL_DIR}/www/ for <Directory ... does not exist (File c:/wamp64/bin/apache/apache2.4.33/conf/extra/httpd-vhosts.conf)

2 - I cannot access phpmyadmin over LAN. I am receiving 403 forbidden error message.

Can you please help me with this?

Thank you

WAMP Server is not responding. (no replies)

$
0
0
I am new to using a WAMP server and I am having issues with my html document only accessible through [localhost] but it cannot be accessed from another device.

I had this feature working previously but I had to reinstall WAMP on a new hard drive partition, I have all the settings set as they were before, port 80 is open and my Apache config files have access set to all granted.

All attempts to fix this myself and through information found online have not worked so any help would be greatly appreciated.

httpd.exe missing (no replies)

$
0
0
Had a problem with 2.5 with only 2 services starting so installed latest version (3.1.3 64 bit)

Worked fine first time.

Next time couldn't find wamp/bin/apache2.4.33/bin/httpd.exe


Uninstalled and reinstalled.

Same happened again. Fine first time then couldn't find file again.

Thanks

getting configuration error (1 reply)

$
0
0
I have recently installed wampserver64.It worked fine at first but now apache service is not running when i had tried to check the apache.error log I am getting the following error: [authnz_ldap:error] [pid 3820:tid 436] AH01749: Module mod_ldap missing. Mod_ldap (aka. util_ldap) must be loaded in order for mod_authnz_ldap to function properly
AH00016: Configuration Failed

I am a beginner therefore I need advice on how should i proceed with fixing this issue.

Port 3000 doesn't work after upgrade to Wamp 3 (no replies)

$
0
0
Hi there,


I recetnly updated from Wamp 2.5 to Wamp 3.1.3 following the update instructions. Everything has gone fine and all my sites and databases work exactly the same as before. However, when using gulp watch with browser-sync (which uses port 3000 to proxy localhost) the page does not load and after a while I get ERR_EMPTY RESPONSE from chrome or any browser.

So [localhost] loads fine, but http:localhost/sitename:3000 does not

I've tried all sorts of suggestions from people on SO forums. E.g. Commenting out ::localhost in my hosts file (doesn't work, everytime wamp is restarted it gets re-added to the hosts file).

Tried adding inbound rule exception for port 3000 in Windows firewall.

Tried disabling firewall completely

Tried NPM cache clearing, ipconfig /release DNS etc

Tried removing the Global and Local NPM browser-sync packages.

Tried reinstalling Node

Tried reinstalling the Visual C Runtime libs and Distributables and ran check VC (all fine but still doesn't work)

I'm not sure where else to search on this.


Any suggestions would be awesome.

Many thanks in advance

Windows 7 64 bit
WAMP 3.1.3 (36 bit)
PHP 7.0.3
Apache 2.4.9
Node 6.10.1

my rewrite is something wrong (1 reply)

$
0
0
I have searched, nothing.
wampserver 3.0 64
I use .htaccess, It not work as i mind,
I find wam have defalut rewrite rule, and my rule cant high to defalut
i remove .htaccess. the defalut rewreite rule real work
e.g:/news/123.html the defalut is /news.php/123.html
my own rule is /news.php?id=123,but not work,
my english is poor, can you see my word ? thx!

Wamp Server/Word Press Installation (2 replies)

$
0
0
Hi I work at a library and we are trying to install WAMP on our web server but we cannot make it work. The last step we got to was creating a virtual host. This is the directory where it points [www.infoway.org]

We don't know how to proceed forward.

Thanks

Robin
Viewing all 3212 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>