User blogs

Tag search results for: "php"

So you have a php script you wish to keep running forever

Create bash file -


ps aux | grep '[d]aemon.php'

if [ $? -ne 0 ]


    php /home/acct/public_html/daemon.php


Create a cron job for every minute

* * * * * /bin/sh

or run it this way on CLI: 
nohup /bin/sh &

But when the system reboots, it is gone

marko Nov 20 '19 · Tags: php, ssh, cron
Bankole Ahmed

PHP Introduction


First of all before we start the PHP we need to know what is PHP what you can use php to do.

Before you continue learning PHPis it advisably u have basic knowledge of :


  • HTML
  • CSS
  • Javascript

What is PHP?


  • First PHP is the acronym of Hypertext Processor
  • It is widely used and free to download
  • PHP scripts are executed on the server
  • PHP can be used to create desktop applications


What is a PHP file?

Well a PHP file has file extension of ".php"

A PHP file can contain HTML, CSS , Javascript, and PHP code

PHP code are executed on the server, and the result is returned to the browser as plain HTML

What Can PHP Do?

  • PHP can generate dynamic content
  • PHP is used to encrypt data
  • PHP can send and recieve cookies
  • PHP can create, open, read, write, delete, and close files on the server

There are other things PHP can do that is not written here, you could search what php can do Next is php installation stay tuned.

Bankole Ahmed Nov 12 '19 · Tags: php, web, backend
The best way to start is to do this: sudo port list sudo port selfupdate sudo port search --name --glob 'php*'Check amongst this out for the version that supports your php.sudo port install php**-intl
marko Nov 6 '19 · Tags: php
Hi, I am Tony, a hard-core laravel developer. I want to talk a bit about laravel


Laravel is easily one of the best and easiest php frameworks to learn out there. Dont even talk about codeigniter, I know it is cool but nah, it is not it.


All you require is basic knowledge of php/mysql and a local LAMP server.


You need to take a stroll down here

dhtml Oct 26 '19 · Tags: php, laravel, mysql