Skip to content

Instantly share code, notes, and snippets.

@GitHub30
Last active December 18, 2022 07:51
Show Gist options
  • Save GitHub30/5f6399a9e7c909573513265557230262 to your computer and use it in GitHub Desktop.
Save GitHub30/5f6399a9e7c909573513265557230262 to your computer and use it in GitHub Desktop.
set -xe \
&& sudo dnf install -y libnsl \
&& curl -LO https://sourceforge.net/projects/xampp/files/XAMPP%20Linux/7.1.33/xampp-linux-x64-7.1.33-1-installer.run \
&& chmod +x xampp-linux-x64-7.1.33-1-installer.run \
&& sudo ./xampp-linux-x64-7.1.33-1-installer.run --mode unattended \
&& echo 'PATH="/opt/lampp/bin:$PATH"' >> ~/.bashrc \
&& source ~/.bashrc \
&& sudo /opt/lampp/lampp start \
&& sudo systemctl stop firewalld \
&& sudo systemctl disable firewalld
set +xe
@GitHub30
Copy link
Author

$ php -r 'var_dump(PDO::MYSQL_ATTR_MAX_BUFFER_SIZE);'
PHP Fatal error:  Uncaught Error: Undefined class constant 'MYSQL_ATTR_MAX_BUFFER_SIZE' in Command line code:1
Stack trace:
#0 {main}
  thrown in Command line code on line 1

Fatal error: Uncaught Error: Undefined class constant 'MYSQL_ATTR_MAX_BUFFER_SIZE' in Command line code:1
Stack trace:
#0 {main}
  thrown in Command line code on line 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment