LMSouq

Knowledge Base

Browse Moodle Solutions

Clear

419 solutions found in server-admin

Page 4 of 21
0 votes
1 ans
3 views
file_get_contents(): SSL operation failed with code 1, Failed to enable crypto

I’ve been trying to access this particular REST service from a PHP page I’ve created on our server. I narrowed the problem down to these two lines. So my PHP...

server-admin Solved
JO
asked 1 month ago by Joe
0 votes
1 ans
3 views
PHP server on local machine?

I'm trying to build a PHP site and I'm wanting to test my PHP files without uploading them to my host. Basically testing them on my own machine before I...

server-admin Solved
KO
asked 1 month ago by Kozy
0 votes
1 ans
3 views
PHP - SSL certificate error: unable to get local issuer certificate

I'm running PHP Version 5.6.3 as part of XAMPP on Windows 7. When I try to use the Mandrill API, I'm getting the following error: > Uncaught ex...

server-admin Solved
DO
asked 1 month ago by Dor Dadush
0 votes
1 ans
3 views
Download File to server from URL

Well, this one seems quite simple, and it is. All you have to do to download a file to your server is: file_put_contents("Tmpfile.zip", file_ge...

server-admin Solved
XA
asked 1 month ago by xaav
0 votes
1 ans
3 views
cURL error 60: SSL certificate: unable to get local issuer certificate

I am trying to send an API request using Stripe but get the error message: > cURL error 60: SSL certificate problem: unable to get local issuer certificat...

server-admin Solved
LO
asked 1 month ago by LoveAndHappiness
0 votes
1 ans
3 views
Make XAMPP / Apache serve file outside of htdocs folder

Is it possible to configure [xampp][1] to serve up a file outside of the `htdocs` directory? For instance, say I have a file located as follows: `C:\proje...

server-admin Solved
CM
asked 1 month ago by cmcculloh
0 votes
1 ans
3 views
What is the difference between client-side and server-side programming?

I have this code: <script type="text/javascript"> var foo = 'bar'; <?php file_put_contents(&#39...

server-admin Solved
DE
asked 1 month ago by deceze
0 votes
1 ans
3 views
Where does PHP store the error log? (PHP 5, Apache, FastCGI, and cPanel)

I am on shared hosting and have [cPanel][1], Apache, and PHP is run by [FastCGI][2]. Where does PHP store the error log? Is there another way I can find the...

server-admin Solved
PH
asked 1 month ago by PHPLOVER
0 votes
1 ans
3 views
Website screenshots

Is there any way of taking a screenshot of a website in PHP, then saving it to a file?

server-admin Solved
TO
asked 1 month ago by Tom
0 votes
1 ans
3 views
Send email using the GMail SMTP server from a PHP page

I am trying to send an email via GMail's SMTP server from a PHP page, but I get this error: > authentication failure [SMTP: SMTP server does no suppor...

server-admin Solved
SK
asked 1 month ago by skb
0 votes
1 ans
3 views
What is the difference between HTTP_HOST and SERVER_NAME in PHP?

What is the difference between `$_SERVER['HTTP_HOST']` and `$_SERVER['SERVER_NAME']` in PHP? When would you consider using one over the other...

server-admin Solved
EM
asked 1 month ago by Emanuil Rusev
0 votes
1 ans
3 views
Docker-compose check if mysql connection is ready

I am trying to make sure that my app container does not run migrations / start until the db container is started and READY TO accept connections. So I decide...

server-admin Solved
JO
asked 1 month ago by John Kariuki
0 votes
1 ans
3 views
Is there a way to only install the mysql client (Linux)?

Are there are any Linux mysql command line tools that don't require the entire mysql db installation package to be installed? What I'm trying to do...

server-admin Solved
EM
asked 1 month ago by emilebaizel
0 votes
1 ans
3 views
Can't connect to local MySQL server through socket '/tmp/mysql.sock

When I attempted to connect to a local MySQL server during my test suite, it fails with the error: OperationalError: (2002, "Can't connect to l...

server-admin Solved
AL
asked 1 month ago by Alex Gaynor
0 votes
1 ans
3 views
Library not loaded: libmysqlclient.16.dylib error when trying to run 'rails server' on OS X 10.6 with mysql2 gem

I've been struggling with this for some time. I've installed Rails 3, gem, mysql on my Snow Leopard machine. All was going well until I created my fi...

server-admin Solved
JO
asked 1 month ago by Jonty Brook
0 votes
1 ans
3 views
How to get ER model of database from server with Workbench

Is there any way to get an ER model of a database from the server that is connected to my MySQL Workbench?

server-admin Solved
ZD
asked 1 month ago by zdarsky.peter
0 votes
1 ans
3 views
How to start MySQL server from command line on Mac OS Lion?

I installed mySQL on my Mac. Beside starting the SQL server with mySQL.prefPane tool installed in System Preferences, I want to know the instructions to start f...

server-admin Solved
VI
asked 1 month ago by vietstone
0 votes
1 ans
3 views
how to customize `show processlist` in mysql?

I want to order by Time,but seems no way to do that ? mysql> show processlist; +--------+-------------+--------------------+------+---------+----...

server-admin Solved
OM
asked 1 month ago by omg
0 votes
1 ans
3 views
PHP with MySQL 8.0+ error: The server requested authentication method unknown to the client

I'm running MySQL version 8 on PHP 7.0. I'm getting the following error when I try to connect to my database from PHP: > Connect Error: SQLSTAT...

server-admin Solved
MO
asked 1 month ago by mohammed yaser
0 votes
1 ans
3 views
How can I initialize a MySQL database with schema in a Docker container?

I am trying to create a container with a MySQL database and add a schema to these database. My current Dockerfile is: FROM mysql MAINTAINER (me)...

server-admin Solved
MA
asked 1 month ago by Marcus Gomes