I'm going to install these 2 tomorrow and see what I get. just let me know if I'm using the same verions...apache v 2.2.11 and php 5.2.10OK, so I uninstalled XAMPP and went back to reinstalling Apache and PHP separately. I removed all references and environment variables I could find that referred to XAMPP. So now Apache and PHP start up fine but when I go to localhost, I now get a 403 error. Sounds like a permissions problem but I didn't change any permissions from when it would start before I installed XAMPP. Any idea where to start troubleshooting this one?
I haven't been able to install either one due to time constrants....I want to do it just because I havent done it in awhile. Seems like we're looking back at square one. This has always been my problem with open source products.......if you have any syntax out of order, you could be left scratching your head for days!I found the problem with the 403 error. XAMPP modified my httpd-vhosts.conf file and I missed that one. Restoring the previous fixed that. Now I'm back to the original problem where Link Removed only echoes back all my PHP commands but doesn't interpret/execute them.
Running c:\php\php-cgi index.php returns my path followed by
X-Powered By: PHP/5.2.10
Content-type: text/html
<?php phpinfo();
?>
but never displays the associated html file. So all indications are that PHP is running, just not interpreting commands properly.
u r welcome m8..believe me, i went to tht site, followed all the steps, configured the same way and within 3 hours, was able to write my first email form coding. surprisingly first time I succeeded in PHP.Thanks Dre@ms. I took a quick look at that site and it looks interesting. I'll have to delve deeper a little later today.
Kevin, no hurry. Although I want to get it straightened out, I'd rather take the time to do it right. I plug away a little each night, looking down different paths that might be cusing the problem. The good thing will be that i should understand some of the intricacies between the programs pretty good once I get it figured out!
Sorry about not posting the link earlier...are you still using xampp or did you go back to wamp? Also I don't have mine set up as virtual, however I see the vhost_alias module. Did you add it as an alias like in the pic below? *Note...I'm not sure if this is the route you need to take since I'm not using the vhost. Also, a better question would be do you need to add an alis when using vhostOK, I'm getting closer... I've upgraded PHP to v5.2.10 and mySQL to v5.1.34. I've set up a virtual host in the htpd-vhosts.conf file, along with defining localhost in httpd-vhosts.conf so phpMyAdmin still works properly.
So on my first development vhost, I followed to the letter the instructions on the Apache site, along with several other websites. So when I type Link Removed, I get the index listing of the page but not index.php itself.
That section of httpd-vhosts.conf looks like this and the one for localhost is last in the file:
<VirtualHost *:80>
ServerAdmin webmaster@domain.localhost
ServerName domain.local
DocumentRoot C:/server/www/roots/domain
ErrorLog c:/server/www/roots/domain/logs/error.log
CustomLog c:/server/www/roots/domain/logs/access.log common
</VirtualHost>
Where \"domain\" is any one of several of my domains and domain.local is defined in my hosts file. Am I missing something?