• About
  • CentOS server
  • Contact
  • My LinkedIn
Skip to content

ServerAdminBlog

Short Circuit…

  • About
  • CentOS server
  • Contact
  • My LinkedIn

Category: PHP

Laravel whoops output – How to hide. env passwords

- January 26, 2019 | January 26, 2019 - ServerAdmin

As of Laravel 5.5.13, there’s a new feature that allows you to blacklist certain variables in config/app.php under the key debug_blacklist. When an exception is thrown, whoops will mask these …

Read More

Quick Laravel – Part 1

- September 6, 2015 | September 6, 2015 - ServerAdmin

Laravel 5.x requires PHP version 5.5.9+. Also, in case you want to use database (sqlite or mysql), install Sqlite3, Mysql or PostgreSQL server. Install composer with curl -sS https://getcomposer.org/installer | …

Read More

SSH2 extension for PHP on CentOS 6

- November 7, 2014 - ServerAdmin

Before we can build and install ssh2 extension, we’ll need a few packages yum install gcc php-devel php-pear libssh2 libssh2-devel makeyum install gcc php-devel php-pear libssh2 libssh2-devel make Install the …

Read More

CentOS 5 Call to undefined function sqlite_escape_string()

- July 19, 2013 | July 19, 2013 - ServerAdmin

If you’re using PHP 5.2.x on RHEL/CentoOS and you received error PHP Fatal error: Call to undefined function sqlite_escape_string()PHP Fatal error: Call to undefined function sqlite_escape_string() don’t worry. The reason …

Read More

Extra Packages for Enterprise Linux – EPEL HowTo

- April 18, 2013 | April 18, 2013 - ServerAdmin

EPEL (Extra Packages for Enterprise Linux) is a volunteer-based community effort from the Fedora project to create a repository of high-quality add-on packages that complement the Fedora-based Red Hat Enterprise …

Read More

Zen coding in Aptana

- February 19, 2013 - ServerAdmin

Zen Coding is a set of plug-ins for text editors that allow for high-speed coding and editing in HTML, XML, XSL, and other structured code formats. To install ZC plugin, …

Read More

Read file line by line with PHP

- November 1, 2012 - ServerAdmin

$fh = fopen("myFile.txt", "r"); while (!feof($fh)) { $line = fgets($fh); echo $line; } fclose($fh);$fh = fopen("myFile.txt", "r"); while (!feof($fh)) { $line = fgets($fh); echo $line; } fclose($fh);

Read More

PHP Fatal error: Class ‘DOMDocument’ not found in …

- March 10, 2012 - ServerAdmin

This morning I found the next errors inside the web server log. PHP Warning: include(DOMDocument.php) [<a href="function.include">function.include</a>]: failed to open stream: No such file or directory in …… PHP Warning: …

Read More

How to install phpshield loaders

- February 26, 2012 | February 26, 2012 - ServerAdmin

PHPShield is an PHP encoder application that is used to protect the PHP code which is an excellent option for encoding your PHP files if you don’t require any time …

Read More

UTF-8 with MySQL and PDO

- October 11, 2011 | October 11, 2011 - ServerAdmin

If you are using PDO (PHP Data Objects) and you’re having problems with utf-8, try to add PDO::MYSQL_ATTR_INIT_COMMAND option inside PDO definition like I wrote below. $db = new PDO( …

Read More

Posts navigation

Older posts

Pages

  • About
  • CentOS server
  • Contact
  • My LinkedIn

Donate Dogecoin

Donate Dogecoin DLPHK4V8aw3vroHTvGfNyjYk3YrfQB1QgQ

Recent Posts

  • Debian server – Setting a Default Gateway
  • How to upload an ISO image to the Proxmox server using the terminal
  • How to check the DNS server IP being used (Ubuntu 18.04+)
  • Email alert for SSH logins
  • Simple pushtogit script
  • SUDO CVE-2021-3156 and how to upgrade CentOS 6
  • Time and date on CentOS 7 Howto
  • Laravel whoops output – How to hide. env passwords
  • Intel CPUs affected by Spectre & Meltdown
  • rsync tutorial

Blogroll

  • CyberCity.biz
  • devttys0
  • hackr.io Tutorials
  • Igor Šmitran
  • Infostan portal
  • PostgreSQL Exercises

Linkshare

Top IT Courses- CCNP 2015 Allin

Categories

  • Amavisd-new (1)
  • Android (4)
  • AntiVirus (2)
  • Apache (4)
  • Debian (1)
  • DNS (2)
  • DOCSIS (1)
  • FreeRadius (7)
  • Hardware (6)
  • Humor (5)
  • Java (4)
  • Links (1)
  • Linux (15)
  • Mikrotik (1)
  • Mint Linux (8)
  • MySQL (19)
  • Networks (8)
  • nginx (2)
  • Other (50)
  • PHP (17)
  • Postfix (8)
  • PostgreSQL (5)
  • Programming (8)
  • Proxmox (1)
  • Red Hat/CentOS (46)
  • RRDTool (1)
  • Server project (16)
  • Tips & Tricks (55)
  • Web Hosting (3)
  • Windows (2)

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

eXTReMe Tracker
Powered by WordPress Theme: BlogX by wpthemespace.com