1
vote
2answers
1k views

Can't run localhost PHP server on OSX Mavericks

So i've done this before but I don't remember the command. I was able to use a directory a localhost file. I've tried sudo apachectl start but when I go to localhost the page isn't found. I've also ...
0
votes
2answers
824 views

The requested URL xxx was not found on this server

I have been tearing my hair on this for hours..please help.. I have been running several websites on localhost for months without a hitch. Unfortunately last week I had do do a fresh instal of ...
1
vote
2answers
1k views

cant access localhost on my phone

I have an android connected to wifi. I want to access the localhost from my windows pc with my phone because i am creating a mobile web app that i want to access through my localhost in the phone. I ...
1
vote
1answer
606 views

404 not found error for JavaScript files when accessing web page on localhost

The page loads up fine, but console shows a 404 not found error for JavaScript files. I have verified that the code contains the correct JavaScript file name. Any ideas? The JavaScript file is loaded ...
1
vote
1answer
233 views

Can't access localhost on my browsers

I've just installed mamp for the first time onto my mac and I'm trying to view some PHP files I've loaded into the htdocs section of mamp. When I type localhost into my browsers, it says it can't ...
0
votes
0answers
193 views

How to properly set sendmail

I would like to send mails from my PHP application built with Codeigniter with sendmail and all works out of the box. But there are also few problems with sendmail on my server, because I don't know ...
1
vote
2answers
243 views

Install a PEAR package without an Internet connection

I'm trying to install a package via PEAR, PHPUnit to be precise. However, the server I'm using is not connected to the Internet. I managed to find a .tgz of PHPUnit in its PEAR repository at : PEAR ...
1
vote
0answers
85 views

Localhost slow on desktop, not on laptop

I am using XAMPP Lite on my desktop and laptop, which uses Apache for the web-server and also supports PHP. My locally hosted image gallery PHP program has its page elements (100s of thumbnails) ...
0
votes
1answer
77 views

php -S not working (development server on LMDE with Firefox)

PHP 5.4 comes with a built-in development webserver: http://php.net/manual/en/features.commandline.webserver.php When I try to start the server like documented everything looks fine: php -S ...
0
votes
2answers
2k views

Sublime Text Preview php files on localhost

Hey I've just started using Sublime Text 2 with the SidebarEnhancements package installed. I have it setup so that when I press the build shortcut it previews in Chrome which is fine for my HTML ...
1
vote
2answers
397 views

Why localhost is too slow while I am downloading and it works perfect when there's no internet at all

My project don't need anything from the internet, no JQuery, no twitter, no nothing! and it works perfectly when there's no internet connection at all, and of course when there's an internet ...
1
vote
1answer
261 views

Localhost spits out PHP source code

I just installed MAMP 2.1.1 on OS X 10.7.4. The MAMP Start page says everything is running. MySQL is running, I can issue command line commands in Terminal. I tested PHP by typing: php -f ...
3
votes
3answers
2k views

PHP code is returned instead of executed

I have L-Ubuntu 11.04. I've installed Apache2 and I'm trying to simulate a server on my local file system by navigating to localhost in the browser. The problem is that I can't seem to get php to ...
1
vote
2answers
11k views

http://localhost:8080 is not working on running apacher Server through XAMPP

I am unable to configure a PHP/MySQL/Apache environment on my local machine using XAMPP. In my xampp control panel the Apache and MySQL status is shown as started, but localhost URL is not working. ...
0
votes
1answer
3k views

Why has mysql stopped working on localhost and how do I fix it?

I use a MacBook Pro running Mac OS X 10.6.4 For a few years I have used MAMP to test websites locally but suddenly and for no apparent reason when I start the MAMP servers the mysql light stays red. ...
1
vote
3answers
261 views

How do you backup your localhost?

I have method to backup my work on localhost based on week basis. I use multipe dos command and save in on a bat file. I use command such as copy and xcopy and save my localhost to another place. ...
3
votes
1answer
785 views

WAMP not working anymore

I had been successfully using WAMP on my PC for a year or so but after I got internet connection through LAN, I noticed that WAMP has stopped working. When I go to http://localhost or http://127.0.0.1 ...
0
votes
1answer
1k views

Settings to send email from localhost for PHP code in Windows Vista [duplicate]

Possible Duplicate: Settings to send an email from localhost for PHP code in Windows Vista I am using PHP 5 and Apache to do some programming. My code can correctly send emails on the live ...
0
votes
3answers
3k views

Settings to send an email from localhost for PHP code in Windows Vista

I am using PHP 5 and Apache to do programming. My code can correctly send emails on the server, but on my own development machine I cannot send emails. There is clearly nothing wrong with my code, so ...