wamp

WAMP Virtual Hosts Setup

廉价感情. 提交于 2019-12-11 17:48:33
问题 Problem I had WAMP running happily and decided to set up Virtual Hosts. Now WAMP won’t start (stuck on orange). There is no error log because Apache won’t start. Also relevant: this version of WAMP listens on port 81 and MySQL uses port 3307. Request I have been at this for hours and cannot see my mistake. I’d be grateful if anyone can spot it. Apache/conf/extra/httpd-vhosts NameVirtualHost *:81 <VirtualHost *:81> DocumentRoot "C:/wamp/www" ServerName localhost ServerAlias localhost ## Using

cannot access Zend projects after uninstalling and re-installing wamp

别来无恙 提交于 2019-12-11 16:52:00
问题 I uninstalled WAMP in error, then downloaded and reinstalled a new one, same version. Having looked through the WAMP directories, I can see that my databases are still intact(I think) and I can access them through a MYSQL client. But I am unable to access my projects as before the accidental uninstal. My projects are Zend. I have set PHP include_path on the new PHP installation to point to ZendFramework library folder and to WAMP "www" folder. I have re-created new APACHE v-hosts to point to

virtual host is not working with WAMP server [closed]

烈酒焚心 提交于 2019-12-11 16:44:08
问题 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 4 years ago . i have setup WAMP server , it is working fine Then i tried virtual host with it , it doesn't work In the httpd.conf file i added these lines Listen 8081 Listen 8082 Include conf/extra/httpd-vhosts.conf And in the httpd-vhosts.conf NameVirtualHost *:80 Listen 8081 Listen 8082 <VirtualHost *:80> ServerAdmin

PHP and wampserver loading data on users computer using virtual host is too slow

て烟熏妆下的殇ゞ 提交于 2019-12-11 15:49:54
问题 I have a PHP-MySQL based single page application (using Angular 6), working on a local network. We set up the etc/hosts as following: #127.0.0.1 localhost #::1 localhost 192.168.0.217 dev.local ::1 dev.local #127.0.0.1 angular.local #::1 angular.local 127.0.0.1 localhost ::1 localhost 192.168.0.217 angular.local ::1 angular.local the angular.local is the application to open on users windows and dev.local to access the PHP script for login, adding, editing,... The httpd-vhosts is as the

How to change import limit on phpmyadmin running with wampserver? [duplicate]

青春壹個敷衍的年華 提交于 2019-12-11 15:14:57
问题 This question already has answers here : Can't import database through phpmyadmin file size too large (12 answers) Can not increase file upload size WAMP (4 answers) Closed last year . I can only upload files up to 128 MB big on Phpmyadmin. I need to change the value, so I tried to change the php.ini file via tray. I already changed memory_limit = 128M to memory_limit = 2048M and restarted all services, but the limit in Phpmyadmin is still 128 MB. Do I have to change another setting? Update:

Can't start latest WAMP and XAMPP?

依然范特西╮ 提交于 2019-12-11 14:39:48
问题 I can't start WAMP 2.5 and XAMPP 7 but I can start WAMP 2.2 so its not port 80 issue ( I have listed all programs with netstat in cmd ). I have run httpd.exe in cmd but it didn't give me useful information on cmd ( nothing ). Thanks for the answer 回答1: Change your port and try once Edit your httpd.conf in XAMPP Change this to #Listen 12.34.56.78:80 Listen 80 this #Listen 12.34.56.78:80 Listen 85 Then access your localhost useing localhost:85/ If its same open cmd and type netstat -nab and

WAMP php ODBC Connection 'Warning'

巧了我就是萌 提交于 2019-12-11 13:44:16
问题 I have a problem with ODBC in php (WAMP Server 2.5, PHP 5.5.12). When I try to run: $conn = odbc_connect("odbc_dsn", "user", "pwd"); if ($conn) { echo "Connection established."; } else { exit("Connection could not be established."); } I get a Warning: Warning: odbc_connect(): in C:\wamp\www\Concepts\index.php on line 29 Connection could not be established. If I change the "odbc_dsn" to something else (that doesn't exist) like "fdbasdf" then I get: Warning: odbc_connect(): SQL error:

exec not working in php script ( WAMP Server )

筅森魡賤 提交于 2019-12-11 13:43:49
问题 I am using WAMP server on my system to execute php scripts. I want to execute a script test.php from my main script main.php . For that I am using exec function like this exec('php test.php'); . In test.php I have given one echo statement. But when I run my main.php script from the browser I am not able to see output of test.php script. What am I doing wrong ? please suggest. 回答1: You have to give the proper path of php.exe exec("c:\wamp\<where ever you exe is>/php.exe test.php"); so it has

How can I make cURL set a cookie relative to the script?

孤者浪人 提交于 2019-12-11 13:32:02
问题 EDIT : How can I change the relative path to 'relative-to-this-file' mode? Like on my host... I've got a cURL PHP script which works. It gets my schedule from my school site. Though there is one strange thing: On my webhost it creates the cookie.txt and on my localhost it doesn't. Why doesn't cURL create a cookie on my localhost? Something with relative paths and wampserver? Maybe some settings on wamp? I am using: WampServer Windows 7 cURL does create a cookie if I use: '/cookie.txt' but

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..