Installing Homestead files not syncing [closed] - php

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)

Related

phpmyadmin in XAMPP is not working mac OS BigSur [closed]

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

PHP8 not working with Apache httpd localhost in Mac OS 12 [closed]

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.

Setting up localhost between Xubuntu 16.04 and Windows 7 [closed]

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

Can't install joomla 3.4 (blank page) [closed]

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 7 years ago.
Improve this question
I've tried installing Joomla 3.4 on to my server(upload .zip and extract everything), but everytime I want to run it, it directs me to "installation/index.php" then the entire page is blank. On the console menu inspect element the error I got is :
"Failed to load resource: the server responded with a status of 500 (Internal Server Error)".
I really have no idea what's wrong, also tried changing the file/directory permission, didnt work.
Here is the direct link to my site www.bobaking.co.uk
Here are my server specs:
Apache Version 2.2.29
PHP Version 5.4.33
MySQL Version 5.5.42-cll
Architecture x86_64
Operating System linux
Any help would be greatly appreciated, thanks a lot!
Faced same problem yesterday and solved once enabled PDO module via Easyapache update.
Maybe try changing .htaccess file configuration.

PhpMyAdmin not working - XAMPP [closed]

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
I've installed XAMPP Windows 1.8.2 and after installing and turning on Apache & MySQL, I can't load my PMA webpage: http://localhost/phpmyadmin/ . It still loading, but nothing happens. I really don't know, what I am doing wrong. Also I can't use any PHP application, which is trying to use MySQL connection (like Symfony2). If I turn off MySQL in XAMPP Control Panel and trying to reload this URL, same problem.
Thanks for any help.
From this point, I would recommend for you to use 1.5.1 version of Xammp right away. Long story why (shortly, this is a Windows matter and with this answer its irrelevant).
So....
Uninstal that version
find 1.5.1
Install
However, when you install 1.5.x you might have problems with PMA when larger tables are loaded. This sorts things out
Find PMA version 2.11.11.3 package (this baby is really stable)
Unpack
c/p all files from pack to your xampp/PMA folder and overwrite everything :P
And thats it.
You may, later on, upgrade PHP to ie 5.3.0 and there is a trick how to do that painless somewhere on www (google ekhm) but cant remember where exactly. Enjoy.
ps: If you dont like this answer, youre probably on XP and you need something like vcredist_x86.exe but problems wont stop there ;)

Categories