[FX.php List] Needing to roll back to earlier version of 5.2

Bob Patin bob at patin.com
Mon Mar 30 06:39:35 MDT 2015


Hey Michael,

Thanks… I finally discovered that 5.2 doesn’t have a value called ‘max_input_vars’, but 5.3 does, and this client’s web app (which I didn’t write) was passing thousands of vars in one POST. Once I changed that value from 1000 to 2000, it fixed the problem.


Bob Patin
Longterm Solutions
bob at longtermsolutions.com
615-333-6858
FileMaker 9, 10, 11, 12 & 13 Certified Developer
http://www.longtermsolutions.com
-
iChat: bobpatin at me.com
Twitter: bobpatin
—
FileMaker Consulting 
FileMaker Hosting for all versions of FileMaker
PHP • Full email services • Free DNS hosting • Colocation • Consulting

> On Mar 30, 2015, at 4:56 AM, Head Honcho <headhoncho at customikesolutions.com> wrote:
> 
> HI Bob,
> 
> You don't need to "uninstall" 5.3, you just need to tell apache where the new install of 5.2 is (when you find an installer).  [BTW. no idea if this works, but it seems a logical place to start: <http://www.imthi.com/blog/linux/compile-and-install-php-528-on-mac-os-x-1056-leopard.php <http://www.imthi.com/blog/linux/compile-and-install-php-528-on-mac-os-x-1056-leopard.php>>)
> 
> I recently _upgraded_ one of my installs to the latest php and then went to the httpd.conf file and changed the location of the module to the new one.
> 
> in my case the new version of php "lives" in usr/local/php5/libphp5.so
> 
> so the line I changed ended up being LoadModule php5_module ../../usr/local/php5/libphp5.so
> 
> Then restart apache (gracefully).
> 
> Hope this helps.
> 
> Regards
> 
> Michael Ward
> --
> Head Honcho, CustoMike Solutions
> Member, FileMaker Business Alliance & FileMaker Technical Network
> FileMaker 7 - 12 Certified Developer
> ph 0414 562 501
> headhoncho at customikesolutions.com <mailto:headhoncho at customikesolutions.com>
>> On 24 Mar 2015, at 12:52 am, Bob Patin <bob at patin.com <mailto:bob at patin.com>> wrote:
>> 
>> My client’s PHP app still chokes after submitting 27 records in a POST. From what I can ascertain from him, they took an old ColdFusion web app and then someone used FMStudio (I think) to get it to work with FIleMaker.
>> 
>> At any rate…
>> 
>> He can get it to work with PHP 5.2, but not 5.3 or newer; we’ve tried multiple things, including bumping a few variables in PHP, including 
>> 
>> memory_limit
>> post_max_size - he’s doing a POST to write all these records, apparently (I haven’t dug into the code)
>> 
>> but neither had any effect.
>> 
>> SO… I’d like to uninstall 5.3 on this machine and try installing PHP 5.2, and have 2 requirements:
>> 
>> a) Uninstall PHP 5.3;
>> b) Find an installer for PHP 5.2 for Mac OS X and install it
>> 
>> Has anyone done this? Is it hard to uninstall PHP from Mac OS, and if not, would you be willing to consult with me (for pay of course) and help me get this server configured for this client?
>> 
>> Please contact me back-channel if you can help; thanks,
>> 
>> Bob Patin
>> Longterm Solutions
>> bob at longtermsolutions.com <mailto:bob at longtermsolutions.com>
>> 615-333-6858
>> FileMaker 9, 10, 11, 12 & 13 Certified Developer
>> http://www.longtermsolutions.com <http://www.longtermsolutions.com/>
>> -
>> iChat: bobpatin at me.com <mailto:bobpatin at me.com>
>> Twitter: bobpatin
>>>> FileMaker Consulting 
>> FileMaker Hosting for all versions of FileMaker
>> PHP • Full email services • Free DNS hosting • Colocation • Consulting
>> 
>> _______________________________________________
>> FX.php_List mailing list
>> FX.php_List at mail.iviking.org <mailto:FX.php_List at mail.iviking.org>
>> http://www.iviking.org/mailman/listinfo/fx.php_list
> 
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20150330/93be5a2c/attachment-0001.html


More information about the FX.php_List mailing list