Tags » Php

How to Install Composer on Windows.

Step-1 : Go to https://getcomposer.org/download/

Step-2 : Click Composer-Setup.exe  link for download composer

Step-3 : After download composer, install given instruction.

Step-4 : Click next button and select php.exe from your local xampp server, path like: … 59 more words

PHP

Increase upload limit on ubuntu server running php php5-fpm

Find the correct php.ini file

For Linux

php -i | grep php.ini

For Windows

php -i | find /i "Configuration File"

From a php file i.e., 31 more words

Ubuntu

Process big DB table with chunk() method

Let’s imagine the situation: you have a big database table (like 10 000 rows or bigger) and you need to run an update to one column. 355 more words

PHP

Upload large mysql database using php

<?php
ini_set(‘memory_limit’, ‘999M’);
//ENTER THE RELEVANT INFO BELOW
$mysqlDatabaseName = ‘dbname’;
$mysqlUserName = ‘db_user’;
$mysqlPassword = ‘db_password’;
$mysqlHostName = ‘localhost’;
$mysqlImportFilename = ‘db_file.sql’;

//DO NOT EDIT BELOW THIS LINE… 68 more words

Wordpreess

PHP Installation

php installation:
To upgrade:
sudo apt-get update && sudo apt-get upgrade
To install:
sudo apt-get install php7.0 php-pear libapache2-mod-php7.0 php7.0-mysql

if it displays :(then type y) 34 more words

Php