Trending
  • CentOS Nginx error: could not open error log file: open() “/usr/share/nginx/logs/error… denied
  • Ubuntu 20.04: install MongoDB Driver for Lua – part 2
  • Ubuntu 20.04: setup MongoDB Replica Set
  • How to convert DAA file to ISO file
Skip to content
March 28, 2023

Free Online Tutorials

Tutorials, Resources and Snippets

Skip to content
  • About us
  • Contact
  • Privacy Policy
  • Terms and Conditions

Tag: PHP

  • PHP
edit httpd xampp conf

XAMPP: php.ini path

phptuts May 30, 2022
To check php.ini path, write a file example x.php with content: Then run : example: http://localhost/x.php You will see Configuration File (php.ini) Path and Loaded…
Continue Reading
  • PHP
php

PHP: Flushes the system write buffers

phptuts April 24, 2022
We use function flush — Flush system output buffer
Continue Reading
  • PHP
php

PHP: how to redefine constants

phptuts March 6, 2022
Method 1: (for PHP >= 5.6) In PHP 5.6+, you can import constants, under an alias. Such alias can overwrite an already existing constant. Example:…
Continue Reading
  • LINUX
  • PHP
How to install and configure phpMyAdmin on CentOS 7

Nginx: How to install and configure phpMyAdmin on CentOS 7

phptuts April 8, 2020
Step 1: Find package phpmyadmin Step 2: install phpmyadmin Step 3: Edit file /etc/nginx/nginx.conf or add file /etc/nginx/conf.d/phpMyAdmin.conf If you want to protect phpmyadmin, please…
Continue Reading
  • LINUX
  • PHP
visudo

PHP: How to fix error shell_exec can’t run some command on Linux

phptuts December 18, 2018
Example you create file 1.php with content: If you run this command with root: It work well But if you run under HTTP: http://tutorialspots.com/1.php it…
Continue Reading
  • PHP
A non-numeric value encountered

PHP: how to fix error: A non-numeric value encountered

phptuts December 15, 2018
Example: to parse youtube duration format to seconds, we use this method: This method work well with PHP5, but i use PHP7 i get error:…
Continue Reading
  • PHP
laravel logo

How to create own helper functions in Laravel

phptuts December 13, 2018
Let’s create a Helpers directory under app and create a Helper.php file. These is an example: If you are using a class and its methods…
Continue Reading
  • LINUX
  • PHP
gmp

Linux, PHP: How to install php_gmp module

phptuts August 13, 2018
Step 1: install php-gmp Now you can see file gmp.so and 20-gmp.ini Step 2 (optinal if not exists file /etc/php.d/20-gmp.ini): restart PHP-FPM now you can…
Continue Reading
  • PHP
remote file exists

PHP: How to check if a remote file exists

phptuts January 11, 2018
Main method is read header file, so, you can read 2 article first: PHP: How to get size of a remote file PHP: How to…
Continue Reading
  • PHP
php

Function apache_request_headers on Nginx

phptuts July 17, 2017
Function apache_request_headers supports only on Apache, how to use it on Nginx. Here is the solution:
Continue Reading

Posts navigation

Page 1 Page 2 … Page 10 Next page

Categories

  • ANDROID
  • CSS
  • golang
  • HTML
  • JS
  • LINUX
  • MYSQL
  • PHOTOSHOP
  • PHP
  • Uncategorized

Recent Search Terms

  • centos7 /etc/hosts ping name or service not known
  • cannot find ecosystem config js
  • online unrar
  • https://tutorialspots com/how-to-mount-drive-on-centos-7-4488 html
  • dnf install php-pgsql cant find
  • https://tutorialspots com/how-to-get-torrent-files-from-magnet-link-4375 html
  • centos name or service not known
  • nestjs socketios redisios adapeter
  • install php5-pgsql centos 7
  • mount disk centos

Archives

  • October 2022
  • September 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • May 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • November 2015
  • October 2015
  • September 2015
  • August 2015
  • January 2015
  • October 2014
  • September 2014
  • June 2014
  • March 2014
  • February 2014
  • August 2013
  • June 2013
  • May 2013
  • April 2013
  • February 2013
  • January 2013
  • December 2012
  • November 2012
  • October 2012
  • September 2012
  • August 2012

Blogroll

  • PHP official site
  • Free ebooks download

Ads

Recent Comments

  • CentOS 7: use certbot to register SSL certificate for multiple domains with Cloudflare | Free Online Tutorials on CentOS 7: install certbot to register wildcard SSL certificate
  • AWS REST API mediaconvert: example convert mp4 to HLS | Free Online Tutorials on AWS error: You must use the subscription API to subscribe your account to the service before using this operation
  • AWS REST API mediaconvert: example convert mp4 to HLS | Free Online Tutorials on AWS IAM: create role for mediaconvert
  • AWS REST API mediaconvert: example convert mp4 to HLS | Free Online Tutorials on Create IAM user for AWS
  • Windows: how to install tesseract | Free Online Tutorials on How to add packages after install Cygwin

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
Free Online Tutorials © 2023 - Designed By BfastMag Powered by WordPress