PDO_SQLITE driver not present.. what to do?
Question I see everywhere (including on the official docs) that the PDO_SQLITE driver is/should be included by default in PHP.
However, when I look at my extension_directory, I see only these files:
gd.so mcrypt.so mysqli.so mysql.so pdo_mysql.so pdo.so
And, as a result, a framework I'm trying to install (Symfony) tells me I need to install either the PDO_SQLITE or the SQLite3 .so extensions...
Can anyone help? Can I just try and find the needed .…
Read more ⟶Docker: Are you trying to connect to a TLS-enabled daemon without TLS?
Question On Linux Mint 17.1 x86_64 with kernel 3.13.0-48-generic and OpenSSL version 1.0.1f-1ubuntu2.11; whenever I try to execute any docker command (like docker login or docker run hello-world), I get the following error:
FATA[0000] Get http:///var/run/docker.sock/v1.18/info: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS? I have made a group called docker using sudo usermod -aG docker username, I have tried running the commands both as root and normally, added $(boot2docker shellinit 2> /dev/null) to ~/.…
Read more ⟶Failed to start Advanced key-value store.redis-server.service: Control process exited, code=exited status=1
Question redis-server wont work in the server i have nginx, apache, php and mysql
is there any package can cause the problem below
PS: this error when i'm installing BBB
https://github.com/bigbluebutton/bbb-install
redis-server.service: Control process exited, code=exited status=1
Failed to start Advanced key-value store.
--
-- The result is failed.
Apr 05 12:28:44 ns3081715 systemd[1]: redis-server.service: Unit entered failed state.
Apr 05 12:28:44 ns3081715 systemd[1]: redis-server.service: Failed with result 'exit-code'.
Apr 05 12:28:44 ns3081715 systemd[1]: redis-server.…
Read more ⟶Tomcat7 starts too late on Ubuntu 14.04 x64 [Digitalocean]
Question i am using digitalocean and trying to install and start tomcat on ubuntu but unfortunately i can not do it. (created new droplets and tried 10 times)
1GB Ram 30GB SSD Disk Amsterdam 2 Ubuntu 14.04 x64
When i start tomcat, it says "Tomcat started". But i can not access page from browser. and ./shutdown.sh returns error. What can be the problem ? I noticed something now. While i am writing this question, tomcat page is displayed.…
Read more ⟶Ubuntu + scala REPL, Commands not typed on console
Question I am using Ubuntu 18.04 + Scala 2.11.12 (OpenJDK 64-Bit Server VM, Java 1.8.0_162).
Once I open the scala shell, I am not able to see anything that I type. It gets typed though. Below is how it is happening when I type println("Hello, world!") at console:
$ scala Welcome to Scala 2.11.12 (OpenJDK 64-Bit Server VM, Java 1.8.0_162).
Type in expressions for evaluation. Or try :help.
scala> Hello, world!…
Read more ⟶Could not find phantomjs
Question Getting the following error when trying to use phantomjs from ruby on Ubuntu:
Failure/Error: visit root_path
Cliver::Dependency::NotFound:
Could not find an executable ["phantomjs"] on your path.
# ./spec/features/search_spec.rb:17:in `block (2 levels) in <top (required)>'
# ./spec/support/vcr.rb:23:in `block (3 levels) in <top (required)>'
# ./spec/support/vcr.rb:23:in `block (2 levels) in <top (required)>'
phantomjs was built locally and added to PATH. How do I make ruby find phantomjs?
Answer You can also do $ sudo apt-get install phantomjs That should automatically add phantomjs to your path, and do everything else necessary for it to run correctly.…
Read more ⟶How to stop redis-server autostart
Question I am using Ubuntu to develop my website. Recently, I started to use redis.
When I started my computer, redis-server will start by its own.
What method can I stop my redis-server starting by itself?
Answer It seems that the redis-server package uses rc.d scripts, and the preferred way to deal with them in Ubuntu is using update-rc.d:
sudo update-rc.d redis-server disable
Should do the trick. You can also disable it in a certain runlevel only:…
Read more ⟶