Xamp issue on deploying site - php

I got a php website from my friend i need to run this on my pc . when i run this the site using xamp it is not running completely the pictures which are used in it are broken is there any solution to it ?

The links are definitely broken just like #chris85 said.
Check all the href attributes and links and make sure your giving them the right path to your images or what not. If your running over Windows it should be C:/Xampp/htdocs/ProjectName/...
You can use a built in function being dirname(FILE) to get to the root of your project.

Related

Trying run working Laravel project on my PC via XAMPP

I have a whole project with database, everything is working here.
Project with database
I would like to run website so I can see changes I have made.
Im using XAMPP. My configs for VirtualHost hosts and http-vghosts.conf
I have tried this https://youtu.be/iXYCnYRalaw?t=2m13s ->> from [2:13] to [4:22]
using XAMPP, but still cant run it.
Can you give me any advice or steps how to make website run on my PC? [ofcourse just for me (VirtualHost)].
Editor using: Atom
My PC spec
If running laravel appliation inside XAMPP htdocs folder is really necessary, then could you provide some kind of error, simply telling "it doesn't work" doesn't help at all.
One thing you can try is to open command prompt inside laravel folder and run
php artisan serve
This will open local server that runs current project in:
http://127.0.0.1:8000
Also, checking laravel minimum requirements is something you should check out. 5.5 requires PHP 7 and you didnt tell what XAMPP version you are running.

CodeIgniter HMVC URL not working on LAMP UBUNTU

Helo there..
I cant resolve this, i try another tutorial in my codeigniter.
in XAMPP Windows HMVC CodeIgniter works fine, if I Upload to my vps UBUNTU LAMP, trying .htaccess and apache mod rewrite and still get HMVC error and get URL NOT FOUND , why ?
if there are errors in my codeigniter ?
or have a another settings ..?
1 question, why LAMP read HMVC plain as html?
thanks b4..
It's hard to say for sure with the limited info you've provided, but I would say that the first thing to check if you've uploaded the Codeigniter folder to your server would be the permissions of the folder and files inside of it.
This link should tell you everything you need to know about about getting it set up:
http://idroot.net/tutorials/how-to-install-codeigniter-on-ubuntu-14-04/

Setup existing Yii project on xampp linux

I need to edit an existing yii app but got no idea how to setup in xampp.
I downloaded everything from the server and moved the folders to /opt/lampp/htdocs
But then i got no idea how to get the application running.
When i try
/localhost/yiidirectory
It shows me the file structure so the app isn't executing.
Can you give me some advise to accelerate the problem solving ?
Since windows 7 I believe you need to use:
http://127.0.0.1/yiidirectory
If that doesn't work then check your xampp setup:
http://www.yiiframework.com/wiki/100/yii-and-xampp-server-on-windows/
The DNS resolver just hands back localhost so it never resolves it for the app/browser.

Zend framework application to apache2 webserver

This is probably a noob question but i'm really new to this thing (zend application & apache2 servers)
previous developers have given me the source code for the project they did and he said that it was created with Zend framework. I've managed to run it on my computer (Windows 7) under XAMPP server. If I go to http://****(mylocalcomputer)/ it will work. But once I copy all (3 folders) of them on the Ubuntu web server we have, it's not working. I've tried pointing the directory (configuring /etc/apache2/sites-enabled/default000) to the public folder like the ones I did on XAMPP httpd.conf, but it's still not working...
After trying it in chrome, I go to inspect element, and going thru console, it's telling me all the files mentioned with 404 not found errors. But when I browse with winscp to the directories, I can find those files. Help please... thanks in advance...
SOLVED this problem...I just have to carefully configure all the Aliases and Directory Root properly. THANKS to this website, I was able to check all the possible causes and errors of that default000 file!

The requested URL /index.php was not found on this server

I know this question seems duplicate but it is not. Actually I have strange problem that I want to fix since last two days. I have install the apache2 on ubuntu 12.04, configure it and it works fine. Problem is that when I try to access the same website from other computer it opens the directory instead of website and If I click on some link it says the sentence that I wrote in the heading. Now want to know that what I am missing as all things goes fine on local PC by localhost/
I built the application in ZEND.

Categories