wamp

WAMP is not displaying the icons in the directory listing

梦想的初衷 提交于 2019-12-04 16:56:49
In the past I have worked with my PHP code through vmware, but I recently decided to switch to doing it locally through WAMP (on Windows 8.1). I created an empty folder tests in the www folder. Then on my browser, I typed http://localhost/tests Everything is fine except that the icons icons are not displayed. Here is a picture demonstrating what I mean: Is there a way to get these icons to display correctly? This has to do with the Apache indexer config file. Its a bug with the Wamp installer. It does not modify the httpd-autoindex.conf configuration file to point to the Wamp directory you

CodeIgniter: Removing “index.php” in URL on WAMP

末鹿安然 提交于 2019-12-04 14:53:22
In CodeIgniter, I want to remove the "index.php" in the URL, on my localhost (WAMP). For example, http://localhost.com/ci/index.php/controller/function to http://localhost.com/ci/controller/function I have changed $config['index_page'] = 'index.php'; to $config['index_page'] = ''; My .htaccess file (which is located in the root directory, where the index.php lies) is as follows: <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /igniter #Removes access to the system folder by users. #Additionally this will allow you to create a System.php controller, #previously this would not have been

PHPUnit not recognizing cURL extension — can't install selenium test

和自甴很熟 提交于 2019-12-04 14:53:06
I'm on a Windows 7 machine running a WAMPserver and I'm trying to install the Selenium extension for PEAR. However, whenever I try to install it, I'm told that it requires the already-enabled PHP extension "curl": pear install phpunit/PHPUnit_Selenium Package "pear.phpunit.de/PHPUnit_Selenium" dependency "pear.phpunit.de/PHPUnit" has no releases phpunit/PHPUnit_Selenium requires PHP extension "curl" No valid packages found install failed So I go to check my php.ini file to see if it's enabled. Sure enough, there it is: extension=php_apc.dll ;extension=php_bz2.dll extension=php_curl.dll

Composer Install for Windows-

我与影子孤独终老i 提交于 2019-12-04 13:57:07
So I am trying to install Composer and setup Laravel on my Windows OS how ever I keep getting the same error when I run the install. To start I selected php.exe as it asks from directory C:\wamp\bin\php\php5.4.16 I click next, then install and it will go through like its install then stop and display the error: An error occurred. Clicking Retry may resolve this issue. Connection error [ERR_CONNECTION]:Unable to connect to getcomposer.org Request to http://getcomposer.org/installer failed with errors: Failed to open stream: A connection attempt failed because the connected party did not

PHP 7.0 cURL not working - WAMP on Windows 10 64 bit [duplicate]

风格不统一 提交于 2019-12-04 13:50:12
问题 This question already has answers here : PHP - SSL certificate error: unable to get local issuer certificate (14 answers) Closed 3 years ago . cURL is not working when I run curl on my WAMP server. Anyone know how to activate this for php 7.0+? I have tried to uncomment extension=php_curl.dll in php.ini Here is my error message: cURL Error #:SSL certificate problem: unable to get local issuer certificate 回答1: Download ca-bundle.crt from https://github.com/bagder/ca-bundle/blob

Syncing SQLite database with remote mysql data in android

耗尽温柔 提交于 2019-12-04 13:26:31
问题 How to synchronise SQLite database and remote MySQL data in android? To make it clear, I want to know how syncing between sqlite data and remote mysql works .. i.e., when the remote mySQL database is updated, SQLite data should also be updated without any button press or scroll down? How can I implement that using Android Studio and Wamp server ? Thanks in advance! 回答1: I guess you can use broadcast receiver inside a service of your android application. If not you can write a service and

How to restore MySQL database from WAMP?

邮差的信 提交于 2019-12-04 12:19:06
问题 Last month I had to reinstall Windows and I've moved the WAMP folder to another partition. Now I've installed WAMP again but I need the old database. How can I take the old MySQL database from the saved WAMP folder on the safe partion? In the wamp/bin/mysql/../data/ I have my old databases. If I copy the database folder only, in phpMyAdmin I can't see all the tables/views from the old database. 回答1: Looks like you use InnoDB tables, so you should also copy ib* files in data folder (but this

Virtual Host with WAMP

帅比萌擦擦* 提交于 2019-12-04 11:47:46
I'm using Wamp 2.2, edited conf/extra/httpd-vhosts.conf edited this file to add VirtualHosts , but when I un-commented line in httpd.conf to include httpd-vhosts.conf file, after restarting Wamp doesn't starts. If I revert changes is works fine. Any ideas why is this happening? This is code I'm using in httpd-vhost.conf : <VirtualHost *> ServerAdmin admin@localhost.com DocumentRoot "C:/wamp/www" # change this line with your htdocs folder ServerName localhost ServerAlias localhost <Directory "C:/wamp/www"> Options Indexes FollowSymLinks Includes ExecCGI Order allow,deny Allow from all <

Why are there no longer Windows binaries for PECL extensions like pecl_http?

守給你的承諾、 提交于 2019-12-04 11:04:20
问题 I'm working on a PHP project running on Windows and it would be so very handy to be able to use pecl_http rather than working with cURL and re-inventing the wheel in order to do all the cool stuff the pecl extension does like parsing headers and so forth. Everywhere I read (including the PHP site) is that the Windows binary for pecl_http is no longer packaged with any PHP installation. I can't find any explanation as to why not anywhere. Also, http://pecl4win.php.net/ has been down for ages

Restoring MySQL Databases when reinstalling Wamp

有些话、适合烂在心里 提交于 2019-12-04 09:57:57
I am attempting to restore my old databases to a new Wamp installation. However, I did not take a backup of Mysql files before I did this. Thankfully the uninstallation has not deleted all the files, but in my data folder I have : 1) All the databases (As folders) 2) auto.cnf There are no ib* files in the old folder. Is it still possible to restore my databases somehow? I have tried to replace the entire mysql5.6.17 folder ( there has been no change of version between the installations ), but Wamp remains orange and never turns green. If I replace only the data folder, the MySQL service starts