wamp

Changing the datadir on my.ini file is not being respected in WAMP

谁都会走 提交于 2019-12-12 08:54:07
问题 I usually don't ask questions on this, but I'm beating my head against the wall with this one. I am trying to setup WAMP to work with Dropbox. I've used both these tutorials (http://mymediamagnet.com/how-to-setup-wamp-with-dropbox/ and http://abhisheksachan.blogspot.com/2012/08/web-development-environment-made-easy.html) as they both tell me the same thing. The httpd.conf settings that you make in Apache have worked great. All my files in my new www folder are respected and are shared across

you don't have permission to access [custom alias] on this server

↘锁芯ラ 提交于 2019-12-12 07:47:50
问题 can anyone help with a following issue: I am using wamp to run projects in my chrome browser. after adding a newAlias which points to my project directory c:/dev/myProject I am getting Forbidden message: you don't have permission to access /newAlias on this server. I can access default Aliases such as phpmyadmin, webgrind... but i cannot access my own. I am using WampServer Version 2.5 64bit on Win 8.1 64bit located in c:/wamp. I tried basic stuff from the net but with no luck. Any

Restore a backup site with Drupal

让人想犯罪 __ 提交于 2019-12-12 06:14:31
问题 I'am trying to restore a backup site from a copy made by Backup and Migrate module in Drupal, I followed those steps: copy the drupal files to www directory create a new mySQL database install drupal using the new db enable backup and migrate module performed the restore I faced this error : Notice: Undefined index: files in theme_backup_migrate_file_list() (line 954 of .../sites/default/modules/backup_migrate/backup_migrate.module) the issue was solved by the dev version of "Backup and

Update cURL in wamp

只愿长相守 提交于 2019-12-12 06:12:25
问题 Can I get more info on upgrading the cURL in the WAMP server. I have seen http://stackoverflow.com/questions/20323017/update-curl-in-wampserver but can some one give more explanation. I have cURL 7.36.0 but need 7.41 for TWILIO. which cURL should I download? How to update the cURL 回答1: Step by Step Step 1 Download for 32-bit: http://windows.php.net/downloads/releases/php-5.6.7-Win32-VC11-x86.zip Download for 64-bit: http://windows.php.net/downloads/releases/php-5.6.7-Win32-VC11-x64.zip Step 2

.htaccess to have index.php and assets inside a public folder

孤人 提交于 2019-12-12 06:05:40
问题 I want to have my project tree divided like this: application public assets index.php system Should I have two .htaccess files (one inside the root and another inside /public ) or just one? My project is in the URL http://localhost/my-project/ I have already pointed $system_path and $application_path to their parent folder, like this: $system_path = '../system'; $application_folder = '../application'; But I might be missing something. 回答1: You need only one .htaccess file on your root

Cannot iterate through object in Ubuntu PHP 5.2.10-2 Works on PHP 5.2.10?

时光总嘲笑我的痴心妄想 提交于 2019-12-12 05:16:54
问题 With this code I am iterating through an object. Works: Windows with WAMP and PHP 5.2.9 Linux web server with PHP 5.2.10 It is not working on my desktop: Ubuntu 9.10 with PHP 5.2.10-2 from the repo's $incomingData = json_decode($_POST['data']); foreach($incomingData as $key => $action) { } Invalid argument supplied for foreach() 回答1: Maybe one of your servers has magic_quotes_gpc enabled, so you can try to use stripslashes on $_POST['data'] before you decode it. Both PHP versions should be

Run a CodeIgniter project issue

倾然丶 夕夏残阳落幕 提交于 2019-12-12 04:23:13
问题 I am new to CodeIgniter, I have a project named task_board . everything is OK. However when I typed localhost/task_board in browser, the following page is opened: When I clicked on the highlighted project, following page is opened: localhost without project is looked like: 回答1: I think you need to enable rewrite module - please follow these steps 1) Open apache’s configuration file using - {wamp_dir}/apache/conf/httpd.conf 2) Search for the following string: LoadModule rewrite_module modules

xhprof not working wamp 2.2

浪子不回头ぞ 提交于 2019-12-12 04:08:32
问题 I have downloaded the dll file from http://windows.php.net/downloads/pecl/releases/xhprof/0.10.6/ and kept the first 32 bit file at C:\wamp\bin\php\php5.3.13\ext and also include it in my php.ini file (as extension=php_xhprof.dll). But when I call phpinfo() xhprof is now showing. I am not getting any errors in my log. 回答1: There are 2 php.ini file and you may have edited the wrong one. To make sure you edit the correct php.ini file i.e. the one used by Apache use the wampmanager menus like so

My WAMP Server is not working after fresh installation? [closed]

自闭症网瘾萝莉.ら 提交于 2019-12-12 04:06:32
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . The port is clear, and I have Skype listening on a different port, I just installed WAMP and I have attempted to restart the server. The tray icon is perpetually RED despite me restarting and starting. The error Google Chrome sends me when I attempt to visit localhost is: Google Chrome's connection attempt to

Composer not recognizing php 5.6.4 [duplicate]

烈酒焚心 提交于 2019-12-12 03:47:26
问题 This question already has answers here : Change PHP version used by Composer on Windows (2 answers) Closed 7 months ago . I have added PHP 5.6.4 to Wamp and it works correctly, the icon is green and able to view my sites on localhost. As part of our project I need to have Composer working with one of our plugins. When I try to install Composer using GitBash I receive this error. composer install Problem 1 - Installation request for illuminate/container v5.3.16 -> satisfiable by illuminate