ampps

Where to put certificates to avoid SSL errors in AMPPS?

笑着哭i 提交于 2020-07-10 07:47:17
问题 I always had an "SSL operation failed" error when using Simple HTML DOM Parser, but I managed to deal with it by placing "cacert.pem" into a relevant folder on my web server. As I am trying to develop my website locally on AMPPS, I cannot find the exact same route and directory. Does anyone know where to put it on AMPPS or other ways to solve this problem? 来源: https://stackoverflow.com/questions/62251495/where-to-put-certificates-to-avoid-ssl-errors-in-ampps

setting up virtual hosts in ampps

妖精的绣舞 提交于 2020-01-15 06:37:08
问题 I am trying to create a virtual host in ammps under windows 8, the document root should be under an external hard drive F: directory this is my httpd.conf <VirtualHost 127.0.0.1:80> <Directory "{$path}/www"> Options FollowSymLinks Indexes AllowOverride All Order deny,allow allow from All </Directory> ServerName localhost ServerAlias localhost 127.0.0.1 ScriptAlias /cgi-bin/ "{$path}/www/cgi-bin/" DocumentRoot "{$path}/www" ErrorLog "{$path}/apache/logs/error.log" CustomLog "{$path}/apache

Install php extension on AMPPS

帅比萌擦擦* 提交于 2020-01-06 03:57:22
问题 As the title says im trying to install a php extension (zip.so) that is missing from php7.1 version in ampps 3.8. I have searched for an answer but no luck so far. Also using php5.6 and going to the php extensions list im able to see the zip extension, but since the software that im trying to intstall requires php 7.X im unable to simply use php5.6. Thanks for the help in advance. 回答1: I finally found a way to do it: Go to (for example) https://pecl.php.net/ and download the extension that

Tool to upgrade current python installation

删除回忆录丶 提交于 2019-12-23 21:35:29
问题 I have Python 2.7 installed with ampps. I tried to modify python.conf to make it point to another installation of Python 3.3 but it leads to errors in Apache start up. LoadModule wsgi_module modules/mod_wsgi.so WSGIPythonPath "C:/Python33/Lib;C:/Python33/Lib/site-packages;C:/Python33/DLLs" WSGIPythonHome "C:/Python33" It generates the following error: [Fri Aug 15 01:48:38.114336 2014] [mpm_winnt:notice] [pid 6084:tid 412] AH00418: Parent: Created child process 5592 File "C:/Python33\lib\site

Why cannot Apache handle multiple requests at the same time?

半腔热情 提交于 2019-12-20 09:39:52
问题 I have AMPPS installed. My Apache server cannot handle multiple php requests at once (for example if I call localhost/script.php multiple times, they are processed in a consecutive order). script.php consists only of <?php sleep(10); ?> . I read that MaxClients directive is responsible for concurrent access configuration, but it is missing in my httpd.conf at all. Disabling Xdebug and writing session_write_close(); to the beginning of the script didn't work. When I added session_start(); to

AMPPS Virtualhost deosn't work

不羁岁月 提交于 2019-12-12 09:46:42
问题 I update /etc/hosts and test the ping, the domain works; I use ampps admin tool to add domain, and verify the modification as the content below. <VirtualHost 127.0.0.1:80> <Directory "/www/companyname"> Options FollowSymLinks Indexes AllowOverride All Order deny,allow allow from All </Directory> ServerName local.companyname.com ServerAlias local.companyname.com ScriptAlias /cgi-bin/ "/www/companyname/cgi-bin/" DocumentRoot "/www/companyname" ErrorLog "/Applications/AMPPS/apache/logs/local

Swift/XCode 7: NSURLSession/NSURLConnection HTTP load failed (kCFStreamErrorDomainSSL, -9813)

≯℡__Kan透↙ 提交于 2019-12-12 03:19:44
问题 I have created a self signed certificate with openssl and sha 256 like the following: openssl req -x509 -nodes -sha256 -days 365 -newkey rsa:2048 -keyout server.key -out server.crt and I've installed it correctly in my AMPPS server by configuring httpd-ssl.conf file. If I try to perform, on a web browser: https://localhost I correctly see that connection uses TLS 1.2. When I run my app under iOS 9 simulator, I guess that error (9813) is raised because my certificate is self signed. Is there a

Softaculous Ampps 3.8 Apache not starting if i change PHP version to 7.1

拟墨画扇 提交于 2019-12-10 10:05:41
问题 I have a recent problem in Ampps Software on Windows 10, Apache stopping automatically if PHP version is 7.1 but if I change back PHP Version to 5.6 it's working fine and here's the error log for Apache <pre> [Mon Oct 22 10:28:12.413768 2018] [mpm_winnt:notice] [pid 12484:tid 684] AH00455: Apache/2.4.27 (Win32) OpenSSL/1.1.0f PHP/5.6.31 configured -- resuming normal operations [Mon Oct 22 10:28:12.413768 2018] [mpm_winnt:notice] [pid 12484:tid 684] AH00456: Apache Lounge VC15 Server built:

Softaculous Ampps 3.8 Apache not starting if i change PHP version to 7.1

别说谁变了你拦得住时间么 提交于 2019-12-06 05:12:31
I have a recent problem in Ampps Software on Windows 10, Apache stopping automatically if PHP version is 7.1 but if I change back PHP Version to 5.6 it's working fine and here's the error log for Apache <pre> [Mon Oct 22 10:28:12.413768 2018] [mpm_winnt:notice] [pid 12484:tid 684] AH00455: Apache/2.4.27 (Win32) OpenSSL/1.1.0f PHP/5.6.31 configured -- resuming normal operations [Mon Oct 22 10:28:12.413768 2018] [mpm_winnt:notice] [pid 12484:tid 684] AH00456: Apache Lounge VC15 Server built: Jul 7 2017 11:43:51 [Mon Oct 22 10:28:12.413768 2018] [core:notice] [pid 12484:tid 684] AH00094: Command

Pip - Fatal error in launcher: Unable to create process using '\"'

不想你离开。 提交于 2019-11-27 11:01:22
I installed python 3.5.1 via ampps and it's working. However, when i try to use pip, i get the following message: Fatal error in launcher: Unable to create process using '"' I already reinstalled ampps into a path which doesn't include any whitespaces. Note that the "python -m pip" workaround doesn't work for me too, since i get the following message everytime i use it: C:\Users\MyUserName\Desktop\Ampps\python\python.exe: Error while finding spec for 'pip.__main__' (<class 'ImportError'>: No module named 'queue'); 'pip' is a package and cannot be directly executed How do i get pip to work