How to test my 'magento' project on localhost? - php

Don't judge me that 'you don't even search anything' ...
Actually, I read and read this post :
enter link description here
But I'm new to web project (I have only experience developing ios and android) , I don't know what I have to take a next step.
I have 'MAGENTO' project so my mission is to get accustomed to this project by testing on my localhost.
But I feel unkind for the post above because of my less understanding of web.
You can blame me, but please Tell me What I don't know...
I feel crazy because I don't know what I don't understand
What I've done is below :
Installation of php version 5.6
Having total project of magento of our service
Check apache is installed :
Server version: Apache/2.4.16 (Unix)
Server built: Jul 22 2015 21:03:09
One thing I think I am aware of is that I do not know how to connect my magento project and localhost...

First as #muk Said. install xampp.
it is hard to tell you how to install magento on local machine because you are not aware of web.
install magneto
I am providing you a video please see that and I think you will get success.
BTW below are the steps to install magento on local xampp/wampp.
download and extract magento
put magento folder in htdocs folder (C:\xampp\htdocs\ if you install xampp in c drive)
open browser and hit localhost/phpmyadmin (make sure your mysql and apache are running)
create a database
now open another tab and hit url localhost/magento
a setup wizard will show there , enter required information
and that all. For more information.

http://insync.co.in/how-to-install-magento-on-wamp-server-localhost-localcomputer/
This has all the info you need. If you still face issues, update your question with info about where you are stuck at and what error you see.

Related

404 Not Found nginx/1.22.0 after upgrading my website to PHP 8 in Azure

I am trying to upgrade my website from PHP 7.4 to 8.0 in Azure. What I did was to create a blank website on PHP 8 and then used a site migrating tool like "All-in-One WP Migration Unlimited Extension" to download the site from source and upload it to the destination. Once the upload is complete, it gives a "404 Not Found nginx/1.22.0" error and the site won't come up.
I understand the problem lies in the docker container while moving from Linux (source) to Nginx (target). Since I'm a Windows guy, I don't know what I need to be doing to make my application work on the target environment.
If someone can give me step by step instructions on what file to be edited and what needs to be added, please post it here. I know how to use Vi editor by the way. If you are going to point me to an article, please make sure that the article is an up-to-date one because I followed this article - https://azureossd.github.io/2021/09/02/php-8-rewrite-rule/index.html and it didn't work.

Run Laravel on existing Apache server

I have a DigitalOcean server running Ubuntu 14.04. I'm using this as a host for my web-development projects.
Now I want to start using Laravel for a project of mine, but I have a question about this.
In the /var/www/html folder of Ubuntu I created a folder, let's say, "project". In this folder I installed Laravel using this tutorial. Now everything is setup I want to run Laravel so I can test it and start developing on it.
When I run the command php artisan serve from within the "project"-folder it says "running on http://localhost:8000". So it's working.
But how do I access it? When I go to http://example.com/project it just shows me the files in that folder.
So it's running on the localhost on my server. Does that mean that it is external-accesible (the url above) or how does this work? (I guess the port is also different, 8000 instead of the default 80 for Apache)
I hope the question is clear and someone can help me out.
I have a Laravel project up and running on Digital Ocean with the Ubuntu 14.04 x64 vmlinuz-3.13.0-24-generic (1221) kernal.
I don't think you should be using php artisan serve for this purpose, as that is more for your local computer if you would like to preview your webpage if you don't want to use Apache.
To get set up, I used the excellent below instructions that were incredibly helpful. As you can see, there are many steps that you should carefully follow to get things up and running.
https://github.com/susanBuck/dwa15-fall2016-notes/blob/master/01_Servers_and_Git/07_Deploy_to_Digital_Ocean.md
Let me know if that helps you, and feel free to follow up with more questions if you get stuck on a step.

Subversive Plugin Eclipse sync with FTP?

in my new job I'm the developer for the Joomla! CMS. Since it is using PHP I wanted to work with eclipse (like in my apprenticeship) with the latest Keplar build + the PHP Development Tools. To have some revision control I wanted to use the Subversive Plugin so I installed it and the connector.
I got access to the systemfiles via FTP (SSH) so I tried to just add the URL as repository URL but somehow it doesnt work. I used the exact URL e.g. http://www.test.joomla.de and the correct login (using this combination also works fine in filezilla for example) but every try results in:
Get repository folder children operation failed.
svn: Repository moved temporarily to '/'; please relocate
svn: OPTIONS request failed on '/'
Do I have to do anything on serverside to make it work or is it okay the way I tried?
Im sorry for those questions if they are bad, but in my apprenticeship the subversive was only local and was already installed.
Thanks in advance!
Administrator failed in the installation in giving me the wrong IP, so I couldnt interact with the server.

how to copy php files from working directory to local www folder from intellij 13

I have always been using netbeans to develop php project but wanted to give a try to see how intellij Ultimate (version 13 in this case). After installing the php plugin, and created a simple web application project, I got lost. Turns out to some hours of googling and trial and error I couldn't find that small thing that could say check to copy the the files to remote location or remote server etc.
I am running fedora 19 with apache2 so my root directory is /var/www/html/phpproject. I am hoping to see my files from /media/blacksensei/Repo/work/intellijworkspace/phpproject/src copied to that folder so that I can have access to it via http://localhost/phpproject.
Can anyone explain this process simply for me.
Thank you
I'm not php developer. But what I see that it is quite simple:
Create Run/Debug configuration for PHP Web aplication
Tap + in Before launch section
Choose Upload to Remote Host and configure it
You can find more details here - http://www.jetbrains.com/idea/webhelp/uploading-and-downloading-files.html#d438110e553

how to deploy joomla website using xampp?

i have pre developed site ( using joomla )
i should make some editing to the database using xampp server
should i install joomla ?
and when i enter
localhost/project/index.php
i get this message
You may not be able to visit this page because of:
an out-of-date bookmark/favourite
a search engine that has an out-of-date listing for this site
a mistyped address
you have no access to this page
The requested resource was not found.
An error has occurred while processing your request.
I think you don't need install it again. You did it before, just you need to install Xampp to run Apache and MySQL. Then copy your files in its htdocs folder in a certain folder (Like joomla). But pay attention that you must have a backup from your previous database. Otherwise, you need to install joomla again to create database and its tables.
I used AMPPS to do the same. You can import your current installation of Joomla in Softaculous provided by AMPPS. AMPPS is also a WAMP Stack with auto-installation of more than 230 open-source scripts. All the site installed by AMPPS and imported manual installations will be managed by AMPPS.
(Note : Your config file of Joomla should be proper. Take bakup before importing)
If nothing works you can still install Joomla again as it is easy using AMPPS. Hope this helps. :)

Categories