mullernars Posted August 6, 2008 Posted August 6, 2008 Hi guys. I'm a newbie to PHP and osCommerce. I've installed PHP 5.2.6 + MySQL 5.0 + Apache 2.2.9 on my Windows 2003 Web server successfully. When I started to install osCommerce, typed "http://localhost:8080/catalog/install/install.php" in firefox 2.0.0.16 or opera 9.5 or IE(when in IE, it occured javascript error) browser, It took quite long to test the db connection without no message response. Can any one tell me what's wrong with it?
FIMBLE Posted August 6, 2008 Posted August 6, 2008 Is the SQL server active? Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
mullernars Posted August 6, 2008 Author Posted August 6, 2008 Is the SQL server active? Yes, I tried the db connection with PHP snipet before I did the OSC installation.
sharik Posted August 6, 2008 Posted August 6, 2008 Same problem here with the same configuration. MySQL server, user, pass and database name tested and working fine using 'MySQL Query Browser' When trying to connect to DB server on the first installation osc page, 'Testing database connection..' appears with no result (success or fail) !!! Any idea ? please help, I`m stuck
mullernars Posted August 7, 2008 Author Posted August 7, 2008 Same problem here with the same configuration. MySQL server, user, pass and database name tested and working fine using 'MySQL Query Browser' When trying to connect to DB server on the first installation osc page, 'Testing database connection..' appears with no result (success or fail) !!! Any idea ? please help, I`m stuck Dear Sharik, I've solved my problem. I think it could be the same to yours. Maybe you should enable some options in php.ini, such like "register_globals = On" and change some options' value like "max_execution_time = 300","max_input_time = 120","memory_limit = 8M". hope these can help you to solve your problem.
wycodeiwyg Posted August 16, 2008 Posted August 16, 2008 Dear Sharik, I've solved my problem. I think it could be the same to yours. Maybe you should enable some options in php.ini, such like "register_globals = On" and change some options' value like "max_execution_time = 300","max_input_time = 120","memory_limit = 8M". hope these can help you to solve your problem. I am curious if things are still working well for you. I am about to create a similar test environment. I loaded apache 2.8, mysql 5.067, and php 5.2.6 on my Vista machine. Localhost, MySql admin tools, php snippets etc were working yesterday, but failed today with unresolved port /firewall conflicts. In doing research I'm finding that all is not as well as I thought. There are permission problems with Windows Vista so I need to re-install WAMP in different area of my machine -- starting to do that now. I wanted to know if your environment was still working after fine-tuning php.ini. I am new to oscommerce, just took over a site that was never published and is at osc 1.4.2 php 4 (program headings dated 2003). Rather than do three upgrades I figured it'd be better/cleaner to install clean osc 2.2a with php 5 and migrate my code in, but my store has never been finished or tested in php4 so I'm trying to learn anything I can about someone going from php 4 to php 5. After I search the forums more, I'll probably start a new thread but for now I hope it's ok I followed up with your initial post. I wanted to check to see how bringing your environment down to you was working out for you nce you proceeded with the upgrade. I figure the SSL piece might get funky. bought several good books so I have some reference material for the tech questions. thanks for any info, wycodeiwyg
Recommended Posts
Archived
This topic is now archived and is closed to further replies.