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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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 |
| Sponsored Links | ||
| ||
| |
|
#2
| |||
| |||
| 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... |
| Sponsored Links | ||
| ||