On a Mac WordPress via Xampp you cannot install themes or plugins because of the settings. In a terminal do like this:
# sudo -i
# (write your password)
# cd /Applications/Xampp/xamppfiles
Now find out where your WordPress files are and cd to the relevant folder, then do something like this:
# chmod -R 777 wordpress/
# chown daemon:daemon wordpress/
Now ... this is a quick and very, very dirty fix. In a production environment the folders should have chmod 755 and the files chmod 644.
Showing posts with label Xampp. Show all posts
Showing posts with label Xampp. Show all posts
02 March, 2016
28 November, 2015
Xampp on Windows 10
Well, installing was easy - but I could not find a solution to programs blocking the ports. Changing the ports is uphill ...
Skype was a running process eventhough the program was not opened. Killed the process in the joblist. Try again ...
Reinstalled Xampp. Killing the Skype process in the joblist did the trick.
Abrahadabra,
Skype was a running process eventhough the program was not opened. Killed the process in the joblist. Try again ...
Reinstalled Xampp. Killing the Skype process in the joblist did the trick.
Abrahadabra,
26 March, 2015
xampp cannot use wordpress theme images
A localhost WordPress could not display images from the themes folder in Xampp on a Linux Mint system.
Solution: all folders must be owned by the Apache user and group (daemon:daemon), or:
# chown -R daemon:daemon [theWordPressThemenameFolder/]
# chmod -R 777 [theWordPressThemenameFolder/]
However this is only for development purposes. On a server work by these guidelines.
Solution: all folders must be owned by the Apache user and group (daemon:daemon), or:
# chown -R daemon:daemon [theWordPressThemenameFolder/]
# chmod -R 777 [theWordPressThemenameFolder/]
However this is only for development purposes. On a server work by these guidelines.
23 March, 2015
Install themes on WordPress (Xampp on Linux)
Do this:
# cd /opt/lampp/
# sudo chown -R daemon htdocs
# sudo chmod -R g+w htdocs
On Apache the user is called daemon, therefore chown -R daemon htdocs.
Thanx to this post (my solution is for Linux the former was for Mac).
Now you can install whatever themes on the fly from the WordPress Dashboard.
# cd /opt/lampp/
# sudo chown -R daemon htdocs
# sudo chmod -R g+w htdocs
On Apache the user is called daemon, therefore chown -R daemon htdocs.
Thanx to this post (my solution is for Linux the former was for Mac).
Now you can install whatever themes on the fly from the WordPress Dashboard.
04 September, 2014
MySQL start problems WAMPP (Xampp)
Several students had a problem with their Xampp. MySQL would not start. After some googling we found a thread on Stackoverflow with this workaround:
- delete ibdata1
Whether this is sound advice or not I don't know. However MySQL was able to run. But I suspect that the file held information about all tables, so perhaps a repair of the entire database would be a good idea.
Subscribe to:
Posts (Atom)