• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

Can't remotely connect to MySQL error (13) with PHP script, connecting through CLI works

phpmysqllinux


PHP Snippet 1:

setsebool -P httpd_can_network_connect=1

Related Snippets

Can I use a WooCommerce function without any WooCommerce page?

IlluminateDatabaseQueryException: SQLSTATE[HY000]: General error: 1 no such table - In clone project

PHP7 CLI attempts to load xdebug twice - "Cannot load Xdebug - it was already loaded"

Select option menu read from database and use it's values

virtctl works when executed via command line but not from php exec()

How can I get a div content in php

Utf8 encoding issue with Laravel

how can I set a session variable in Drupal 8 and get it in a php script?

jQuery Ajax Post with data

MySQL upgrade causing unexpected results on simple WHERE clauses

Laravel Pagination links() not working

PHP AWS Cognito 'Error executing "SignUp" : ResourceNotFoundException : User pool client XXXX does not exist

Convert regular text to array using notepad++

Why getting "Build step 'Execute shell' marked build as failure" error while creating a backup tar for files

Check if user online laravel

About Contact Privacy policy Terms and conditions