Tag Archives: php
Setup Nginx + php-FPM + apc + MariaDB on Debian 7 – The perfect LEMP server
Install and configure Apache and PHP with cgi on Ubuntu or Debian
Guide on how to setup apache and php using CGI (Common Gateway Interface) on Ubuntu
Setup Apache and Php with mod_fcgid on Ubuntu/Debian
Mod Fcgid Mod Fcgid is an apache module that enables it to talk to fastcgi enabled application. It can be used to setup with apache to run php over fastcgi. It is an alternative to the older mod_fastcgi and has some differences with it. In this post we shall be setting up apache with php… Read More »
Output buffering in php and apache
Output Buffering Output buffering is processing mechanism where the output being generated by a program is held in a place till its size reaches a limit or the generation is complete. Only after, will the output be send to its destination. In php for example, doing and echo generates some output. Now this output might… Read More »
Install and configure Apache and php with mod fastcgi on Ubuntu/Debian
An overview of apache mpms and php server apis
Apache + Php When setting up an apache+php server to run your php applications, there are lots of configuration parameters to deal with. The most important is the php Server Api (sapi). It determines how exactly is apache going to run the php scripts. Along with the php sapi another important thing to select is… Read More »
Php – Do not rely on set_time_limit too much
Php set_time_limit Php has a function called set_time_limit which can be used to dynamically adjust the maximum execution time permitted to a script. It allows specifying the time in seconds and limits the script execution time to that many seconds. The set_time_limit function whenever called, effectively extends the script execution time by that many seconds…. Read More »
Php reverse shell with netcat
Netcat is a command line utility that can perform lots of tasks like telnet. In this tutorial we shall use it to get a reverse shell using a php backdoor.
How to modify a SoapClient request in PHP
SOAP and PHP SOAP is a protocol to exchange objects over http. It is used to implement apis and the data being exchanged is in xml format. Sometimes it might be required to modify the soap request to add custom http headers for example. Since SoapClient is a class, it can be extended and the… Read More »