Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I have everything configured and working great within my Xubuntu 16.04 machine, including localhost (I am using LAMP stack, apache2, php7.0).
I am struggling to configure the localhost on my Windows 7 machine so that I can view my work on my google chrome browser in the Windows environment. I wasn't able to find any tutorials on how to set this up. Do I need to configure this within the apache2.conf within the virtual machine or? Thanks for any help in advance.
I have tried localhost localhost:8080 and localhost:8081
If your computers are on the same network use the command "arp -a" on your windows machine to view all of the ip addresses on your network. Replace the localhost on your windows system with that of the one on the Xubuntu machine.
(Don't forget to add the port for the apache server!)
Localhost:8080 -> 192.186.0.30:8080
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed last year.
Improve this question
I am new to php. I was already running mysql ver 8.0.27 on my mac 11.5 (BigSur)
Now i have installed XAMPP (8.0.15), Apache is running perfectly but MySQL Database is stopped and also localhost/phpmyadmin is not working. But my previously installed mysql is running, i am using it through workbench. Can i use my running mysql with it or need to change the port to run from XAMPP?
You should use modern dev stacks like Docker or Vagrant (I prefer docker) ... XAMPP is outdated. But it looks like a port problem. If you really want to use XAMPP, try changing the port numbers.
Also take a look at this video https://www.youtube.com/watch?v=YXWQTpSHIMc&ab_channel=BINARYHACK
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
Upgraded to Mac OS 12 today and noticed PHP was removed. Have installed PHP 8 using brew. I've tried setting it up with the default httpd and also tried installing it with brew. I load the module in the config. In both cases, when I access the files on the localhost in my browser, it just prints the text in the php files and doesn't execute them. Haven't really got any clue left
You need to add the line AddType application/x-httpd-php .php to httpd.conf Apache configuration file to enable PHP file parsing. After editing the file restart Apache to reload new settings.
You can use an alternative like MAMP (My Apache MySQL and PHP). Installation instructions here: https://documentation.mamp.info/en/MAMP-Mac/Installation/.
It includes a prepackaged Apache/nginx web server, PHP and MySQL, as well as, a management GUI app native to macOS.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
We have a website deployed on apache (Ubuntu machine). After we restarted(stopped and started) the VM the website went down.
The website is written in PHP/Codeigniter
I have started the apache by:
sudo /etc/init.d/apache2 start
this is the status:
Feb 15 22:10:53 ***** systemd[1]: Starting The Apache HTTP Server...
Feb 15 22:10:53 ***** systemd[1]: Started The Apache HTTP Server.
We did not change anything in configs. I Never touched the codebase.
Checked the Apps Service, it is running well.
Any idea where to look at?
here Troubleshoot application connectivity issues on virtual machines in Azure,
and this Apache server not reachable inside Azure VM maybe is helpful
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I am stuck on installing Homestead. I am at the point where I am able to SSH into Vagrant but when I do so it isn't showing me any directories I created, in this case the dir named 'code' as per the tutorial I am following.
I am using:
Virtualbox 5.0.26
Homestead
Vagrant 1.8.4
Mac OSX El Capitan 10.11
Also when I visit the IP from the YAML file it just times out, interestingly though if I launch MAMP and I then revisit the site name 'fresh.app' it takes me to localhost, but if I quit MAMP it then times out...
So, to test I switched the ports in MAMP from using port 80 to start using 8888 and using 'fresh.app' as my address failed. Port issue or? Im new to this so please accept my apology if it something silly.
Personally, I've only used Homestead with Linux and Windows. However, from what I'm understanding, you shouldn't be using MAMP at all. Here are a couple of points to be aware of:
Have you entered fresh.app to point to the VM's IP in your hosts file (/etc/hosts)? I think this is the reason you are getting the time out.
Are you sure that the VM's subnet is not in use?
Have you tried using Laravel Valet which is specific for Mac developers? (check it out here https://laravel.com/docs/5.3/valet)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
After upgrading to Windows 8.1 from Windows 8 today Apache isn't working anymore. I had this problem when upgrading last time to Windows 8 from Windows 7 and had to re-install all my server components but I don't want to do that this time as I loose all the databases I had before.
Does anyone know what I can do to reconnect my Apache server, PHP and MySQL servers?
Apache 2.2
PHP 5.
You should start the MySQL, Apache and/or WAMP services from services.msc. If cannot find them, you will need to re-install them as services.
In few words, you need to execute the following binaries from an elevated command prompt:
httpd.exe -k install, here is how it works: http://httpd.apache.org/docs/2.2/platform/windows.html#winsvc
mysqld.exe --install, here is how it works http://dev.mysql.com/doc/refman/5.1/en/windows-start-service.html
If you cannot find them, try this from a command prompt:
cd c:\
dir /s /b mysqld.exe
dir /s /b httpd.exe
Then you will find them.