amitjha
Posts: 4
Joined: Mon Jul 23, 2012 1:36 pm

php support in Adavance Installer

Does advance installer support PHP as ASP.NET.

though It has an support for appache to host a web-application but i am unable to use with my php application.
CiprianComsa
Posts: 110
Joined: Thu Aug 19, 2010 10:11 am
Contact: Website

Re: php support in Adavance Installer

Hi,

Unfortunately, we don't have native support for PHP like asp.net.
You can install your PHP application using some methods:
A easy way is to use a WAMP package (contains Apache2, PHP, MySQL) to install all you need to run your PHP application. You can add WAMP packages as a prerequisite in Prerequisite page. Also, you need to add files and folders of you PHP application in AdvancedInstaller packages and copy (during installation) them in htdocs folder of Apache web server after is installed.

Another way is to install Apache and PHP from AdvancedInstaller:

- you can select Apache web server from our predefined prerequisite list. In case you want other version of Apache you can add it from Prerequisite page.
- In case you want to install PHP from a Windows PHP installer you can add it as a prerequisite from Prerequisite page. If you want to use a preinstalled solution of PHP you must add files and folders in Advanced Installer project.
- To configure php.ini (PHP configuration file) you can use Edit ini file for replacing some settings or you can overwrite the entire file (by adding in Advanced Installer package)
- For configure httpd.conf (Apache configuration file) you can use Edit Text File Update Dialog or you can overwrite entire file.
- You need to add files and folders of your PHP application in AdvancedInstaller packages and copy (during installation) them in htdocs folder of Apache web server after it is installed.

Can you give us more details about the method you tried?

Regards,
Ciprian
__________________________________________________________________________________________________________________________________________________
Ciprian Comsa
Advanced Installer Team
http://www.advancedinstaller.com/
Ciprian Comsa - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
amitjha
Posts: 4
Joined: Mon Jul 23, 2012 1:36 pm

Re: php support in Adavance Installer

scenario1:
Actually, i have to build an installer that inlcludes
apache2
mysql5.5
and when it is installed successfully then in the control panel only mycomplete installer will be shown.

scenario2:
The appache folder which is being created after the installation of apache2 that should by default
save into my solution folder.
CiprianComsa
Posts: 110
Joined: Thu Aug 19, 2010 10:11 am
Contact: Website

Re: php support in Adavance Installer

Hi,

If you don't want to appear Apache or MySQL on Control Panel, a solution is to add them as pre-installed in the installer package from Files and Folders page.
Using this method, you must manually register and launch Apache and MySQL Service by adding command lines into bat file and launch after all files and folders (Apache, MySQL, your application) are copied on the target folders.

Regards,
Ciprian
__________________________________________________________________________________________________________________________________________________
Ciprian Comsa
Advanced Installer Team
http://www.advancedinstaller.com/
Ciprian Comsa - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”