EasyPHP & Virtual Host Manager (Windows 10) - php

I've installed EasyPHP and Virtual Host Manager - got it up and running, created a virtual host, pointed it to the directory to where i have my website stored. It's on the D Drive however when i click on the virtual host that i've created it points to a directory inside where the installation took place for EasyPHP as shown below;
Browsing the localhost development URL shows this;
So the only way i got it working was to dump the site folder inside the projects folder and it worked. Strange. Anyone know how i can get it to load from the virtual host URL and directory?

Related

Symfony project not working correctly on a virtual host

Symfony project is not running on a remote virtual host because there is no index.php file in the project root directory. When I'm trying to open my symfony project on a localhost with
URL "localhost/symf.com"
it only shows me project folders instead of the home controller. I know I should open my site with Php bin/console server:start command, but how does it work on a remote virtual host?
Perhaps I should somehow change my project's root directory? But I don't have access to remote virtual host configuration
In virtual host you must run prod environment not dev as your localhost. So you must configure your Apache configuration to run your project. Use following link:
Web Server Configuration for Symfony
Be careful, in symfony 3.4 the DocumentRoot is equal to project_path/web and in symfony 4.3 is equal to project_path/public
You mentioned that you do not have access to your virtual host to set one by one configuration. In that case the best way is using docker-compose, so with running docker-compose up -d all the things you need to run your project will be generated automatically. But you must have enough knowledge about docker
Be successful.
Symfony's homepage in at 'YourProject/public/index.php'.
You have to point on this file to see your home controller.

asp.net virtual directory in php website

I have created an asp.net virtual directory in php website.
Used IIS to host php website.
But when I try to access the virtual directory, I get 404.
Following is the folder structure
--wwwroot
--php website files
--asp.net web application
Set ASP.Net extention to 4.0 (Integrated Pipeline).
Give read and write permission to the virtual directory.
Not sure what causes 404.

No permission to access my folders wampservers www folders

I am able to access my localhost as well as phpmyadmin for wamp server but I have really struggled to access my folders in wamp servers www folder. Any time i try i get the following error
**Forbidden**
You dont have permission to access /folder/folder on this server.
I imported the files I am trying to run locally from my host and they are written in codeignitor.

XAMPP for Mac: Configure virtual host

My problem is configure a virtual host for an web application with php and Xampp. The principal application, named "AEPAMG.upo.es" is working, but when I add "Viafirma-client-php" as other app and another virtual host, browser say me "Not found". I include some pictures where you can see the configurations:

Laravel Homestead Serve code not creating and connecting to folder(s)

I have tried running the following code, and even though it runs and sets the nginx blocks ok, its not linking to the folder in question with in the host machine.
serve projects.dev /home/vagrant/Code/projects.dev
When i then list the folders within the Code folder on the guest machine, i only get the folders that were created via the automated Yaml config file on init set up.
It seems not be creating the folder and/or linking to it at all with between the guest and host machines
Running it on a iMac OS Mavericks.
Vagrant 1.6.2
VirtualBox 4.3.12
That is strange. What I have is I have a folder mapped on the "folders" section from my host machine that inside contains all the sub-folders for all my projects in progress. So my nginx sites just basically link to the sub-folders inside this directory. If you have something like that it "should" show you the folders from your host inside that Code directory in your VM. Maybe post your YAML file to check it out?
My problem was the new Homestead file, use small c for spelling directory "code".
I was upgrading my homestead, so the old code folder was using capital c, spelled "Code".
I just change my Homeastead.yaml file from calling "code" to "Code".

Categories