Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

php.ini


davidstummer

Recommended Posts

php.ini is normally located in your windows directory or in your Apache directory.

 

Where do I have to put the php.ini ?

The php.ini files is only searched in two places:

1) in your Apache installation directory (e.g. c:apacheapache)

2) in your %SYSTEMROOT% directory.

 

Your %SYSTEMROOT% directory is typically:

c:windows for Windows 95/98

c:winnt or c:winnt40 for NT/2000/XP

If you come across any problems finding out which php.ini you are currently using, do the following:

 

Create a blank file called 'phpinfo.php' in your website directory.

Add the following code to the file.

<?php

/**

* Displays PHP information

*/

   phpinfo();

?>

Now load this file via your browser.

(Example. 'http://localhost/phpinfo.php')

 

Viola... look at all this information!

(Your current php.ini is shown in the top section under 'Configuration File (php.ini) Path '.)

 

Also... take a look at this post for more information on setting up your local server: http://www.oscommerce.com/forums/viewtopic.php?t=38964

 

Hope this helps,

Tony

"The price of success is perseverance. The price of failure comes much cheaper."

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...