i have small project of php script and mysql database, want to configure in .deb file
hello everyone
i want to make deb package with samll project of php and myysql database such as login.php, index.php controll.php etc and database_name.sql . when i install this deb package my php script folder should go in /var/www file
and databse should create automatically.
i edit the control file of deb package , in depends line i set apache2, php and mysql because these three thing are necessary to run my script till here it is ok .
but i am not able to send my project in /var/www and configure database automatically . i think for this i have to write .sh file but i dont know bash scripting . can anyone help me
and provide me step by step making of deb file with small project of php and mysql database
|