Installing WordPress October 4, 2007
Posted by webweaver64 in Drupal, Local Multi Site, Local Server, WinXP, WordPress, XAMPP.add a comment
Now that I have that fixed… I’m off to setup WordPress
I’m using the instructions found here WordPress@T2
Ok, it didn’t start when I type the address, I’m sure because I have my files in www\foldername I also found out my drupal sites weren’t working.
Here is what I found out after playing around and searching out information on the web.
xampp\appache\conf\extra\httpd-vhosts.conf needs:
NameVirtualHost 127.0.0.1:80
(for xampp)
<VirtualHost 127.0.0.1:80>
ServerName localhost
DocumentRoot /xampp/htdocs/
</VirtualHost>
(for drupal)
<VirtualHost working.tst:80>
ServerName working.tst
DocumentRoot /www/drupal-5/
</VirtualHost>
(for wordpress)
<VirtualHost wpworking.tst:80>
ServerName wpworking.tst
DocumentRoot C:/www/wordpress/
</VirtualHost>
working.tst is one of my drupal sites, you can have more then one running on the same installation.
wpworking.tst is my WordPress site, you need full intallations for each wordpress site you want.
You need a VirtualHost for each site you want to run.
xampp\appache\conf\httpd.conf needs, in addition to the changes I made previously:
Below <IfModule dir_module></IfModule>
<Directory “/www/drupal-5″>
Order allow,deny
Allow from all
AllowOverride All
</Directory>
<Directory “C:/www”>
Order allow,deny
Allow from all
AllowOverride All
</Directory>
To be honest I’m not sure if you need both, or if just moving it, made the difference, but at this point I’m not changing anything.
windows\system32\drivers\ect\hosts needs:
127.0.0.1 localhost
127.0.0.1 working.tst
127.0.0.1 wpworking.tst
After making the above changes, I can access drupal sites I’ve already created, install WordPress and access XXAMP starting page.
I haven’t tried adding an additional Drupal site, or another WordPress site. As WordPress requires an additional install, I’m sure I just need to add to each for the new location. As for Drupal, because I run it from an install.php I’m sure it would be the same. When I try, I’ll let you know if it worked.
Whew!
Sites that had information I used:
http://geeksaresexy.blogspot.com
http://www.tamba2.org.uk/
http://textbook.textpattern.net/
http://www.clearpointsystems.com/
And away we go October 4, 2007
Posted by webweaver64 in Drupal, Local Server, XAMPP.add a comment
Tried changing a few things and it’s a no go. Again because I don’t actually understand what it is I’m doing. I’m screwed.
Did a search on Drupal and found this http://drupal.org/node/161975
Just needed to add the following to: xampp/apache/conf/httpd.conf
***edited*** I think this actually needs to be in \xampp\apache\conf\extra\httpd-vhost.conf
NameVirtualHost 127.0.0.1:80
<VirtualHost 127.0.0.1:80>
DocumentRoot C:/xampp/htdocs/
ServerName localhost
</VirtualHost>
Thank Go*dess that there are people that write up how tos…..
Word Press AAARRRGGG October 3, 2007
Posted by webweaver64 in Uncategorized.add a comment
Ok, so now I’m trying to get a localhost of wordpress running and all I can get is… Drupal. I sure wish I understood what I’m doing LOL
Putting it all together August 21, 2007
Posted by webweaver64 in Drupal, WinXP, XAMPP.add a comment
Well I needed a few days off, but I thought I’d try an put this altogether into some sort of cohesiveness. I have successfully set up 5 drupal5 installation.
Set password in security area for root mysql.
xampp\phpMyAdmin\config.inc.php made sure it said cookie
xampp\apache\bin\php.ini removed the ; from the mcrypt.dll line
xampp\apache\conf\httpd.conf changed Listen 80 to Listen 127.0.0.1:80
Made sure Include conf/extra/httpd-vhosts.conf was unmasked
xampp\apache\conf\extra\httpd-vhosts.conf unmasked NameVirtualHost
and added:
<VirtualHost *:80>
ServerName fakesite.tst
DocumentRoot /www/drupal-5/
</VirtualHost>
In xampp/appache/conf/httpd.conf add:
<Directory “/www/drupal-5″>
Order allow,deny
Allow all
AllowOverride ALL (this was added to allow clean urls
</Directory>
In xampp/appache/conf/httpd.conf to allow clean urls:
uncomment LoadModule rewrite_module modules/mod_rewrite.so
Powered by ScribeFire.
Local Server & Drupal part Duex or maybe thrice August 19, 2007
Posted by webweaver64 in Drupal, Local Server, XAMPP.add a comment
The thing is you want something that is up-to-date, yet I also have seen where WAMP is a often used service for Drupal. I don’t have the cash right now to pay for support, so thought I’d go with the free supported XAMPP… had trouble installed WAMP however I then had trouble with WAMP. Decided to throw a few cards… sot see what they had to say about either XAMPP or WAMPP. I drew the 8 of Pentacles & 7 of Cups for XAMPP (8oP is my current 21Ways card), and for WAMP I drew, 4 of Swords, an 5 of Cups. I took it to mean with XAMPP I’d have work, but enjoyable work, and options. With WAMP I’d need a vacation when I was done and I’d feel like I lost or left something. So went with XAMPP.
Added a password to the mySQL, and then… changed the config.inc.php which I had never done in either previous installation. Although I went with the default for WAMP so I don’t know if this was my trouble or not.
I never did this: NameVirtualHost *:80 in the virtual host file. This may have been my problem the entire time. I also found where I needed to change something in the config.inc.php to cookie. That I think might be XAMPP only. I’ve change the document root as well to /www. I did get an installation of Drupal to run, but it wasn’t working correctly. I couldn’t access it via extreem.tst nor could I get back to XAMPP’s starting page. So… here we go for a 4th time.
xampp\apache\bin\php.ini removed the ; from the mcrypt.dll line
accessed security through XAMPP and added a password to root for MySQL
xampp\phpMyAdmin\config.inc.php made sure it said cookie
xampp\apache\conf\httpd.conf changed Listen 80 to Listen 127.0.0.1:80 & DocumentRoot to “/www” where I am locating my files (Drupal, WordPress). <Directory to “/www”> . Made sure Include conf/extra/httpd-vhosts.conf is unmasked. (Added install.php to DirectoryIndex.)
xampp\apache\conf\extra\httpd-vhosts.conf unmasked NameVirtualHost and made it 127.0.0.1:80(i’m using the 127.0.0.1 because I read somewhere that would make sure no one from the outside could access it, I’m not sure how true it is, but hey why not)
Going to 127.0.0.1 and it brings me to and index of www. this isn’t right.
Going to the security location I received accessed denied. I went into phpMyAdmin and entered a password into the MySQL Database and then click PHP Code
Stopped and Started everything. Got into the security place. But not xampp. Returned the root doc to xampp/htdocs and I can get there again. Now I can’t get apache to run..
Reinstall. Set password in security area for root mysql.
After setting up a virtual host I get accessed denied. sheessh!
Ok what was necessary was adding this to the xampp/apache/conf/httpd.conf
<Directory “/www/drupal-5″>
Order allow,deny
Allow all
AllowOverride ALL (this was added to allow clean urls
</Directory>
To get clean urls I needed to uncomment LoadModule rewrite_module modules/mod_rewrite.so, it also send to uncomment (node 15365) AddModule mod-rewrite.c I didn’t find that and when I added it apache wouldn’t load. so with just the 1st uncommented clean url’s did work.
Whew! Got there!!!! Now tomorrow I’ll try adding the other sites.
Installing Drupal locally August 17, 2007
Posted by webweaver64 in Drupal, Local Server, computers.add a comment
So I have my local server running and I’m ready to install Drupal. I will install it into a folder inside the XAMPP folder called drupal.
I extracted the files into the drupal folder and it created a drupal-5.2 folder which I will leave as I may be installing 6.0 at some point to play with.
I added to the folder sites/all a modules and themes folder as per node 53705. I will be adding the other folders it suggests as well. I’m creating 5 sites so will have 5 folders with a files, modules, themes, tmp, and settings.php in them.
Ok… don’t know what I just did. I went to start apache, and mysql and I clicked on Admin, and put in a user name and password, and mySQL quit. Unchecked service and restarted it.
Went to 127.0.0.1 in a brower and selected under tools. phpMyAdmin, had to log in with the root password.
before doing anything I read node 161975 so I decided to move my drupal sites to c:\sites for easy backup.
Ok I’m going to create my databases per my own instruction from node 120647#comment-207386
I am naming the database the same name as the site address I’ve set up.
I noticed a error in MyPHPAdmin. Cannot load mcrypt extention. I found some information that said to uncomment the mcrypt extension in the php.ini files. I’m going to try it. Logging out of myPHP. Opened up the php.ini file in xampp\apache\bin, searched for mcrypt, and removed the ; in front of it closed and saved. Stopping the MySql and Apache services and restarting. Ok restarted reaccessed, and I appear to be good to go.
Ran into total problems, and lost everything I had typed… now I’m going to go back to WAMP.
I installed without any of the extra stuff like drupal… I did the security things like changing listen 80, and the password. If I did it right from the command prompt
/
Now I’m going back to drupal I hope
Created all my databases again….
It was a no go. So I unstalled, and deleted and restored. Will have to start back at the beginning. I tried a ton of stuff to get access and nothing worked.
Getting back to Drupal installing a localhost server. August 17, 2007
Posted by webweaver64 in Drupal, Local Server.add a comment
Well I’m ready to get back to designing and launching www.tarotweaving.com. I need to move it to my new host, so need to get my computer back into action as a server after my hd issues.
I’ve decided to stick with WAMP and not go with XAMP because I know I got the former working before… so why mess with a working thing right? Although looking at the installation stuff again has me a bit nervous again. I know I figured it out before right?
So hear we go… I started the install, and I’m going with the full installation, leaving everything that was checked checked, except I’m unchecking all the Web-Framework Applications cuz they are old versions. Actually now that I’m thinking about this… I might just give XAMP a try. As their version is newer… don’t you just hate having to decide what to go with??? I know I do…. the forum at XAMP is free, but their documentation isn’t so goo. WAMP’s documentation is good, but you can’t post at the forum unless you pay for support. What to do what to do. Because of versions and the forum I’m changing my mind and going with XAMP…
Using 7-zip I exacted to c:\xampp
Ok it did what I didn’t want it to do which was create a xampp folder so I have c:\xampp\xampp. I’m going to move everything from there into just xampp and then delete the xtra xampp folder.
Now lets see if it starts. From the looks of what I read I need to run xampp-control.exe it opens a small application window, and I did get a warning for directory mismatch? not sure why. Well see if that causes trouble later. The status check is OK. I’m just going to start Apache at this point.
I received a warning message from XP and selected unblock. The control Panel says it’s running… so let’s check it out. I’m opening my browser and going to access http://localhost and see what happens. Bingo! I’m selecting English.
It suggests checking my status so I’m doing that now.
I have mySQL database as deactivated
php activated
https activated
CGI: Activated
SSI: Activated
SMTP: Deactivated
FTP: Deactivated
As I didn’t start mysql this makes sense. I’m not sure I want smtp or ftp at this point so they are ok too.
I’m going to start it and see what happens. I clicked back on the CP for XAMPP and am selecting start for MySQL. I again got a warning from XP and clicked unblock. Status check shows MySQL Activated.
As I am only running this locally. I don’t really need to worry about security, but I had read something for WAMP that suggested there were some changes I should make to secure this from someone accessing some files via an incoming attack. So I’m going to do some security steps.
I’m going to access the security. I’m changing the password for the superuser in mysql, and adding a user and password for the directory.
I need to restart MySQL for it to take effect. Stopped and restarted. I didn’t reboot so I’m not sure if it actually changed.
I’m also going to look at something I read from WAMP.
Under C:/www/Apache22/conf/httpd.conf, change ‘Listen 80′ to ‘Listen 127.0.0.1:80′
Under C:/www/Apache22/conf/extra/httpd-ssl.conf, change ‘Listen 443′ to ‘Listen 127.0.0.1:443′
Shutting everything down to take a look.
I made the above changes, and I’m going to reboot, just to make sure everything is accepted as changed.
I’m in and everything is active… Drupal install next time.
Links:
http://www.apachefriends.org/en/index.html
http://www.devside.net/
Still working on getting back to normal 2 days later… July 26, 2007
Posted by webweaver64 in Personal, Virtual Office, computers.add a comment
Well if any of you have had to reformat your hard drive (Tower) due to either you or something screwing up your stuff… well you know how I feel. I have made myself a promise… I am going to do a full system backup once I have everything I use installed. I say this every time and never do it. But I wouldn’t be still working 2 days later if I had done it.
So instead of being the 8 of Wands, I’m going to be the 4 of Pents. No rushing… and keeping it all controlled.
Anyway with all this going on, I’ve gotten really behind with my VO work. Guess that’s the bummer of working alone and for yourself… you have no one to fall back on. I do actually have someone I could get to assist a bit, but she’s in Walt Disney World
) I hope enjoying herself and her family.
I finally also got my answering machine… not sure how much switching to the $10 ATT line is going to be… but my connection should be better
Powered by ScribeFire.
Reformat Arg! July 24, 2007
Posted by webweaver64 in Quick Post, computers.add a comment
Well I was trying to make my computer more secure, and totally frucked up. I couldn’t access files, and had my permissions all messed up… so guess what I’m doing today? A total reformat and then I’ll need to reinstall EVERYTHING…
Let me say the very 1st thing I’m doing once I have everything set is a full backup so I don’t ever have to start all over again, and manually install everything. So the lesson in this is… yes you can do something to screw up your computer that isn’t fixable. Believe me I tried… but of course you can always reformat hahahaha
Still here June 19, 2007
Posted by webweaver64 in Quick Post.add a comment
Well I’ve gotten a few more clients for the VO side of my business, and have a web page now, not much on it need to add to that actually.
