Skip to main content

All Questions

1 vote
0 answers
15 views

What is causing my home LAMP server to wait about 57 seconds before serving up a web page?

I should preface this all by saying that I'm certainly not a sysadmin, or even a web designer. I've searched for an answer but most answers I've seen have to do with WAMP and DNS. Not my particular ...
3 votes
3 answers
19k 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
0 answers
338 views

How to get localhost using PHP 7.2 on Mojave?

I'm trying to get PHP7.2 working on localhost, but phpinfo() keeps saying 7.1.19 is in place while ~php -v tells me PHP7.2.18 is in place. I run ~php -v it says: PHP 7.2.18 (cli) (built: May 2 ...
0 votes
0 answers
443 views

Different PHP version in localhost folder

I have a Wordpress site which will not work with PHP 7. The dozens of other sites I have on my local machine are all fine with PHP 7. How can I change the PHP version in one folder on my localhost ...
-1 votes
1 answer
4k views

http://localhost/phpmyadmin/index.php “Says site can’t be reached”. Apache fail to start

I am using Antergos. I have installed a lampp stack with PHP 7.2.8, for the last couple of days my apache has been not starting, when I check httpd status I get(screenshot below) Click to see the ...
0 votes
1 answer
81 views

Is it necessary to set up apache, php and mysql?

I am developing mean-stack websites on my Mac. So I will need to use http://localhost:3000/..., https://localhost:3000/... to test the websites, and eventually http://localhost/localFile and https://...
0 votes
1 answer
256 views

A browser cannot find a file on localhost

OS Linux Mint onto VirtualBox I've installed PHP like in this manual, https://community.linuxmint.com/tutorial/view/486 When I am trying to test PHP and go to http://localhost/testphp.php it gives ...
6 votes
2 answers
119k 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
1 answer
98 views

Test whether PHP is correctly installed on my Mac

I use Homebrew to installed the php 5.6, I followed the guide from Homebrew to enable Apache and PHP (such as uncommenting the httpd.conf file), then I can successfully access to http://localhost/ and ...
1 vote
2 answers
5k 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
0 answers
2k views

Uninstalled Apache, but still see test page

I recently installed Apache HTTP Server from Apache Haus and PHP, and have decided I'd like to experiment with a few other options, so I uninstalled and deleted them. However, when I visit localhost ...
3 votes
1 answer
1k 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
2 answers
6k 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
0 answers
157 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) ...