
In my case the user on which Apache is running is 'daemon'. To give read permissions to my files and execute permission to my directories I could do so that all users can read, write and execute: sudo chmod 777 -Rīut that would not be the ideal solution coz this would be migrated back to server and might end up with a security loophole.Ī script is given in this blog: #!/bin/bashĬat /dev/null) != "$' \ Įcho "Done setting proper permissions on files and directories"Īnd need to invoke the command: sudo bash /Applications/XAMPP/xamppfiles/htdocs/fix-permissions.sh -drupal_path=/Applications/XAMPP/xamppfiles/htdocs/rkmission -drupal_user=daemon -httpd_group=admin This is the ownership of files and directories initially: It obviously did not do justice to the file and directory ownership and Apache was throwing the above error. This reply was modified 2 years, 5 months ago by Manon.In my case I exported Drupal instance from server to localhost on XAMPP. I believe I am going to leave it there, and simply start using a website like Īs the Customizer and Elementor do not seem to propose a landscape view of the tablet and mobile versions, I guess this will do the trick. If I want to change the server, is the only thing I have to do to change the siteurl and home on myphpadmin?Īnyway, my wish from the beginning was to display the site on other devices mainly to have an idea how it would look like. As it stands, the local server on each computer can. I guess it is not so much of a problem if it is the same as changing it in phpmyadmin. I have several computers on my local network each with a local server environment provided by XAMPP. The fields are not even greyed out, they are just not there. I also found a topic with the same issue but the guy does not seem to have solved the problem:Ībout setting the site address in WordPress Settings > General: for me this option is not available. Unfortunately I still could not make it work. This topic was modified 2 years, 5 months ago by Manon. Thanks in advance for your help on this issue! So to resume: I can access the XAMPP starting page from my phone but not my WordPress site, even under the URL http://manontest (x being the ip address). – if, in addition, I modify the HOST in the wp-config.php file by changing the URL for http://manontest I still can not open the site.

By modifying the site URL in localhost/phpmyadmin, switching “localhost” for the IP address of my computer, I am no longer able to open the site, neither on my computer nor on smartphone (in localhost/phpmyadmin wp_options, I modified the URL in both siteurl and home so it looked like http://manontest)

– my site’s URL does not work on the phone. – I am able to access the XAMPP dashboard on my phone by typing the IP address of my computer in the browser Also, make sure apache is up and running. Do it as you would for other sites.Just not forget to put the IP of the host machine in the address bar of the browser and navigate to Wordpress.

I am using XAMPP and I would like to view my local site on other devices, especially on a smartphone. It is absolutely possible : I do it all the time.Check out the following images. After a good search on the Internet and not finding the solution anywhere else, I decided to look for help here 🙂
