wampserver

wamp phpmyadmin scripts/setup.php not found, but is there

大兔子大兔子 提交于 2019-12-11 13:22:18
问题 I installed wampserver 2.2 on my windows 7 machine and it runs. So far so good. Next thing was to get localhost/phpmyadmin/ working, which it does now (added localhost to the hosts file). But then... I have a few php files that are in the www folder and when I run these as localhost/whatevername.php , then they all run fine. However, if I want to go to localhost/phpmyadmin/scripts/setup.php , then my browser says that that file cannot be found. What am I missing? (it must be something silly..

Cakephp Upload Image - Can not determine the mimetype

ぐ巨炮叔叔 提交于 2019-12-11 13:17:34
问题 The following validation is being done in my model 'image' => array( 'uploadErrror' => array( 'rule' => 'uploadError', 'message' => 'The image upload failed.', 'allowEmpty'=> True ), 'mimeType' => array( 'rule' => array('mimeType',array('image/gif','image/png','image/jpeg')), 'message' => 'Please only upload images (gif, png, jpg).', 'allowEmpty' => true ), 'fileSize'=> array( 'rule' => array('fileSize', '<=', '1MB'), 'message' => 'Image must be less than 1MB.', 'allowEmpty' => true ),

Fixing 1064 SQL Error Importing Database into Wampserver

╄→尐↘猪︶ㄣ 提交于 2019-12-11 12:17:00
问题 When importing my 636MB database into Wampserver I get the below error. What is interesting is that I have max execution time set to 5000 in (php.ini). I have also tried numerous import methods and compression types all with the same results: MySql Console, PhpMyAdmin Console, BigDump, zip, gzip and finally using config.inc.php to upload a specified directory. Thank you for all help, suggestions & advice. Current Settings: php.ini: post_max_size = 750M upload_max_filesize = 750M max_execution

Moving WAMP and Wordpress to another drive

牧云@^-^@ 提交于 2019-12-11 12:12:17
问题 I have WAMP installed in my C Drive and a Wordpress website too. I now need to move everything to the D Drive. What is the easiest way to do this please? Thanks 回答1: if you have everything set up correctly, it's a matter of telling WAMP what directory is your wordpress installation. you can change it manually going to httpd.conf or default-server.conf and edit the DocumentRoot on my machine, the file is in C:\wamp\bin\apache\Apache2.2.17\conf\httpd.conf change DocumentRoot "c:/wamp/www/" to

WAMP is not running

╄→尐↘猪︶ㄣ 提交于 2019-12-11 11:51:59
问题 I had installed WAMP in E: drive. I re-installed fresh copy of windows. Since then, WAMP only comes in red shade , not coming in green mode. Please help what should I do? 回答1: port 80 might be used by other services. test that using apache>services>test port 80. and disable that service. 回答2: When Windows is re-install or upgraded in-place, sometimes both the Apache and MySQL services are cleared out and the PATH environmental variable is reset. Update the Path with the "bin" folders of

PHP MS Access connection not working

守給你的承諾、 提交于 2019-12-11 11:27:15
问题 I am trying to connect php server to ms access database and i have tried everything still i am not able to connect. Here is my code <?php $conn=odbc_connect('testdb','',''); //$conn=odbc_connect("odbc:Driver={Microsoft Access Driver (*.mdb, *.accdb)};Dbq=C:\wamp\www\test\testdb.accdb", '', ''); if (!$conn) { exit("Connection Failed: " . $conn); } $sql="SELECT * FROM testdb"; $rs[]=odbc_exec($conn,$sql); if (!$rs) { exit("Error in SQL"); } while (odbc_fetch_row($rs)) //<-------line 14 { $json

Is it posible to use symfony 2.0 with WAMP server reliably?

橙三吉。 提交于 2019-12-11 07:39:19
问题 This is my setup: Windows XP SP2 WAMP 2.2 (php 5.3.9, apache 2.2.21, mysql 5.5.20) Symfony 2.0 I run into a problem which is basically this: Symfony-2.0 vendors Apache Everything seems to be fine: Running mysqltest.php connects OK to the database. localhost/web/config.php is OK (just recommends setting up intl and APC) "php app/bin doctrine:schema:create" creates the schema successfully. But, when I try to: "localhost/web/app.php" "localhost/web/app_dev.php" Apache crashes (windows popup

Apache Forbidden Error WAMP

大城市里の小女人 提交于 2019-12-11 06:24:11
问题 Currently using WAMP 3.06 w/ Apache 2.4.23. Navigating to localhost on the server computer works perfectly, but when I try to go to the IP of the server on my network or the domain, I get a Forbidden on / error. My httpd.conf file has: <Directory /> AllowOverride none Require all denied </Directory> Thanks! 回答1: This small section of the httpd.conf file <Directory /> AllowOverride none Require all denied </Directory> protects the root folder of the drive that Apache is installed on from

PHP out of memory error does not reflect memory_limit setting in php.ini

你离开我真会死。 提交于 2019-12-11 06:08:39
问题 When I try to install a package to Contao using the Composer client I get an error: Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 134217728 bytes) in phar://D:/wamp/www/myproject/composer/composer.phar/src/Composer/DependencyResolver/Solver.php on line 220 I am really confused. My PHP memory limit is set at 512M. phpinfo() confirms it. But 1073741824 is a gigabyte! And it still isn't enough, as if the script totally disregards the PHP memory limit (where?)

How do I secure my WAMP so only localhost can access root directory?

落爺英雄遲暮 提交于 2019-12-11 04:08:54
问题 I've managed to setup my WAMP configuration so I can show my clients their websites while they're in development, but I want to secure the root directory so only I can access it. As it stands now, anyone can simply go to the domain name and see all the other projects I'm working on. For example, I want to be able to give my clients access to: http://example.com/customer1 but I don't want them to see http://example.com. I know I have to configure something in my httpd.conf file but not really