Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Where is the php.ini script located


SpencerD

Recommended Posts

Does anyone have an idea why I get an error on a successful install of the 2.2 version

 

 Warning: session.auto_start is enabled - please disable this php feature in php.ini and restart the web server.

spencerd@bbx.com

Link to comment
Share on other sites

On Linux it is usually located at /usr/local/lib/php.ini, on windows I really don't know :oops:

 

You can grab some of that information at the Admin panel selecting "Tools->Server Information" (text could be slightly diferent since mine is in portuguese and I'm making direct translation )

 

It will appear some osC internal info and also the usual php_info() return.

Now, first step is done

 

Look for php.ini at "Configuration File (php.ini) Path"

 

or if still return the same error make a file named info.php and put it on server.

 

<? php_info() ?>

 

It will return more or less the same info. Search for it.

 

If this is a shared server at an ISP you are sort of doomed :cry:

In this last case I can advise you to change hosting partner.

 

Hope that I helped.

 

 

 

8) Lopo

If I helped you, you can help others too.

Search Affero Network. Thanks :)

--

moving mentalities >> fast forward

Link to comment
Share on other sites

Slight mistake in sample. It's tooooo late for this :(

 

<?php



// Show all information, defaults to INFO_ALL

phpinfo();



// Show just the module information.

// phpinfo(8) yields identical results.

phpinfo(INFO_MODULES);



?>

 

From original documentation at www.php.net

 

I really advise you to stop by there: http://www.php.net/manual/en/

 

 

8) Lopo

If I helped you, you can help others too.

Search Affero Network. Thanks :)

--

moving mentalities >> fast forward

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...