|
Posted by Jerry Stuckle on 06/15/07 20:01
berkshire@gmail.com wrote:
> On Jun 14, 12:57 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
>> berksh...@gmail.com wrote:
>>> We recently upgraded php from 4.3.9 to 4.4.7. Everything is working
>>> well, except the php scripts running as cronjobs. It appears the
>>> problem is that these scripts utilize the include() function and these
>>> functions are utilizing relative paths. They worked just fine with
>>> the old version of php, but not with the new version.
>>> Anyone know what is causing this hiccup?
>>> TIA
>> Are you specifying absolute paths or relative paths in your include()
>> function?
>>
>> AFAIK, this behavior hasn't changed since the early days of PHP. Did
>> you do something like change directories on the new version?
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================
>
> We are specifying relative paths - which worked just fine when our old
> version of php was installed. Upon upgrading these paths no longer
> work. To my knowledge no other settings in php were altered, however,
> there were some unused options that we left out when compiling the new
> version of php although I don't think any of them are related to this
> present problem.
>
Well, obviously something changed - either in your compile or your
php.ini file. Did you have include_path set in your php.ini before?
This is a problem with either relative or absolute paths - either way
you can have problems when the path changes.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[Back to original message]
|