osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

php.ini - HELP!!!

This is a discussion on php.ini - HELP!!! within the osCommerce 2.2 Installation Help forums, part of the osCommerce 2.2 Forums category; Hi, I thought I'd update my php from 4.1.2 to 4.3 on my local compter (osX 10.2 Jaguar). So I ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Installation Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-24-2003, 04:07 AM
New Member
 
Join Date: Feb 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Rodland
Default php.ini - HELP!!!

Hi,

I thought I'd update my php from 4.1.2 to 4.3 on my local compter (osX 10.2 Jaguar).

So I went to http://www.entropy.ch/software/macosx/php/

I downloaded this but this somehow erased the old usr/local/lib/php.ini and changed its read/write/chmod permissions (probably). Because when checking my osC site all I got was:

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

I then created a new php.ini file and downloaded 4.3.0 direct from the PHP site. There I found a php.ini-recommended. I opened this, changed the register_globals to On and copied all of this code and pasted it into empty php.ini file.

I then restarted the computer - still FATAL ERROR!. I then tried this:

chmod 600 /usr/local/lib/php.ini

and got this:

chmod: /usr/local/lib/php.ini: Operation not permitted

So I then went into the lib folder and changed the file ownership and group file permissions to read/write (though never touched the permissions of the usr/local/lib directories). I tried chmod 600 /usr/local/lib/php.ini - this time the operation seemed to be permitted.

Restarted the computer. Back into the site -and .... FATAL ERROR. Again!!!!


What on earth is going on here? Does anyone know how I can fix this and what code is supposed to be in the php.ini file normally? Even better, does anyone know the exact code that was in php.ini when I first installed osX 10.2 Jaguar? Also what where the exact permissions of this file and the folders that store it?


HELP!!!

CMR

p.s. For information when I go to http://mylocalsite/test.php I get the php 4.3.0 info page (which reads fine). It reads:

Configuration File (php.ini) Path /usr/local/lib/php.ini
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 02-25-2003, 07:03 AM
Lurker
 
Join Date: Feb 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
samgamdschie
Default

It might have nothing to do with your problem but I dont recommend upgrading to PHP4.3 since I got serious problem with pictures and pages not found with this software. I downgraded and it worked. I can here it everywhere...problems and php4.3 but I donīt see buglists or something...
Is it just me and my humble knowlegde??
Sorry for getting off topic but after reading about php4.3 and all my trouble I felt like telling you about this...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -8. The time now is 06:43 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax