Browsing articles tagged with "xampp - 7/10 - Admins Goodies"
Aug 16, 2011
tom

One localhost on two PCs

Today I got an idea, that testing my web apps on two different PCs would be even better if they both are near and if I could use my own localhost instead of hosting. i.e.: 1. My ASUS laptop runs Windows 7 and XAMPP for work with localhost. 2. My desktop PC runs Windows XP. 3. They both are connected trough router. 4. There some shared folders on both. Now what I wanted to do […]

Continue Reading »
Aug 16, 2011
tom

2 PHP Installations – how to configure?

I have a windows server 2003 with ISS 7.0. There runs 2 sites with simple php, which I have installed easily. (C:/Program Files/PHP) Now I install XAMPP for MYSQL and XAMPP installed a second (inactive) PHP (C:/XAMPP/PHP). How to change from my installed PHP to XAMPP PHP (It’s newer and a few extensions I wanna use it’s in there allready) ? If you mean you want to switch entirely to the new PHP instance for […]

Continue Reading »
Aug 16, 2011
tom

Unable to configure custom VirtualHosts in xampp

I’m editing /opt/lampp/etc/extra/httpd-vhosts.conf I’ve added VirtualHost directive to this file <VirtualHost 127.0.0.2:80> ServerAdmin kirzilla@gmail.com ServerName rem DocumentRoot “/home/kir/www/rem/public” ErrorLog logs/rem-error_log CustomLog logs/rem-access_log common <Directory “/home/kir/www/rem/public”> Options Indexes FollowSymLinks Includes execCGI AllowOverride None Order Allow,Deny Allow From All </Directory> </VirtualHost> Then I’ve created directory /home/kir/www/rem/public 0755 kir:kir Then I’ve added 127.0.0.2 rem to /etc/hosts/. Then I’ve restarted xampp sudo /opt/lampp restart When I’m trying to enter http://rem I’m being redirected to http://rem/xampp As I figured out […]

Continue Reading »
Aug 16, 2011
tom

XAMPP only responding to requets from localhost

My XAMPP server is only responding to requets from the machine that’s running it. I need it to repsond to requests from within a virtual PC as well as other machines on the network. Listen 80 Is set in httpd.conf as apposed to Listen ipaddress:80, so I’m unsure why it won’t serve pages to network users? Edit: I should also mention that this worked with WAMP, so it’s not to do with the hosts on […]

Continue Reading »
Aug 16, 2011
tom

XAMPP – Apache Instalation Error

when ever i install XAMP i get this message everything works fine but there is this message every time i install… educate me… Use use netstat -ao |find /i “listening” to find what process id is listening to the port, then use your task manager to see what process it is and stop it. Check more discussion of this question. Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers […]

Continue Reading »
Aug 16, 2011
tom

Which php binary should be used with a XAMPP installation?

When I execute which php in Bash I get /usr/bin/php. Everything is working fine but I’m wondering – since I’m running XAMPP, should I get /Applications/XAMPP/xamppfiles/bin instead? Note: I’m using OSX 10.7. /usr/bin/php mean it’s php default installed on macos, for xampp it should be on /Applications/XAMPP/xamppfiles/bin. if you want use php version from xampp, you can disabled /usr/bin/php and make symlink /Applications/XAMPP/xamppfiles/bin/php to /usr/bin/php. Check more discussion of this question. Bookmark on Delicious Digg […]

Continue Reading »
Aug 16, 2011
tom

PHP doesn’t work in XAMPP

Beginner’s question, so please bear with me. I installed XAMPP under Windows XP, and PHP seems to work: when I click “phpinfo()” in http://localhost/xampp/ the complete list of settings is shown. However, when I check file:///C:/xampp/htdocs/index.php I get an error message saying “Something is wrong with the XAMPP installation :-(“. Apparently the PHP code in this file is not being executed. Any ideas? TIA Steven When you access http://localhost/xampp/index.php then your request is processed by […]

Continue Reading »
Aug 15, 2011
tom

setting up xammp (for windows) local web servers

I have checked several tutorials on the web and answers here, none seem to be working for me. I am unable to set up my local web server so my projects are available via name other than http://localhost/projectname Here is my httpd-vhosts.conf <VirtualHost 127.0.0.2:80> ServerAdmin me@me.me ServerName tweet DocumentRoot “D:xampphtdocstweet” ErrorLog logs/tweet-error_log CustomLog logs/tweet-access_log common <Directory “D:xampphtdocstweet”> Options Indexes FollowSymLinks Includes execCGI AllowOverride None Order Allow,Deny Allow From All </Directory> </VirtualHost> And here is my […]

Continue Reading »
Aug 15, 2011
tom

How do I allow access to my localhost (xampp) installation over my windows network?

I have just installed a fresh xampp stack on my machine, and can access it from localhost, my pc name, and ip address. There is nothing on it yet, but getting the welcome page fine. I seem to remember in the past that other users could access my localhost by going to my ip (192.168.2.6) but I can’t seem to get it working. We can both ping each other fine so I don’t get what […]

Continue Reading »
Aug 13, 2011
tom

What are most servers configured with?

I know this is a general question, but I want to make sure I don’t forget anything important. I’m trying to make a Mac server like MAMP or XAMPP, but I’m not sure what I should compile. MAMP and XAMPP don’t have the best interface, and are hard to upgrade and install modules on, on your own. I want to include the more popular languages and modules, but I only use PHP. What do you […]

Continue Reading »