Home Forums OS X Server and Client Discussion Web osCommerce & Mac OS X Server

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #359408
    [email protected]
    Participant

    Hey guys!

    I have finally persuaded our CIO to evaluate the new Xserves for our hosting company. Most of the stuff is very impressing but we bumped into a problem last night, osCommerce just wont install. We allready have built a pretty extensive shop and i dont want to go thru all the work to migrate it to some other solution. So if anyone out there that has experience in osCommerce and Mac OS X Server could help out i would more then appriciate it, i don´t want a small thing like this stopping us from buying the 12 Xserves we need.

    I can´t even get the sucker installed, it gives me this error message:

    FATAL ERROR: register_globals is disabled in php.ini, please enable it!

    So i of course edit the php.ini file wich i found in /etc/php.ini.default and turn register globals on since we got a dedicated server for the shop. But it does not make any difference at all, i still get the same error message. I have tried to set the parameter to 1 too but with no luck, does anyone have a solution or maybe a workaround?

    Config: Xserve G5 with Mac OS X Server 10.3.5.

    #359410
    abugera
    Participant

    You have to place the information you require in the “php.ini” file in “/etc/”. This file may not exist on your server yet. The file “/etc/php.ini.defaults” is just a template file and is NOT, as far as I can tell, read by the system. The defaults/settings described “appear” to outline the compiled defaults of the php installation.

    In order to get osCommerce working on my server my “/etc/php.ini” file contains only the following:

    register_globals = on
    upload_max_filesize = 4M

    Hope that helps.

    #359416
    [email protected]
    Participant

    It did, thank you so much.

    #359686
    Anonymous
    Guest

    Helped me out also as I couldn’t locate the PHP.ini file.

    Thank you very much!

    #359702
    rgnelson
    Participant

    oscommerce and register_globals.
    This link may help.

    http://www.oscommerce.com/community/contributions,2097/page,28

    #360788
    Anonymous
    Guest

    Hi,

    I’m a complete novice, but I dove in with OS X Server (10.3.8) running on a dual 2.0 GHz xServe. I also am having trouble setting up oscommerce. I managed to get past the php.ini step but am now confronted with mySQL login errors during installation when OS commerce tests the connection to the (new) database. When I put in my domain name or dedicated IP, the error returns with the version my ISP provides (they host my DNS). I.e.

    This occurs regardless of whether MySQL Manager is running (started).

    Say my fixed IP is ‘01.23.456.789’, I receive the following error (my ISP is speakeasy):

    Host ‘dsl023-456-789.lax1.speakeasy.net’ is not allowed to connect to this MySWL server

    Could it be a DNS or firewall issue? I thnk all ports are good. When I try using ‘localhost’ or ‘127.0.0.1’ instead of my IP or domain name, I get a different error:

    Access denied for user ‘foo@localhost’ (Using password: YES)

    Any ideas? (help!)

    #360808
    rgnelson
    Participant

    oscommerce has a forum:
    http://forums.oscommerce.com/

    You might want to post here:
    http://forums.oscommerce.com/index.php?showforum=1

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.

Comments are closed