How to combine localhost codeigniter webapp files into a single installation file? - codeigniter-2

Now its need to install xampp, import db, inset codeigniter file to xampp folder. Is that possible to combine all these steps to single like windows app installation file(.exe file).

Related

Change localhost/htdocs folder in Xampp 8.2

I know this is not a new question but I think something has changed with Xampp in the latest version. I was using Xampp 8.0 and was using another directory to serve as localhost just fine. My Xampp installation is in C:/xampp while my projects are located in D:\Whip\Projects. This is the folder I want to load when using the address localhost.
I changed 2 lines in httpd.conf like I had done several times before
DocumentRoot "D:\Whip\Projects"
<Directory "D:\Whip\Projects">
The folder loads but PHP doesn't work properly. I get errors related to missing session folders and extensions. The problem is in php.ini file the paths are not absolute anymore. For example, in xampp 8.0 I had
session.save_path="C:\xampp\tmp"
In 8.2 I have
session.save_path="\xampp\tmp"
And same thing with extensions directory and all other paths defined in php.ini (and who knows where else). If I manually add C: to the path above, the sessions start working. I'm apprehensive of changing every path like that. Is there a better way to change the htdocs folder now?

System cannot find the path specified yiic command

Hi i have been trying last night about this error. The error comes when i am standing in a directory and i want to access a file yiic but error comes
The System cannot find the path specified
My system:
Windows 8.1 64 bit
wamp server 3.0.06 64bit
PHP version 5.6.25(used by wamp server)
Yii 1.1.19
My file strucure:
C-->wamp64-->www->yii-->framework
Problem:
I am standing in framework folder. When i type this command to create a new yii project
C:\wamp64\www\yii\framework> yiic webapp C:\wamp64\www\testapp
I get this error
The System cannot find the path specified
Things I have tried so far:
Ran cmd as administrator but same result
unlocked the yii zipped file, I have read that on some site that windows sometimes blocks .bat files in zipped file but same result
Have you tried the following?
C:\wamp64\www\yii\framework> php yiic.php webapp C:\wamp64\www\testapp
You can find more details in an official docs:
Note: When running yiic on Mac OS, Linux or Unix, you may need to
change the permission of the yiic file so that it is executable.
Alternatively, you may run the tool as follows,
% cd WebRoot %
php YiiRoot/framework/yiic.php webapp testdrive
http://www.yiiframework.com/doc/guide/1.1/en/quickstart.first-app
I just downloaded yii and there is no framework folder and I can't execute yiic

ElasticSearch: Installing ES plugin in Windows 64-bit environment

what are the specific steps to install an ES plugin like like Elasticsearch-head and Inquistor on a Windows 64-bit environment?
I have downloaded the zip file from https://github.com/polyfractal/elasticsearch-inquisitor
then unzipped it and put it in the plugins directory of my ES folder but
going to
http://localhost:9200/_plugin/inquisitor/ returns a blank page in my browser.
Unzip file "elasticsearch-inquisitor-master.zip"
Inside there is a folder named "_site". Copy-paste it inside "ElasticSearch\plugins\inquisitor\"
You must have this structure: "ElasticSearch\plugins\inquisitor\_site"
Browse: http://localhost:9200/_plugin/inquisitor/

How do I upload files to localhost in XAMPP?

I'm trying to test a WordPress installation in XAMPP for OS X (running version 0.7.3 because I prefer the included version of phpMyAdmin). When I try to upload media files, it returns an error about not having a temporary folder. Same with any upload form I test in other applications.
Is there anything I can do to get it to allow uploads to function normally, as if it were a remote machine?
You'll simply need to create a /tmp and /wwwtmp in your sites root directory.
Check the permissions set for these directories

XAMPPLITE / Web Application - auto install

Would like to hear comments from you if its possible to accomplish this with a single mouse click on a bat/exe file -> if its possible to accomplish the following two steps into one:
1: Install xampplite
2: Paste a web application into the htdocs folder. The web application has a file install.php. The install.php file will install the database and prepare the web application for further use.
Thanx,
Why should that not be possible? But installing xmapp on a computer with the generall installer asks you where you want to have the files.
An other idea could be by using the zip file. AFAIK you can unzip files from cmd (by invoking the zip function) to a destination you set, copy the webapplication to the htdocs folder, starting up apache and call an URL to your installer script.

Resources