1.Test whethere already installed or not
apache2 -v && mysql -V && php -v
if show server version, mysql version, and php version,it installed. If not, go to my previos post(RUNNING PHP ON KALI) to get install.
2.Starting apache2 and mysql
service apache2 start && service mysql start
mysql -h localhost -u root -p
In the Enter Password, just enter don’t type anything
set password for root@localhost = password(”);
4.Update and install
apt-get install phpmyadmin
6.Choose apache2 and type password which is previously set in the following dialog boxes
7.Configure phpmyadmin into apache2
7.1:Find apache config
find /etc -name apache.conf
7.2:Find apache2 config
find /etc -name apache2.conf
echo -e “\nInclude PATH1” >> PATH2
eg: echo -e “\nInclude /etc/phpmyadmin/apache.conf” >> /etc/apache2/apache2.conf
8.Browse http://localhost/phpmyadmin now
Before Install, you can test that http://localhost on browser then it will show “Unable To Connect” or similar message.
1.Installing MySQL 5
apt-get install mysql-server mysql-client
apt-get install apache2(Apache2 server is not started yet)
service apache2 start
git fsck = report potential issues
git status = retrieve current status of local and server branches
If you get the following status in your repository,
git reflog expire --expire=now --all
git gc --prune=now
Possibilities of this error occur;
|The version of Git on the server was older than our local Git and did not support one of the headers in the commit.
||git fsk = to know what issues are occuring
Codeigniter doesnot have native PHP sessions.
// Destroy CodeIgniter Session
// Destroy Facebook Session using Facebook function
// Maybe even destroy all native sessions as overkill
Check php_curl from php extension in the wamp icon.