wamp

Wampserver 403 on named virtual hosts outside of /www

风格不统一 提交于 2019-12-03 12:13:37
问题 Wampserver tells me accessed denied when I try making a virtual host outside of the c:/wamp/www/ directory. I can make one fine within that directory. Even making a symbolic link to the folder works, but I would rather not have to use symbolic links. Why doesn't it work? Here is the code I use at the end of httpd.conf NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot "c:/wamp/www" ServerName localhost ServerAlias localhost </VirtualHost> <VirtualHost *:80> ServerName local.cascade

Portable WAMP package?

北战南征 提交于 2019-12-03 11:58:08
is there anyway that i can use PHP, mySQL, apache, phpmyadmin on a USB on a windows 7 computer? Reason for asking is that I don't have enough rights to install packages like XAMPP on a computer and i want to test some php code files. Thanks. A few years forward...Try uWamp http://www.uwamp.com/en/ It's light-weight and doesn't need installation, therefore it can run from flashdrive. USBWebserver is discontinued but i'm still using it 来源: https://stackoverflow.com/questions/5903966/portable-wamp-package

Install PHPUNIT with Composer

99封情书 提交于 2019-12-03 11:08:19
I have project on Symfony 2 and i would like use PHPUNIT on Windows 7. On githut phpunit is: Composer Simply add a dependency on phpunit/phpunit to your project's composer.json file if you use Composer to manage the dependencies of your project. Here is a minimal example of a composer.json file that just defines a development-time dependency on PHPUnit 3.7: { "require-dev": { "phpunit/phpunit": "3.7.*" } } For a system-wide installation via Composer, you can run: composer global require 'phpunit/phpunit=3.7.*' Make sure you have ~/.composer/vendor/bin/ in your path. First i use system-wide

Integration of postgreSQL on WAMP

有些话、适合烂在心里 提交于 2019-12-03 10:27:38
问题 I have just installed the postgreSQL on windows 7. I am trying to integrate postgreSQL with WAMP server. For this i have done the following changes in httpd.conf and php.ini file 1 LoadModule c:/path to libpq.dll in httpd.conf and then 2 extension=php_mod_pgsql.dll , extension=php_pgsql.dll -- enable(reemove ;) in php.ini If I do the above changes the localhost does not work. If I do the second changes the localhost work but does not load the libpq.dll . I checked the pgsql by php script by

WAMP Server ERROR “Forbidden You don&#039;t have permission to access /phpmyadmin/ on this server.”

匿名 (未验证) 提交于 2019-12-03 10:24:21
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Hi Friends previously I am using XAMP Server but when I install joomla Templates it creates alots of error. Now I installed the WAMP, but the issues are: 1. I can access with 127.0.0.1, but I cant access with "localhost". 2 When i access phpmyadmin i get this error. Forbidden You don't have permission to access /phpmyadmin/ on this server. Alias /phpmyadmin "c:/wamp/apps/phpmyadmin3.4.5/" # to give access to phpmyadmin from outside # replace the lines # # Order Deny,Allow # Deny from all # Allow from 127.0.0.1 # # by # # Order Allow,Deny #

Virtual Hosts on WAMP causing 403 forbidden on localhost… other aliases still work

匿名 (未验证) 提交于 2019-12-03 10:24:21
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I just realized that nothing else on WAMP is accessible unless it's under the virtual host alias. For example: if I name my vHost 'mysite.dev', I can only access mysite.dev and everything else gives a 403 forbidden error. If I add a vHost called anothersite.dev in addition to mysite.dev, only those sites can be accessed. The only thing under localhost that I can access is PHPMyAdmin. I have uncommented the line that includes vHosts.conf in the Apache httpd.conf file. This problem does not happen until I modify the vHosts.conf file.

XAMPP 1.7.3, Eclipse PDT &amp; XDebug - Debugging a PHP web page in Eclipse never stops at breakpoints

匿名 (未验证) 提交于 2019-12-03 09:52:54
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: My development web server is currently a XAMPP 1.7.3 on my localhost (Win XP). I just set up my Eclipse 3.6 PDT with XDebug . It works fine, if I debug a file as a "PHP script", but when it comes to debugging it as a "PHP web page", XDebug ignores the breakpoints completely. Only a manually inserted xdebug_break() inside the code stops the debugger. This isn't very useful, if you want to use conditions with Eclipse's breakpoints. Here my config: php.ini: zend_extension = "C:\xampp\php\ext\php_xdebug.dll" xdebug.remote_autostart=1 xdebug

Aestan tray menu error - wamp server

匿名 (未验证) 提交于 2019-12-03 09:05:37
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I am getting the error Aestan Tray Menu from the WAMP server. The configuration file contains a syntax error: on line 0 [EParseError] No Tray icon was specified. Please assign a tray icon by using one of the TrayIcon* directives in the [Config]section how can i fix it ? 回答1: This is because the wampmanager.ini file is corrupted. You can repair it without doing a full install. Open up command crompt Type "cd c:/wamp/scripts" Type "php refresh.php" (note, for this step you'll need to have php as an environment path variable) This should

Mysqli on WAMP, error - connection attempt failed

匿名 (未验证) 提交于 2019-12-03 08:59:04
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: Added Info : I tried it with the fresh install of the codeigniter, simply adding $this->load->database ( ); to the default controller triggers the same error. I checked my phpinfo and the mysqli is installed. I checked it with the following code and it is working. Still when I open one of my Codeigniter project, it shows error : A connection attempt failed, why ? Does all this means there is something wrong with Codeigniter ? <? php $mysqli = new mysqli ( "localhost" , "root" , "" , "myDatabase" ); /* check connection */ if (

Is it dumb to develop for LAMP on WAMP?

你离开我真会死。 提交于 2019-12-03 08:58:33
问题 After becoming somewhat estranged open source, and spending some years developing web applications in ASP.Net, I'm going to start doing quite a lot of PHP / MySQL development. I've quite painlessly installed WampServer to get a development environment up and running on my Windows machine, but the platform I'll be targeting will most likely be Linux. So my question is, am I likely to run into problems due to developing on Windows while targeting Linux? Is it advisable to invest in getting a