Login   Register  
PHP Classes
elePHPant
Icontem

PHP 2 Install: Generate PHP script archives for site installation

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-02-16 (9 years ago) RSS 2.0 feedStarStarStar 49%Total: 4,110 All time: 678 This week: 1,309Down
Version License Categories  
php2install 1.0GNU General Public Lice...Databases, Utilities and Tools, Files..., C...
Description Author  

This class can generate PHP scripts that, when executed, they extract information built-in the scripts to install files and MySQL databases.

This class can be used to install all the files and databases of a site or an application. It is recommended when you need to distribute an application or even a whole site that is going to be installed by other people.

The class can collect all the site files recursively from a given directory.

It can also query a MySQL database and generate an SQL statements to create the database schema and the information in the rows of the base installation database.

In Portuguese:

Esta classe pode pegar todos os arquivos que compõem um site ou um aplicativo e se necessário um banco de dados MySQL associado, e o transformam em um único arquivo de instalação.

Esse arquivo de instalação é na verdade um script de PHP com toda a informação a instalar. Esse script deve ser executado no servidor para instalar automaticament o site ou aplicativo.

Esta classe é recomendada para quando a instalação de um site ou aplicativo é feita por terceiros.

Innovation Award  
PHP Programming Innovation award winner
February 2005
Winner


Prize: One downloadable copy of Roadsend PHP Compiler
When a developer needs to distribute a site or an application that is going to be installed in production servers by other people, he must supply all the documentation and data to be installed in a convenient format.

The documentation must be clear and the steps necessary to install the application must be simple to understand and brief to execute.

Furthermore, the installation process may have to take care with eventual restrictions of the production environment. Sometimes, the person that will install the application cannot have physical access to the production server nor remote shell access.

This class provides a solution that consists on creating a PHP script that can be run as a Web server page. When it is run on the server it can automatically execute several types of actions to perform common installation steps like copying text or binary files and even installing databases and their contents.

This way, the most common steps of installing an application can executed smoothly and without the need of the presence of the original application developer.

Manuel Lemos
Picture of helmut kemper
Name: helmut kemper <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: ???
All time rank: 67352 in Brazil Brazil
Week rank: 1754 Down146 in Brazil Brazil Down
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file php2install.class.php Class Class file
Accessible without login Plain text file sample.php Example Sample file
Accessible without login Plain text file sample1.php Example sample file
Accessible without login Plain text file sample2.php Example sample 2
Accessible without login Plain text file sample3.php Example sample 3
Accessible without login Plain text file sample_otuput_demo.php Output sample output file

 Version Control Unique User Downloads Download Rankings  
 0%Total:4,110All time:678
 This week:0This week:1,309Down
User Ratings User Comments (1)  
 All time
Utility:71%StarStarStarStar
Consistency:71%StarStarStarStar
Documentation:-
Examples:70%StarStarStarStar
Tests:-
Videos:-
Overall:49%StarStarStar
Rank:1649
 
Excellent
5 years ago (kishore kumar)
70%StarStarStarStar