Installation on Windows with xampp - windows

I am trying to install Yii2 on Windows with no success. I tried several ways.
First tried to install basic and advanced application templates following official installation instructions.
Then I tried with Github. I downloaded archive, unzipped it, placed folder content in htdocs of xampp. When I opened this page http://localhost/my_yii/requirements, it showed "Object not found!" error.
I tried with composer also but failed.
My htdocs path is "D:\php\htdocs" and my php.exe path is "D:\php\php". I think composer installed in this path: "D:\php\php".

Related

Configuring PHP for PostgreSQL and IIS

I have PHP v7.2.7 and PostgreSQL v10 with IIS.
I am trying to get this to work following any advice I have been able to find on the web, but with no success. My configuration so far is as below.
PHP.ini extension list includes both php_pdo_pgsql.dll and php_pgsql.dll.
Both these dlls are located in the correct extensions directory according to phpinfo.
According to phpinfo the Configuration File Path is "C:\Windows" and the Loaded Configuration File is "C:\Program Files\PHP\v7.2\php.ini". I have the same php.ini file at both locations.
I have copied the version of libpq.dll from the lib folder of the postgresql installation to the root folder of the PHP installation.
I have added the bin folder of the postgresql installation to the Windows system search path.
Phpinfo shows that pdo_pgsql extension is loaded but not pgsql.
Can anyone please shed any light on what more I need to do?

Composer library dependencies not included on web host

I'm using a library management program called Composer on my device. I used it to install a library which it placed in a folder called vendor. My web application works fine locally. However, it gives me a bunch of php include errors even though I uploaded in the same folder hierarchy. I suspect this is because of the composer.json file which signals the required libraries, but I'm not entirely sure.
Any help would be highly appreciated.
This happened to me awhile ago, to fix this. Here is what i've done:
I removed my vendor folder on my working directory on the web host
thru ssh, i've installed composer, and then re-run composer install on my working directory.
after that everything worked

Error when installing WampServer

hi i am installing wampserver3 addon php 7.0.13 in my computer. Every time i am trying to install i got the following error:-
"The installation folder chosen (%1) in not that of the Wampserver.
Select the installation folder of wampserver."
i am also attaching a screenshot of the following error. kindly help me to resolve this issue.
thanks
That's because you are NOT actually installing WampServer, but its PHP add-on.
If you used Google to find it, you probably downloaded and installed the WampServer PHP add on from Source Forge. It would be named something like wampserver3_x64_addon_php7.0.13.exe
This is NOT what you want.
You can get the actual WampServer install file from the WampServer project site... which leads you to correct file on Source Forge. It would have a name like
wampserver3.0.6_x64_apache2.4.23_mysql5.7.14_php5.6.25-7.0.1
You want to get it from here:
http://www.wampserver.com/en/download-wampserver-64bits/
The response you are getting means that you are trying to install an incomplete version of WAMPSERVER. The incomplete version could be an addon or an extension. Visit wampserver website and click on the version you would like to download. Desist from using download latest button.
Click here to download full version x64
Click here to download full version x86
Because that green button is missleading and you have not downloaded thw Wamp Installer
but the Maria DB Addon (!) check again
You must navigate in sourceforge and select the latest wamp exe and clik on that link so the download will start
Thank you
you probably downloaded the 64bit version when you need the 32bit version.

How to install TYPO3 on windows 7 with wampp

I would appreciate if someone can assist me install TYPO3 on Windows wamp server. I have worked on this for some weeks now on both Linux and Windows, but apparently this is something small I am missing.
Here is what I have done on Windows 7, following guidance given on several links I was not able to list in this post:
I have installed wamp and when I start it it shows all services running;
I created my folder "vhost1" in which I put my documents (i.e. in C:\wamp\www\vhost1).
I have copied typo3_src-6-10 (later replaced by typo3_src-8.4.0) into vhost1 and made the following links-mklink /D typo3_src C:\wamp\www\weaconsort\typo3_src\typo3_src-x.x.x \ mklink /D typo3 typo3_src/typo3 \ mklink /D index.php typo3_src/index.php
When I point to "http://localhost/vhost1" in my browser I get "Internal Server Error", but when I point to "http://locahost" I get the index page with my document folder under "Your Projects".
Clicking on my document folder gives me "Internet Explorer cannot display the webpage"
I cannot go further than this.
I have tried to change Document root to "c:/wamp/www/vhost1" in "http.conf", "httpd-ssl.conf and httpd-vhosts.conf, no avail.
Will appreciate any assistance
I have all running on windows 7 with no trouble ... I'm no wizard at all, so first change is that I have xampp installed, no symlinks, I just place in htdocs ...
If you want to go down this road I'll assist you with all questions, I've even got imagemagick up and running:
get rid of wampp (hope you're not using it for other development)
download xampp 1.8.3 and install that
download typo3 (I suggest 7.6.11, because you'll find lots more extensions and I think v8 runs on php7 !!) and place it in htdocs.
rename the folder to a testname, and save an empty file named FIRST_INSTALL in the folder. [directory structure for typo3 installation: rename typo3_src-7.6.11 to testname]
start up xampp and go to 'localhost/phpmyadmin/, create there a database 'testname' (I use collation utf8_general_ci but you can leave that)
now go to 'localhost/testname/' in your browser, and follow the instructions ... (I think you can ignore the warnings at the start), when you arrive at the database select the one just created with user 'root' and blank password.
at the end of the install you'll be asked if you want to start with an empty installation or if you want to fill with the introduction, that's where you insert the package !!
keep me posted and I update my answer to resolve where you stall
TYPO3 - inspiring people to share!

Install Mercury after XAMPP installation

I have initially installed XAMPP without checking the Mercury installation.
Of course, the module shows-up in the XAMPP Control panel but is disabled and there is no mean to install it from there. How should I do without re-installing the whole XAMPP package?
For who would be interested (that applies to any not-initially-installed module of XAMPP package):
create a folder inside xampp, e.g. \xampp\mercury. In windows it should be "MercuryMail".
download mercury from here: http://www.pmail.com/downloads_s3_t.htm
during installation, point to the \xampp\mercury\ folder.
edit the file \xampp\xampp-control.ini:
[EnableModules]->Mercury=1
[BinaryNames]->Mercury=mercury.exe
Reload XAMPP Control panel
That's all!

Resources