Linux Tutorials on the topic “php”

  • Running Apache2 With PHP5 And PHP4 At The Same Time

    Author: Falko TimmeTags: , Comments: 6

    Running Apache2 With PHP5 And PHP4 At The Same Time This tutorial shows how to install and configure Apache2 with PHP5 and PHP4 enabled at the same time. Because it is not possible to run both PHP5 and PHP4 as Apache modules, we must run one of them as CGI, the other one as Apache module. In this document I will use PHP5 as Apache module and PHP4 as CGI, and I will describe the setup for the Linux distributions Debian Sarge (3.1) and Ubuntu 5.10 (Breezy Badger).

  • I'd like to disable the use of the exec() function in my PHP. Can this be done?

    apache Author: Falko TimmeTags: Comments: 0

    Yes, you can disable it in your php.ini. Search for the line disable_functions = and change it: disable_functions = exec Don't forget to restart Apache afterwards.

  • How To Set Up suPHP With PHP4 And PHP5

    Author: Falko TimmeTags: , Comments: 7

    How To Set Up suPHP With PHP4 And PHP5 This tutorial shows how to install and use suPHP with PHP4 and PHP5. suPHP is a tool for executing PHP scripts with the permissions of their owners instead of the Apache user. With the help of suPHP you can also have PHP4 and PHP5 installed at the same time which I will describe at the end of this article. suPHP integrates into Apache2 as a module. At the time of this writing it does work with Apache2 prior to version 2.2. Version 2.2 is not supported yet.