Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Stuck at Step 3 of install


waximilien

Recommended Posts

Thanks to poring through posts from other people i've managed to get past the first few issues i had with installation (many thanks to vger especially!!) but i've arrived at this screen during my install and i don't know what the problem is:

 

screen.jpg

 

what has gone wrong / what do i need to do that i haven't done?

 

thank you massively in advance for your help!

Link to comment
Share on other sites

i suspect it's the database location issue but i can't find any more info other than my actual site IP

 

webfusion are a joke. they took that long to get to me regarding another one of my issues that i'd sorted it out myself and couldn't actually recall what the problem was

Link to comment
Share on other sites

You need both register_globals and register_long_arrays to be 'on' in php.ini

 

Vger

 

 

(sorry for my ignorance)

 

i'm using a webfusion server (for my sins) - how do i change php.ini?

Link to comment
Share on other sites

ust checked my phpinfo file and register_long_arrays is on and i'm using your patched files to get around the register_globals (at least that's what i understand.. though i admittedly don't understand completely :) )

Link to comment
Share on other sites

Hi,

I had to set register_globals and register_long_arrays to "on". You have to do that at least at the moment. There are also some patches that I am going to try to be able to operate with those flags set to "off". But this will be later...

 

I was stuck on the step 3 for a long time. Then after some debugging, I discovered that calling mysql functions didn't work in my installation of PHP (on my own test server). The issue is coming from the fact that PHP5 doesn't bundle mysql library anymore (PHP4 used to).

 

http://www.php.net/manual/en/faq.databases...ases.mysql.php5

"

52.4. PHP 5 no longer bundles MySQL client libraries, what does this mean to me? Can I still use MySQL with PHP? I try to use MySQL and get "function undefined" errors, what gives?

Yes. There will always be MySQL support in PHP of one kind or another. The only change in PHP 5 is that we are no longer bundling the client library itself. Some reasons in no particular order:

 

Most systems these days already have the client library installed.

 

Given the above, having multiple versions of the library can get messy. For example, if you link mod_auth_mysql against one version and PHP against another, and then enable both in Apache, you get a nice fat crash. Also, the bundled library didn't always play well with the installed server version. The most obvious symptom of this being disagreement over where to find the mysql.socket Unix domain socket file.

 

Maintenance was somewhat lax and it was falling further and further behind the released version.

 

Future versions of the library are under the GPL and thus we don't have an upgrade path since we cannot bundle a GPL'ed library in a BSD/Apache-style licensed project. A clean break in PHP 5 seemed like the best option.

 

This won't actually affect that many people. Unix users, at least the ones who know what they are doing, tend to always build PHP against their system's libmyqlclient library simply by adding the --with-mysql=/usr option when building PHP. Windows users may enable the extension php_mysql.dll inside php.ini. For more details, see the MySQL Reference for installation instructions. Also, be sure libmysql.dll is available to the systems PATH. For more details on how, read the FAQ on setting up the Windows systems PATH. Because libmysql.dll (and many other PHP related files) exist in the PHP folder, you'll want to add the PHP folder to your systems PATH.

"

 

I believe you can check if mysql package is installed by running "php -m" and seeing if mysql was one of the modules.

 

I am a "point and click" type of guy, so for me "recompiling PHP" was very scary. Luckily, on my Fedore 6 little server, I just used sw installation package and installed php-mysql package. Installation then worked like a charm.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...