Linux, apache, php, mysql

Articles

  •   Select PHP Version - Plesk
    To select a version of PHP within the Plesk control panel, please do the following: Login in to Plesk Go to PHP Settings under the domain's settings area Select the version you want in the "PHP Version" popup menu Submit the changes and wait about…
  •   PHP 5.6, 7.0 Fails to connect via SSL / TLS
    Starting at PHP 5.6, PHP does a verify of the SSL certificate and if it fails to the connection is terminated and will return a failed connection error. To get around this, you need to change the verify_peer and verify_peer_name in the stream /…
  •   SMTP Authentication via Scripts
    Using SMTP authentication for your scripts, like you would with a mail client, is important for proper mail delivery as anti-spam filters will score mail sent via a script differently then via a mail server that you have to login in to. As such,…
  •   How to upload / create your site.
    Creating your site How you create your site depends on what you want to do with it. You may want a simple site, a complex one, or a mix. Scripts You would use scripts (php, asp, perl, etc), when you want to publish content that can be changed via a…
  •   Standard Mail Settings
    Mail Server Info: Login: Is your full email address (example@example.com) Incoming mail server: mail.example.com -- example.com being your real domain Outgoing mail server: mail.example.com -- example.com being your real domain Mailbox Type to use:…
  •   Your own php error.log and displaying errors
    Is your script not behaving as expected or producing a white page? If so, it could be a PHP error that is causing it and to find out you can either have errors logged or displayed by using the following .htaccess file directives. PHP Error Logging:…
  •   Email Provider Message Sizes
    Most mail servers limit the message size -- the size of the entire message including all attachments, the body of the message, any formatting, etc. The following are ones for major email providers and some ISPs.Date of list: 12/3/2014 -- values may…
  •   What is an SSL certificate?
    An SSL certificate encrypts data that is sent between the server and you, your computer, your visitors computers, etc. It prevents anyone sniffing/snooping/capturing/etc the data that travels on the network. It is used when you need to protect…
  •   Block HTTP request based on user agent - browser used
    If you need to block a user agent / bot / browser from your site, you can do so with a .htaccess rewrite -- note this applies to apache web servers and nginx would have its own method. RewriteEngine OnRewriteCond %{HTTP_USER_AGENT} botName…
  •   http Error codes
    The following are http status and error codes that are returned for each file access via a web browser. The highlighted entries are the most common. Successful Client Requests 200 OK -- request was delivered to visitor 201 Created 202 Accepted 203…