wamp

cant connect to database using cakephp and wampserver

梦想的初衷 提交于 2020-07-31 04:19:32
问题 I am using 64bit WampServer and cakephp 3.2 and win10. I have a new computer and need to transfer a cakephp project. There is a user Root with all privileges, with no password and database 'aptutori_apt4' n exists on phpmyadmin The project loads if it doesnt need the database but this is what I get error: sqlstate[hy000] [1049] unknown database 'aptutori_apt4' I cant connect the database! Is the host setting wrong ? 'Datasources' => [ 'default' => [ 'className' => 'Cake\Database\Connection',

cant connect to database using cakephp and wampserver

孤人 提交于 2020-07-31 04:17:40
问题 I am using 64bit WampServer and cakephp 3.2 and win10. I have a new computer and need to transfer a cakephp project. There is a user Root with all privileges, with no password and database 'aptutori_apt4' n exists on phpmyadmin The project loads if it doesnt need the database but this is what I get error: sqlstate[hy000] [1049] unknown database 'aptutori_apt4' I cant connect the database! Is the host setting wrong ? 'Datasources' => [ 'default' => [ 'className' => 'Cake\Database\Connection',

Windows Command Line - Multiple PHP Versions

不想你离开。 提交于 2020-07-10 06:15:42
问题 I am currently running Wampserver with multiple PHP versions (5.3.8, 5.4.3). Wampserver easily allows you to switch back and forth between the php version you want apache to use. However, I'm having trouble dealing with multiple versions from the CLI. I have projects that require the command line, but some are compatible with php5.4, while some are not. Is there a way to create some type of "alias" in Windows that allows me to specify which version of PHP to use on the command line .. I.E:

Windows - PHPDocs unable to install through Pear

扶醉桌前 提交于 2020-06-27 10:14:21
问题 When running the two commands to install phpdocs: pear channel-discover pear.phpdoc.org pear install phpdoc/phpDocumentor I get this error below saying I am unable to unpack a tgz file below. C:\wamp\bin\php\php5.5.12\pear>pear channel-discover pear.phpdoc.org C:\wamp\bin\php\php5.5.12\pear>pear install phpdoc/phpDocumentor downloading phpDocumentor-2.8.2.tgz ... Starting to download phpDocumentor-2.8.2.tgz (16,246,834 bytes) ...................................................................

IIS and Apache (WAMP) running

北战南征 提交于 2020-06-22 11:02:40
问题 How can we run IIS 6 and Apache (wamp) in same machine at same time? 回答1: IIS and Apache should have different port. To change the port of Apache(WAMP) Click on WAMP icon that you can see on your tray or other shortcut icons for wamp. Look for the Apache and open the httpd.conf or if you know where it is stored. Find the "80" then change Listen 80 to Listen 8080 ServerName localhost:80 to ServerName localhost:8080 Note: You can change the port which you desired as long as it will not conflict

Warning: mysqli_query(): (HY000/06): [closed]

本秂侑毒 提交于 2020-06-09 07:10:27
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed yesterday . I am working with WordPress and it is showing this error: WordPress is also running slowly but I don't know why. I am using WAMP on Windows 8. 来源: https://stackoverflow.com/questions/62101777/warning-mysqli-query-hy000-06

How can i solve this “Warning: mysqli_connect(): (HY000/1049): Unknown database” problem?

萝らか妹 提交于 2020-06-06 06:48:43
问题 I downloaded an Event management software and install wamp server.Everything is fine but when i try to sign up into the website ,it is showing me this ( ! ) Warning: mysqli_connect(): (HY000/1049): Unknown database 'eventmanagmnt' in C:\wamp64\www\Emsp\connection.php on line 2 Call Stack # Time Memory Function Location 1 0.0507 403176 {main}( ) ...\Login.php:0 2 0.1265 404264 include( 'C:\wamp64\www\Emsp\connection.php' ) ...\Login.php:2 3 0.1266 404264 mysqli_connect ( ) ...\connection.php:2

Trying to host my localhost on the internet. What am I missing here?

ぃ、小莉子 提交于 2020-05-17 08:49:37
问题 Trying to get my localhost live on the web so anyone can access it. I am a complete noob. Here are the steps I have taken, running on a Windows 7, 64bit, with WAMP 2.4 & using noip.com Signed up for account with noip and downloaded DYC v4.1.1 noip assigned me the hostname susanlafond.ddns.net with the ip/url 142.120.137.70 screenshot from noip.com download WAMP server and installed Placed index files for my site in the www folder, and tested on browser as localhost, works fine Edited Apache

Trying to host my localhost on the internet. What am I missing here?

橙三吉。 提交于 2020-05-17 08:49:16
问题 Trying to get my localhost live on the web so anyone can access it. I am a complete noob. Here are the steps I have taken, running on a Windows 7, 64bit, with WAMP 2.4 & using noip.com Signed up for account with noip and downloaded DYC v4.1.1 noip assigned me the hostname susanlafond.ddns.net with the ip/url 142.120.137.70 screenshot from noip.com download WAMP server and installed Placed index files for my site in the www folder, and tested on browser as localhost, works fine Edited Apache

Having Issue Adding Site to Local Host Virtual Host

a 夏天 提交于 2020-05-14 10:19:31
问题 Using WampServer 2.4.41 on Win64 Apache I am using this setting in my httpd-vhosts.conf bust this is adding the maper as a new VirtualHost to the WampServer instead of adding it as Site into localhost:8080 VirtualHost <VirtualHost *:8080> ServerName localhost ServerAlias localhost DocumentRoot "${INSTALL_DIR}/www" <Directory "${INSTALL_DIR}/www/"> Options +Indexes +Includes +FollowSymLinks +MultiViews AllowOverride All Require local </Directory> </VirtualHost> #webematics <VirtualHost *:8080>