Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
Well this is my first time on phalcon, I want to try it out, but I can't activate the extension. I am using WampServer 2.5 x64.
Here's my php version:
According to this, I tried 2 versions from their download page:
Restarted wamp several times, but I still get a warning sign on the extension:
NTS means Not-Thread-Safe, information on PHP's Thread Safety feature can be found here.
From the question I linked:
A Thread Safe version should be used if you install PHP as an Apache
module, as a Worker MPM (multi-processing model).
The Non Thread Safe version should be used if you install PHP as a CGI
binary.
You need to find out whether your PHP installation is thread-safe, to do so:
Navigate to your PHP Info page (if you do not have one, create a PHP file with <?php phpinfo(); ?>.
Load the page, and look for the Thread Safety line; if enabled it will say Enabled (or True on some installations).
If Thread Safety is enabled, you must use the thread safe version of the extension, which in your case is Phalcon 1.3.4 - Windows x64 for PHP 5.5.0 (VC11).
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
The way OpenVPN3 library works is by creating a TUN/TAP interface on the host system. On Android, for example, it's not possible to create two different VPN connections at the same time, but I really need to be able to use 2 or more connections at the same time on my Android app (and possibly iOS and other systems like macOS, Linux, Fuchsia).
I'm reading the OpenVPN3 source code. Of course it can be modified to be used as a library in C++ to open direct connections without calling the system but I'm afraid I end up with something insecure. It's very hard to write secure crypto code.
I cannot use other VPN protocols, it must be OpenVPN.
Is there another option? Since OpenVPN is based on OpenSSL, isn't it just a matter of connecting through OpenSSL and then sending packets to the server? (of course doing the proper interpretation of the .ovpn client file)
Is there another way of doing it that I'm missing?
UPDATE:
I opened an issue and the dev said that I can create a TunBuilder interface. Does someone know where to start? There are millions of classes there
There is another project on github, dubbed as OpenVPN which doesn't appear to be the one you've cited. This is all done in C++, using OpenSSL. This build looks like it was benched on a fairly recent of Microsoft Visual Studio (2017) -- so at least all the branches aren't stale! :) I think this project may be closer to what you are looking for.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I was trying to update VMware workstation v9 to v9.0.3. After downloading the update, the program attempted to uninstall current version but failed as it couldn't find uninstall.exe. I checked Programs and Features but don't see VMware Workstation listed. Looks like I need to manually uninstall it. Is there a process/ command?
Perhaps you can try this rather comprehensive knowledge base article from VMWare:
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1308
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I was just wondering if it would be possible to install the CUDA toolkit without replacing my Display Driver. I don't mind the other changes that the installation would make to my system, but wish to keep my current NVIDIA display driver, rather than change to the one in the CUDA installation. Therefore, is this possible, or is the replacement display driver required to develop and run cuda programmes?
You need a display driver that is at least as recent as that included in the CUDA toolkit that you are installing. For example, Linux CUDA 5.5 requires a 319.37 or newer display driver, Linux CUDA 5.0 requires a 304.54 or newer display driver.
During the install of the toolkit, you will be prompted as to which components you want to install (driver, toolkit, samples). You can select no when prompted for the driver, if you wish to keep your driver. There are getting started guides for each of the supported platforms (windows, linux, mac).
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 9 years ago.
Improve this question
I'm trying to find good C++ library, which supports this features:
so this is the task
Free license (Apache, MIT, LGPL which I can use for commercial).
Accept several severity levels (Like error, notice, info etc).
Support to rollback the log files if they reach a size or a time
limit.
Support asynchronous writing.
Supports x86_64.
I make search, and found this libs:
Google glog
log4cxx
log4cplus
log4cpp
rlog
Pantheios
But none of them supports all of what I need. And for example rlog has a very poor documentation, from which I can't make my decision.
Maybe you can help me to find logging library?
Rollback a log file? nothing will support that.
The log4xxx ones will alllow you to write rolling log files - so when one reaches a certain size (or time, daily for example) it will start a new file.
The log4 ones are pretty standard and are really rather good, the performance of log4net trashed the Microsoft logging block for example, and as they support all the other languages it makes them a sort-of standard IMHO.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
Greetings all,
I have this application which uses Tomcat and PostgreSQL (only involve database reads, no writes).
I need to make this application runnable from a DVD.(target platform is Windows).
So I was thinking to do these:
1) In a VirtualMachine (i prefer
virtualbox) install lightweight linux
distro.
2) Install Tomcat and Postgre,
3) Write virtualmachine into DVD which
loads above virtualmachine image
automatically when executed.
But I am not quite sure whether I can do step 3.Or is it possible ?
Note : My users cannot install VM software in their machines.I just give the DVD and they can execute the VM installed inside the DVD.
Any tips?
Can you put a vm image into a DVD?
Yes
Can you run the vm whithin (inside) the DVD?
Probably not, because the vm itself will need write permission for RAM files and things like that.
Is it possible ?
Sure. This approach is similar to what live CDs do, and a number of VM servers support this natively with no extra work on your part (e.g., VMWare GSX).
Of course, because the VM still needs space to write files (because the guest OS will need to write files even if your application doesn't), you're going to pay a hefty price in memory. Essentially the pieces of the VM that need to be written to must be offloaded to main memory, which reduces the memory available to the rest of the applications you have.