[FX.php List] PHP software installation manual vs. FMP Adv. Server
Joel Shapiro
jsfmp at earthlink.net
Fri Mar 2 12:46:23 MST 2012
Hi Steve(s)
Just one other thing to add: if you'll ever be using the FileMaker API for PHP (instead of or in addition to FX.php), then you'll need to tell your PHP where to locate the API, since the FMS-installed version of PHP already has the API set in its include path. You could change the include_path in the php.ini, or you could place the API "standalone" into the root folder of your site.
That way, you'd be able to call:
require_once 'FileMaker.php'; on your pages without any changes to the path.
(If you'll have multiple sites on the same server, changing the include_path in the php.ini probably makes more sense than having to have a copy of the standalone in each site's directory.)
HTH,
-Joel
On Mar 2, 2012, at 10:05 AM, Steve Winter wrote:
> Bit late in chiming in, but I wanted to double endorse what Leo said…
>
> We usually run FMS with our own version of PHP, and don't use the FMS version. It means that we have simpler control of the version of PHP which is used on our sites and means that it can be managed through 'normal' server upgrade processes, be they IIS or Apache.
>
> On occasion we also run FMS through Apache on Windows and have found it to be very stable, and often-times slightly quicker.
>
> It also gives us greater flexibility to develop standard code which can be deployed on either Windows, Linux or OS X server (and yes, I know FMS doesn't run on Linux (anymore, sadly) but that doesn't mean that the PHP application which is using FMS can't… we have one client where only the authentication and limited tracking is handled by FMS, everything else is delivered from static PHP and/or MySQL.. in that case, we have a single FMS which 'services' three Linux web servers which are behind a load balancer)
>
> The only current drawback (and this occurs with the FMS supplied version of PHP too) is that the API code hasn't been updated for a few years now, and throws dozens of deprecation errors with any half-modern version of PHP… let's hope a rumoured-to-be-coming-soon version of FM addresses that...
>
> Anyway, go for it… use whatever version of PHP you like…
>
> Cheers
> Steve
>
>> I would say no. And I would definately want to encourage you not to "be afraid" of rolling your own installation of PHP if you want to. There's nothing that should hinder you from doing that and still working just as well with FM.
>>
>> The only thing that comes to my mind is that maybe the FM PHP installation sets up the php privilege set on the FM server? But I don't know, it's been a while.
>>
>> I have built a few things in PHP which work directly with FM, and I have always used my own PHP installation. It works fine. It's just PHP regardless where you got it from.
>>
>>
>> 1 mar 2012 kl. 21.52 skrev Vargas, Steve E:
>>
>>> Hello,
>>>
>>> Is there a differences between a FileMaker Pro advanced server running PHP code where the PHP software was manually installed and sits right under the C: drive of a Windows server, and that of a FMP Advanced server running PHP code where the PHP software was installed during the configuration and installation of the FMP Advanced server, where the PHP software is now located several directories down from the root directory?
>>>
>>> One server is configured with FMP Advanced server 11.03, Windows 2008 server, and PHP version 5.0. The PHP software was installed via FMP Advanced Server installation.
>>>
>>> The other server is a legacy platform with the manual installation of PHP software.
>>>
>>> Are there difference development wise, app performance, and app maintenance?
>>>
>>>
>>> Thanks,
>>> Steve
>>>
>>> _______________________________________________
>>> FX.php_List mailing list
>>> 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
>
> Steve Winter
> +44 777 852 4776
> steve at bluecrocodile.co.nz
>
>
>
>
> _______________________________________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/mailman/listinfo/fx.php_list
More information about the FX.php_List
mailing list