Installation question
Posted by: Bob B. (---.washdc.dsl-w.verizon.net)
Date: August 28, 2007 05:48AM

I currently have Apache 2.2 running on Win 2000. I also have PHP5 and MYSQL4.1.
My problem is that I can't get MYSQL to work with PHP.
I have heard that WAMP5 will solve all my problems. If this is true, do I save my httpd.config file and uninstall Apache, PHP and MYSQL? Also, I already have a 'www' directory that contains all my web sites so do I temporarily rename it so it doesn't get written over?
What else should I do to insure that I don't lose anything else??
Any suggestions would be appreciated.
Thanks,

Bob B.


Options: ReplyQuote
Re: Installation question
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: August 28, 2007 11:22PM

Bob B. wrote:

> My problem is that I can't get MYSQL to work with PHP.

there is nothing to worry about. this happens to many people lately who install php themselves. the problem is the php community stopped making support for mysql enabled by default starting in php 5. so, you need to edit the php.ini file to enable mysql yourself. if you installed php using wamp, it comes with mysql support enabled so you dont have to worry changing this stetting"

open:
c;\wamp\apache2\bin\php.ini

find:
;extension=php_mysql.dll

change to
extension=php_mysql.dll

save the file and restart apache for the new setting to take effect.





CyberSpatium
----------------------
WAMP English Forum Admin

I have WAMP5 working with (for development use only):
Windows Vista Ultimate x64 (64 bit)
Kaspersky Internet Security Suite 7.0.x
Spyware Terminater 2.x
CounterSpy 2.5.x


Need help? Check out my WAMP User Manual/Guide here!


Cellular Phone Deals - The Best on the Net! - FREE PHONES! Take your pick from our featured cellular phone deals by Cingular, Verizon, T-Mobile, Sprint PCS, Nextel, and more! Most of our cellular phone offers include a FREE cellular phone with FREE shipping!


Web Development for Newbie's Blog - Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.


Clarify Loans
Mortgage and Home Loan Advice


LaxGo Web Directory
Powerful human edited web directory of quality, spam-free sites organized via a comprehensive category structure.

Options: ReplyQuote
Re: Installation question
Posted by: Bob B. (---.washdc.dsl-w.verizon.net)
Date: August 29, 2007 01:25AM

Installed and got WAMP5 running. Added my virtual hosts settings to httpd.conf and copied cgi-bin and my web sites to wamp directories. Server comes up but when I try to view my web sites, I get 403 error.

Bob B.

Options: ReplyQuote
Re: Installation question
Posted by: Bob B. (---.washdc.dsl-w.verizon.net)
Date: August 29, 2007 02:35AM

Fixed the 403 error. Had "Deny All" in the httpd.conf for root directory settings. Why would that be the default settings in WAMP?
Now to test PHP and Mysql.

Bob B.

Options: ReplyQuote
Re: Installation question
Posted by: Bob B. (---.washdc.dsl-w.verizon.net)
Date: August 29, 2007 02:38AM

Spoke to fast. I didn't clear my cache. Now I have:

Forbidden
You don't have permission to access / on this server.

instead of the 403 error. Will start comparing my old httpd setting to the new file.

Bob B.

Options: ReplyQuote
Re: Installation question
Posted by: Bob B. (---.washdc.dsl-w.verizon.net)
Date: August 29, 2007 03:47AM

Works now.
I forgot to change the doc root for all my sites listed in the httpd.conf virtual hosts.
Changed
DocumentRoot /www/docs/www.xxxxxx.com to

DocumentRoot /wamp/www/docs/www.xxxxxx.com

Thanks for listening. PHP and Mysql seem to be working now for the first time also.
Great program!

Bob B.


Options: ReplyQuote


Sorry, only registered users may post in this forum.