PHP on a COLDFUSION SERVER

Hi,
I have the following question: Is it possible to get PHP
running on a Coldfusion server? I have a forum in php which I want
to be displayed on the webpage running under Coldfusion.
Is this possible? What would be the best solution?
Regards,
Kabbi Thkek

Well no, not inside a page. You can not embed PHP code in a
CFM file
and expect the ColdFusion engine to know what to do with it,
anymore
then you can embed CFML code in a PHP file and expect the PHP
engine to
understand it.
You can cross process with frames, as mentioned. Since then
each
request will be sent to the appropiate engine by the web
server.
You can also use web services to pass information from one
app server to
the other.
With ColdFusion you could use the CFHTTP tag to call a PHP
page and
process what it returns. I'm sure PHP has similar
functionality.
Those are the three ideas I could come up with.
YC wrote:
> Of course, you can run ColdFusion and PHP at the same
time in one machine.
> I am running both of them on Windows and with IIS.
>
> But I think kabbi~'s question is, in fact, this is my
question, too, can we
> run a PHP page embedded inside a ColdFusion page? The
only way I can think
> of is using frames, but frames can be tricky in many
cases, so I want to
> avoid it if possible. Is there a better way to do this?
>
> YC
>
>
> "frank_tudor" <[email protected]> wrote
in message
> news:ea86v1$rfk$[email protected]..
>> I have had success running PHP and Coldfusion
together with Apache on
>> Windows
>> and Linux.
>>
>> Start with installing Apache then install Coldfusion
to use apache as the
>> webserver, then install PHP
>>
>> Or PHP then Coldfusion...
>>
>> It'll work. :)
>>
>> Frank
>>
>
>

Similar Messages

  • How to create a Flex3 project with remote ColdFusion server?

    I have a question related to Flex 3 and ColdFusion that it might be simple to answer but I have been struggling with it for a while.
    How to create a Flex application using Flex Builder 3 that uses ColdFusion, but the ColdFusion server is not installed locally but in a remote server?
    I need to create a Flex application to use with ColdFusion and although this is a simple procedure when we are creating the project in a computer where you have ColdFusion installed locally (as all books shows examples of it), but what if the ColdFusion server is installed in another machine in the network?
    My current situation is the following:
    -          I have Flex Builder 3 install in my PC at work and its workspace is in a folder in the network outside of my PC.
    -          We have a server (ISWEB1) partition in two drives; C, where the ColdFusion 8 is installed and D where all the files the developers work with reside. The ColdFusion installation runs in a server where IIS is used as the web server.
    -          I have the drive D on the server ISWEB1 mapped to one of my letter drives and can access it easily
    -          The drive C on the Server can only be accessed remotely (or through the web to access the ColdFusion admin page) and is not exposed to the network as drive D is.
    My problem is, I need to create a Flex 3 application that uses ColdFusion using remote object access service (CF Flash Remoting) but I wanted to point to the installation version on the server ISWEB1 and not to the one installed locally. The Configure ColdFusion Server screen in the Flex Builder asked me for the location of ColdFusion root folder, Web root, and root URL. There is no way I can point to the server (ISWEB1)where ColdFusion is installed as those fields seem to required a address that points to a local install or a mapping on that local server.
    The work around that could be used is to use the ColdFusion developers edition I have installed locally and use during the creation of the project in Flex Builder, but then I would have to have all the same data sources, mappings, and CFCs in my the local server in order to test, which seems double work. To aggravate that when you try to test the application Flex writes the files to the local server and unless you have everything available locally it would not work properly. I am trying to avoid duplicating the work. Ideally I would like to test the Flex application on the server where the CF is installed and where the Flex Builder workspace is.

    Sort of. I found this article below that helped me to connect to the remote CF server using MXML. It seems that you have to create a regular project in Flex with Aplication Server Type set to None and connect to CF using the endpoint attribute of the RemoteObject MXML tag or via AS.
    http://www.aliaspooryorik.com/blog/index.cfm/e/posts.details/post/200
    However I found out after getting error using the AS3 code to use the endpoint property that
    mx.rpc.remoting.RemoteObject does not support  the "endpoint" property
    whereas mx.rpc.remoting.mxml.RemoteObject does. See link below
    http://www.mail-archive.com/[email protected]/msg101439.html//www.mail-archive.com/[email protected]/msg101439.html
    So I had to change my AS3 code by adding a new channel to my RemoteObject using a code similar to the one on the link below (Note that this code uses PHP, when I instantiate myRemoteObject, I do so informing that the destination is "ColdFusion" [new RemoteObject("ColdFusion")], so no need to set destination as in the code on the link below
    http://tech.groups.yahoo.com/group/flexcoders/message/120115
    I hope that helps you.

  • Port of facebook php-sdk to coldfusion.

    Hi,
    I just started porting the official facebook php-sdk to coldfusion. I have currently only done rudimentary testing.
    However the code is working fine with open bluedragon running on a tomcat server.
    Just thought i would put that out there, might save someone out there some work. I have attempted to keep the code as close to the php-version as possible to simplify porting any further changes that might be made to the php version.
    The code lives here.
    http://github.com/quicken/facebook-cfml-sdk
    cheers
    Marcel

    Thanks for the prompt reply.
    It still puzzles me that not one of (literally) one billion applications ever requires root privileges. I understand the potential security problems, though other sandboxes (e.g. in Java) allow an authentication mechanism to escape out the restrictions when needed.
    I guess that also libpcap is not accessible, as it would be of little/no use if you are not root.

  • Can we call a php function into coldfusion coding?????????

    can we call a php function into coldfusion??
    if anybody knows that let me know....

    Nope, as IIS can only pass one page to one handler, so it gets passed to ColdFusion *or* PHP. The only way it would work is to have a page with an iFrame containing a PHP page, but that's not calling a PHP function from ColdFusion.
    Dare I ask what it is you're trying to achieve exactly? If it's an extremely complicated function that can't possibly be rewritten, you'd probably want to wrap it up in a webservice and call it from CF.

  • ColdFusion server script in multiple browser tabs

    When I run the ColdFusion server example in multiple browsers I am unable to grab sessions in each tab other then the first.  See screen shot for error message.  However if I disable cookies then I can run as many tabs as I want.  Can anyone tell me if there is a work around for this?  It has to do with the http call that is made in account manager initializes.  In all other tabs except the first one when the http call is made it returns with an unexpected result, with the tag "meeting-info" in the result.
    Any help is appreciated.
    -chris    

    I have just tried and I am not seeing the problem you are having.
    Anyway, the symptoms you are describing let me think you are doing something with session cookies.
    Any web application that uses session cookies would show those "symptoms": you login to FaceBook,GMail,YahooMail, etc. from one browser and then open another tab or window and access the same site you'll see you are automatically "already logged in" as the original users.
    Call this a bug or a feature, but this is how browsers works. This still doesn't explain how you are having a problem with server-side calls when you open multiple tabs, unless you are storing the accountManager object in the session (that is ok, if you want to save on server-to-server calls).
    But even if that is what you are doing, I still don't understand what your real problem is. Assuming you are trying to run multiple rooms under the same account, the first request to the AFCS server will ask to authenticate and all the others will be already authenticated. And this is working as expected.

  • Using php with oracle http server

    Hello folks
    This question might have been answered on this forum, but i haven't found it yet.
    Is it possible to integrate php into the apache server that is supplied with the oracle (9.2) database, the so called Oracle HTTP Server?
    What technical issues are to consider and how do you do it on linux in that case? (SLES8)
    Is there any support issues to consider if somebody modifies this oracle supplied http server?
    Looking very much forward to some help...
    Regards,
    Christian

    Well it was a spelling mistake in the beginning. I get the following output now:
    ./configure --with-oci8=$ORACLE_HOME \
    --with-apxs=/opt/oracle/product/9ir2/Apache/Apache/bin/apxs \
    --enable-sigchildcreating cache ./config.cache
    checking host system type... i686-pc-linux-gnu
    checking for gcc... gcc
    checking whether the C compiler (gcc ) works... yes
    checking whether the C compiler (gcc ) is a cross-compiler... no
    checking whether we are using GNU C... yes
    checking whether gcc accepts -g... yes
    checking whether gcc and cc understand -c and -o together... yes
    checking how to run the C preprocessor... gcc -E
    checking for AIX... no
    checking if compiler supports -R... no
    checking if compiler supports -Wl,-rpath,... yes
    checking for re2c... exit 0;
    checking for ranlib... ranlib
    checking whether ln -s works... yes
    checking for gawk... gawk
    checking for bison... bison -y
    checking for bison version... 1.35 (ok)
    checking for flex... lex
    checking for yywrap in -ll... no
    checking lex output file root... ./configure: line 2425: lex: command not found
    configure: error: cannot find output from lex; giving up

  • Stored procedure not found when creating a new recordset binding in Dreamweaver CS6 with ColdFusion Server 11

    Stored procedure not found when creating a new recordset binding in Dreamweaver CS6 with ColdFusion Server 11.  I can see the tables and views in the database tab, but no stored procedures.  If I connect to a data source created in ColdFusion Server 6 I am able to see the stored procedures.

    Ben thanks for the reply!
    Yes that is the process I am following:
    In Dreamweaver, open the page that will run the stored procedure.
    In the Bindings panel (Window > Bindings), click the Plus button, and then select Stored Procedure.
    In the Data Source pop‑up menu, select a connection to the database containing the stored procedure
    Enter the ColdFusion Data Source user name and password.
    At this point in the procedure drop down I would get a message that said No Stored Procedure Found.
    Right now it appears to be working, I had to create a new site that pointed to the older CF 6 server's data source and create a page following the process above, then when I went back to the CF 11 site the stored procedures were now populated.  I need to make sure it is pulling from the correct server but right now it appears to be working.
    Thanks
    Dwight

  • ColdFusion Server Settings box is blank

    I finally got my copy of CFBuilder 2, and I've been trying to get it set up for my projects.  When editing code, I have a "Firefox" and "IE" tab at the bottom of the editor window, but when I click on either one (or if I click on the green "Run" button in the toolbar), I get the following message:
    Server is not configured with the project.
    Along with instructions about how to configure the server settings.  However, when I do (project->properties->ColdFusion Server Settings), that box is completely blank, other than the "Restore Defaults" and "Apply" buttons.
    What gives?

    Ok, somehow I managed to figure it out.  I ended up with a double "http://" in the server path, so I nuked it and started over.
    Now my problem is a 404 when I preview in my browser.
    I have CF8 installed locally, running on localhost:8500.  I have C:/ColdFusion8/wwwroot/ as my local path, and folders for each project under that (example: planning).
    I'm assuming since my project path is C:/ColdFusion8/wwwroot/planning/ and my "Sample URL" is http://localhost:8500/planning/ that previewing the index.cfm file in that folder should give me the proper URL.  But I get a "File not found" error.
    I can browse to the file in Firefox and view it fine, so I suspect a pathing problem.

  • I have problem with Adobe ColdFusion Server Manager.

    I have a problem with Adobe ColdFusion Server Manager when you log on and connect to the server. An advantage of the settings do not load.

    When I see others screen cuts of CF Server Manager here:
    http://www.coldfusionjedi.com/index.cfm/2009/10/21/Quick-example-of-Diff-within-the-ColdFu sion-Server-Manager
    http://forta.com/blog/index.cfm/2009/7/6/Simplified-ColdFusion-Server-Management
    the Errors View button display’s the yellow ! sign. Without a better guide I just thought that is a normal button icon until I noticed Charlie comment earlier in the thread and I thought hold up that is not normal.
    As it is when I press Errors View I get “no error” which might be because there is none or just simply not giving meaningful details as per some other CF Server Manager limitations previously noticed in other threads on forum here.
    I just hope some of that helps the original post to do with the display of the settings on left side. Maybe a better look at the error might help? Does anything get logged in CFadmin UI > Debugging & Logging > Log Files that relates to issue?
    Regards, Carl.

  • Assigning/restricting certain IP address to coldfusion server

    I have coldfusion 9 server on my development server. but when i try to log in to the website on the dev server a licensing error shows up saying the IP address is disallowed. can anyone tell me how to assign the IP address that needs to have access to the CF server?

    sachinpol wrote:
     if i get licensing then no of IP addrr accessing shud not be an issue, is that right?
    As Adam said.  Yes that is exactly how the free developer's edition works.  With the addition that the local loop back url (127.0.0.1 aka localhost) never counts towards the two IP limit.
    I also wanted to add, if you get a new license for a CF 9 ColdFusion server, the EULA allows that license to also be used for development, staging, QA and cold backup servers.  Thus that licensed development server WILL NOT have the IP restrictions.

  • Flex preventing ColdFusion server from logging exceptions!

    Hello all,
    Whenever I invoke a CFC from Flex, if the CFC throws an
    exception, that exception is not logged in the ColdFusion server
    logs. I built an html page that invokes the same page, and when the
    exception is thrown it is indeed logged on the server.
    Why is Flex preventing ColdFusion from logging the
    exceptions!?

    I've never realized that but you can add a cflog tag to your
    CFC or debug the error taking a look at the stacktrace withing FB
    debugger.

  • Same Serial Number found on another ColdFusion server.The server may be out of compliance

    We have installed CF 8 Enterprise on a 4 way Linux server.
    We have installed several instances using JBoss.
    We keep getting this error:
    Same Serial Number found on another ColdFusion server.The
    server may be out of compliance.
    is this error indicating that we need more licenses?

    kittyb wrote:
    > We have installed CF 8 Enterprise on a 4 way Linux
    server.
    > We have installed several instances using JBoss.
    >
    > We keep getting this error:
    > Same Serial Number found on another ColdFusion
    server.The server may be out of
    > compliance.
    >
    > is this error indicating that we need more licenses?
    This is just a warning that other instances with the same
    serial have
    been discovered. It does not necessarily mean you need to buy
    more. For
    that you need to check the paperwork from you purchase of CF
    which will
    tell you for how many servers / CPUs you bought CF.
    Jochem
    Jochem van Dieten
    Adobe Community Expert for ColdFusion

  • New Coldfusion Server Setup in Flashbuilder and Coldfusion Builder not working

    I have not found the combination for adding a new Coldfusion Server in Flash Builder 4.7 or Coldfusion Builder 2.01 with Coldfusion 10. I am running windows 7 64bit. on IIS 7. Coldfusion 10 is running fine.
    All was well with Coldfusion 9 Flash Builder 4.6 and Coldfusion Builder 2.0.
    Local Server Settings for CF9 were
    Server Home C:\Coldfusion9
    Document Root   C:\inetpub\wwwroot
    Version: 9.0.x
    Now as soon as I put in C:\Coldfusion10 or C:\Coldfusion10\cfusion I get an error "Server home is not valid".
    Any hints on getting this going.

    Hi Jeff,
    Can you let us know the directory location for wwwroot on your system.
    jeffcg2 wrote:
    That does not work. As soon as I put C:\ColdFusion10\cfusion in the Server Home I get the error Server Home Invalid. I have uninstalled Coldfusion 10 and re-installed added the latest updates. Coldfusion 10 is working fine running on IIS 7.
    Not necessarily. As soon as you select the "cfusion" location, it would automatically pick the wwwroot location.
    jeffcg2 wrote:
    With Coldfusion 10 , since you have C:\ColdFusion10\cfusion\wwwroot. as the Document root will this only work if you install the included web server?
    Regards,
    Anit Kumar

  • Error 500: coldfusion.server.ServiceFactory$ServiceNotAvailableException:

    Hi,
    Trying to to deploy ColdFusion MX7 EAR over WebSphere V7 Application server, The installation was success, However while launching the ColdFusion Administrator we are encountering this error.
    Error 500: coldfusion.server.ServiceFactory$ServiceNotAvailableException: The Security service is not available.          
    Can anyone help us on this?.
    Thanks!

    CF 7 doesn't support WebSphere 7:
    http://www.adobe.com/products/coldfusion/productinfo/systemreqs/fp_frameset.html
    Dave Watts, CTO, Fig Leaf Software
    http://www.figleaf.com/
    http://training.figleaf.com/
    Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
    GSA Schedule, and provides the highest caliber vendor-authorized
    instruction at our training centers, online, or onsite.
    Read this before you post:
    http://forums.adobe.com/thread/607238

  • Upgrade coldfusion server from 9 to vesion 10

    I need instruction on upgrading coldfusion server from 9 to 10 on windows 2008 server. Thanks.

    Although no database was created, it should allow me to connect to sqlplus using
    SQL>connect / as sysdba in order to access system tables."connect" means connect to a database, and system tables are within a database. If you don't have any, then no system tables.
    And I have already configure the listener.The listener is independent from databases, it listens for any databases registered with it.
    It may be running, but if no active databases, it listens for nothing.

Maybe you are looking for

  • In one sessions.xml file can i include more than one project

    Hi Folks, I got a requirement to create more projects by using the same sessions.xml file if it is possible please let me know. thanks Venkatram R. Veerareddy

  • Mail trouble with outgoing mail server

    For weeks now (relatively recent), MAC mail will not send consistantly. When I choose my outgoing mail server in the preferences panel and check "use only this server", Mail often will not send my message. If I leave that outgoing server as "none", m

  • Repositioning viewport of column size change

    I have a JTable with multiple columns and rows. Columns can be resized or moved by dragging the column headers. Whenever a column is resized the table viewport jumps to the top of the table. I am looking for a way to either hold the viewport at the c

  • PDF X-FI manual PLEA

    I would far rather peruse a hard copy of information than a .chm file. It would be ever so nice if Creative would make a .pdf document available. How about it's?

  • Adobe audition cc crashes after a few times of recording(please help)

    Okay so Adobe audition is incredibly useful or should i say WAS... It was great until one day it just crashed after a few times of recording. I just thought maybe something went wrong whatever ill re do it. But no.. for months ive been trying, uninst