Setting up a PHP Dev Environment

Hello!
I am setting up a PHP development environment and following instructions given at http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html#articlecontentAdobe_number edheader_1.
All seems to be fine until I try to view my page in 'Live View', at which point I receive an error message that the file cannot be found. I can view the file correctly if I preview it in the browser (Safari or Firefox). Does anyone know what I am doing wrong? Thank you!

Applications/MAMP/htdocs/check_php
Is that where the root folder of your local site is also located?
I do not know.
I assume that is an answer to the root relative or document relative links question?  This is a concept you should understand.  Try reading this -
http://help.adobe.com/en_US/dreamweaver/cs/using/WScbb6b82af5544594822510a94ae8d65-7c42a.h tml

Similar Messages

  • Got lost on Setting up a PHP development environment for Dreamweaver

    I am following Dave Powers article on building a dynamic website. I am using Mac 10.6.7 and Dreamweaver CS5. I have downloaded Dave's example file and tried putting it on the desktop that didn't work. Next I tried dragging it into the website folder. That didn't work. Then I tried putting the php_test file into MAMP/hedocs and that didn't work. Where should the file go? I got to 2 green lights on the MAMP and can open the start page. The next step was to put in the time code which I did. It looks fine in design but when I click on "live view" it wants me to save the file. I save it as a php on my desktop. It then tells me I havn't specified a testing server. I have tried several ways of setting up the testing server. I set up the file name as :Local Testing---connect using: Local/Network---for the sever folder I have tried /Applications/MAMP/htdocs/php_test  with web url: http://localhost/php_test/ . And I have tried it with: /Users/checkout/Desktop/php_test.  Any ideas?
    Thanks,
    She

    Don't have the pro version? That's unfortunate. catch-22 for you... can't get any $$ to buy tools for web development until you start getting $$ developing websites and can't develop websites until you get $$ to buy tools for web development.
    You have no doubt learned by now through searching (and REsearching) that virtual host is a MAMP Pro feature. If you're too cheap/poor/whatever to afford $59 for MAMP Pro (but you somehow managed to afford the high price of Dreamweaver) then put your site files in MAMP's host location: Applications/MAMP/htdocs
    You said in OP that you did something like that... that you put php_test file (presumably php_test.php with contents unknown to forum readers) in the MAMP directory and could not load the page by visiting http://localhost/php_test
    That is probably because you did not specify the file extension in the localhost URL like this: http://localhost/php_test.php
    How about this... what exact tutorial are you following (provide a URL) and what exact step in the tutorial are you having trouble with? Or try this: instead of php_test use index.php in htdocs directory. For contents of index.php put <?php phpinfo(); ?> then visit http://localhost and see what happens.

  • How to simulate the defect in dev environment

    I have a qa database and the issue i got is some unwanted data getting inserted into the table.this is given as a defect. The qa environment cannot be used for testing because it can only be queried (select) but no insert , update. And the objects cannot be inserted into the qa database.
    So this set up has to be replicated in development env . In which i can do anything. My question is how to replicate the defect in dev . For example the tester says that a record got inserted. But this data is not in development. How to do a data set up in dev.
    thanks,
    Vinodh

    Hi,
    Get an export dump of the qa db schema and import it on to your dev environment and see how you can manipulate the data. However it would be good to talk to the testers how they were able to enter the invalid/junk data.
    cheers
    VT

  • CC&B Dev Environment Installation

    Hi,
    Since from one week I try to setup the Dev Environment Installation for CC&B(ORMB) , however facing below error while running the cmd
    D:\spl\pulsev23\bin>splenviron.cmd -e pulsev23
    The system cannot find the path specified.
    Version ................ (SPLVERSION) : V2.2.0
    Database Type ............... (SPLDB) : oracle
    ORACLE_SID ............. (ORACLE_SID) : pulsev23
    NLS_LANG ................. (NLS_LANG) : AMERICAN_AMERICA.UTF8
    Environment Name ....... (SPLENVIRON) : pulsev23
    Environment Code Directory (SPLEBASE) : D:\spl\pulsev23
    App Output Dir - Logs ... (SPLOUTPUT) : D:\spl\sploutput\pulsev23
    Build Directory .......... (SPLBUILD) : D:\spl\pulsev23\cobol\build
    Runtime Directory .......... (SPLRUN) : D:\spl\pulsev23\runtime
    Cobol Copy Path ......... (SPLCOBCPY) : D:\spl\pulsev23\cobol\source\cm;D:\spl\p
    ulsev23\services;D:\spl\pulsev23\cobol\source
    D:\spl\pulsev23>
    I have no idea except to check the environment variable again and again. List of environment variable is given below :
    set PERLDIR=D:\program\Perl\bin
    SET PERL5LIB=D:\program\Perl\site\lib;D:\program\Perl\lib
    SET PATH=D:\program\Perl\bin;%PATH%
    SET JAVA_HOME=C:\Program Files\Java\jdk1.6.0_20
    SET ORACLE_HOME=D:\oracle\product\11.1.0\client_1
    set HIBERNATE_JAR_DIR=D:\setup\rmb\hibernate-3.2.7.ga
    set C3P0_JAR_DIR=D:\setup\rmb\c3p0-0.9.1.2\lib
    set COBDIR=D:\program\Microfocus5
    set CATALINA_HOME=D:\program\Tomcat6
    set PATH=D:\program\Microfocus5\Bin;%PATH%
    echo off
    echo "PERL DIR = " %PERLDIR%
    echo "COBOL DIR = " %COBDIR%
    echo "JAVA HOME = " %JAVA_HOME%
    echo "ORACLE HOME = " %ORACLE_HOME%
    echo "HIBERNATE JAR DIR = " %HIBERNATE_JAR_DIR%
    echo "C3P0_JAR_DIR = " %C3P0_JAR_DIR%
    echo "DBSERVER = " %DBSERVER%"@"%DBPORT%
    echo "ORACLE_SID = " %ORACLE_SID%
    echo "SPLENVIRON = " %SPLENVIRON%
    set path=%path%;d:\spl\pulsev23
    call cmd
    ::REM call splenviron -e pulsev23
    ::echo "Running splenv -e SPLENVIRON"
    If anyone have some idea regarding the same please let us know.
    Thanks in advance.
    ~Subodh

    Hi,
    The cause is, defined the path variable doesn't existing in the system(the error itself describing).
    01. Check the path variables in the ENVIRON.INI file, whether those path's are existing in the system?
    or
    02. Take backup of splenviron.cmd file (the file is delivered from Oracle, so don't modify the backup copy)
    03. Put the echo statement where ever it trying point file or dir.
    04. You can get the wrong path which is specified.

  • How old is test/dev environment?

    Hi,
    How can I check, How old is test/dev environment which was cloned from PROD in past.
    by the creation time of control file?
    Thanks

    Just for the pourpose of sharing knowledge, even if your regular backup strategy does not include rman, you can still issue this command. I have created a just recently cloned database out of the seed, it works too.
    [oracle@cursocfe log]$ rman target /
    Recovery Manager: Release 10.2.0.1.0 - Production on Tue Apr 24 14:03:49 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    connected to target database: DEMO (DBID=3364817245)
    RMAN> list incarnation of database;
    using target database control file instead of recovery catalog
    List of Database Incarnations
    DB Key Inc Key DB Name DB ID STATUS Reset SCN Reset Time
    1 1 DEMO 3364817245 PARENT 1 30-JUN-05
    2 2 DEMO 3364817245 CURRENT 446075 24-APR-07

  • How to move the code and deploy the code from Dev environment to SIT.

    Hi,
    I have a requirement.
    I want to move the components and deploy the code from dev Environment to SIT environment using Ant Script for AIA.
    Before doing this is any pre-requisites required?
    Can you please help on this,how to do?
    Thanks in advance.

    Further to add to Anish Statement follow the steps to easily migrate the code to different environment.
    Steps:
    First log on to the EM Console and export the Composite Flow as a SAR file to a location.
    In Jdeveloper create a project using the same name of a SAR file like - ProcessSalesorderFlow
    import the project using the option import the composite using a SAR File.
    After import , then click on the composite and then generate the config plan.
    In config plan add all the url changes using the search and replace Tags.
    And in case if you have a JCA Adapters the same has to be taken care in SIT environment why because during deployment a lookup happens and deployment fails if it dont find the JNDI Name.
    Take the SAR file adn config plan seperately from JDeveloper.
    Now open em console again and then deploy it using the config file and SAR file.
    Thanks,
    Venugopal SSS RAJA

  • Correctly setting up a C++ development environment with clang++

    I'm going to reinstall Arch x64 soon, as the current installation was not done properly, and I have some doubts on how I should set up my development environment correctly.
    My compiler of choice is clang++ 3.4 SVN and my IDE of choice is QTCreator git.
    I currently get and install those manually, but I may use the AUR in my next Arch installation.
    Anyway, the issue is that QTCreator and other applications use /usr/bin/c++ by default, which is g++.
    To solve (horribly) the issue, I changed my /usr/bin/c++ to an executable bash script that fowards the arguments to clang++.
    This lead to issues such as warnings and errors not being catched by the IDE.
    My question is: what is the correct way to set up a clang++ development environment?
    How can I set clang++ as the default compiler for everything except AUR packages?
    If you use clang++ as your main compiler, how did you solve this issue?

    The canonical method of setting your (C++) compiler is to set the CXX environment variable.
    Searching Google for "qtcreator compiler" yields things like: https://qt-project.org/doc/qtcreator-2. … hains.html

  • Configure Apps for SharePoint 2013 in dev environment without DNS

    I have a SP 2013 dev env
    http://spitlab/ .I want to configure app store in this environment 
    will I be able to do it without access to a DNS server 
    I followed the below two articles 
    http://www.ashokraja.me/post/Develop-SharePoint-2013-Napa-App-In-Local-Dev-Environment-Configuring-On-Premises-without-DNS.aspx
    I am able to install third party apps but when I click on it . it gets redirected to sfs.in 
    next i try this 
    http://sharepointconnoisseur.blogspot.com/2013/07/shortcut-to-prepare-sharepoint-2013-app.html
    same thing I am able to install 3rd party apps but when i click on it .. it goes to intranet.com 
    so is it possible to install third party apps on a dev box without DNS and check out third party apps and if what steps am i missing ?

    Hi,
    If you click the 3rd party apps and it is redirected to sfs.in or intranet.com, this means you configured app domain correctly.
    You can read the official document per the following first link to understand what app domain is (with DNS configured), app domain format is as bellow image (borrowed from this
    article), and app domain is defined as you want(e.g. ContosoApps.com).
    Without DNS, as your above two articles described, the app domain (e.g. apps.com, or apps.sfs.in) is written manually in hosts file directly, you can construct an app domain as your own, then after you install a custom developed app, it should be the following
    app url format.
    http://technet.microsoft.com/en-us/library/fp161236(v=office.15).aspx
    http://www.ashokraja.me/post/Develop-SharePoint-2013-Napa-App-In-Local-Dev-Environment-Configuring-On-Premises-without-DNS.aspx
    http://sharepointconnoisseur.blogspot.jp/2013/07/shortcut-to-prepare-sharepoint-2013-app.html
    Thanks
    Daniel Yang
    TechNet Community Support

  • Clustering in dev environment

    Hi,
              Is there anyway in development environment to test clustering without
              getting the network people involved to do multicasting?
              Thanks.
              Tinou Bao
              www.tinou.com
              

    Try and see if the multicast test across a couple of different computers
              will work with either 237.0.0.1 or 224.0.0.1. If you are successful with
              either of these two addresses as the multicast, you should be able to test
              clustering within your dev. environment.
              Patrick
              "Tinou Bao" <[email protected]> wrote in message
              news:[email protected]..
              > Hi,
              >
              > Is there anyway in development environment to test clustering without
              > getting the network people involved to do multicasting?
              >
              > Thanks.
              >
              > --
              > Tinou Bao
              > www.tinou.com
              >
              >
              

  • SharePoint 2013 dev environment as standalone with DC - PowerShell in Azure?

    Hi,
    I am looking for a PowerShell script that create based on a Visual Studio 2013 Azure image a dev environment in azure. I need a Standalone server with DC / SQL / SharePoint 2013 on one server.
    Provide Microsoft a script for this requirement?
    Regards,

    First off, Microsoft does not support SharePoint 2013 on a Domain Controller. Here are some scripting resources, however:
    http://msdn.microsoft.com/en-us/library/windowsazure/dn385843.aspx
    https://github.com/WindowsAzure/azure-sdk-tools-samples/wiki/Automated-Deployment-of-SharePoint-2013-with-Windows-Azure-PowerShell
    http://blogs.msdn.com/b/windowsazure/archive/2013/05/24/automating-sharepoint-deployments-in-windows-azure-using-powershell.aspx
    http://blog.appliedis.com/2013/04/29/automating-sharepoint-2013-installation-on-windows-azure-iaas/
    http://absolute-sharepoint.com/2013/10/create-a-scripted-sharepoint-2013-development-environment-tutorial-part-1.html
    Trevor Seward, MCC
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • How to ctreate report in dev environment

    Hi all,
    Can I create report on the dev evironment only by having VPN acessto that machine .
    If yes then when I logged in to the financial reporting stdio client of the Dev environment m/c it gave me the following error.
    You are not authorized to use this functionality.Contact your administrator.
    I have used the administrator user.And the user had the required permission to create the report.
    Thanks

    Hi,
    No you won't be able to open it in that way, you can usually tell if it is exactly the same by looking at the file size, if they are exactly the same as each other then it is more than likely you will have the same version.
    You could open the hreports.jar with something like winrar and look in the META-INF directory, there is a file called MANIFEST.MF, if you view that file you will see a line like Implementation-Version: 11.1.1.2.0.0230
    You could also click on HReports.exe in windows explorer and you will see the version in the task bar.
    If the client worked you can also log in and go to Help > About Reporting Studio which will tell you the version.
    That should give you a few different options to find out the exact version between client and server.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Transporting roles from sandbox to a DEV environment

    Hi all,
    We have some external consultants who have been developing/modifying roles in a sandbox.  They have put in a lot of work into this effort and do no want to re-create these roles in the DEV environment.  Does SAP best practice allow us to transport these roles from the SANDBOX to the DEV ?  or do we insist that the roles be re-created in the DEV box ?  Will there be maintenance issues down the road if we do the tranport ?
    Thanks,
    Denis Louis

    Yes, you can download them to your desktop and upload them to the DEV...
    PFCG -> Role -> Download and Upload
    Regards
    Juan

  • Problem in opening the report as pop up in live environment but working fine with dev environment

    Post Author: venkateshvarakala
    CA Forum: Deployment
    Hi,
    I developed the report in Crystal Report 9.0 ,in dev environment when I opened the report it is opening in same window and when export to word it is opening in new window but after deploying the application, when I do the same i.e expoting to MS word it overwriting the crytal report due to which I am not allowing me save the Word Document into hard drive( which is one of the requirement.)  (When I expot the pdf it opening in the same window but allows you to save to hard drive).
    My question is why this behaving differently in dev and deployment stages... It will be helpful if the opening of the report  happens just like dev environment in all the case.. i.e opening the exported report in new window.
    Please help in resolving this issue and guide me if need to write or configure.
    Thanks,
    Venkatesh V

    Your having the problem in this particular case only or it is a general problem, that you are not able to close the session properly.
    If that is the case, try with IE6 because rest does not support this portal feature perfectly.
    Regards
    Chander Kararia

  • How do remove FDM from on 11.1.2.3 Dev environment.

    I have installed FDM on my 11.1.2.3 Dev environment. Then few days later installed FDMEE in the same server. I believe I may have done a big mistake here.  My goal now is too remove FDM and finalize FDMEE configuration. Currently, when trying to deploy FDMEE application I get the Deploy to Application server failed message. I have been looking on log files to identify the root cause, but I am not sure which log file is the correct one to view when we are deploying an application via the config tool. I am on a distributed windows 2008 r2 app server environment. I would appreciate any help. Thank you.

    The error you stated:
    Unable to access application source information in Oracle\Middleware\EPMSystem11R1\products\FinancialDataQuality\AppServer\InstalleableApps\aif.ear'
    means that it can't access those files on the Weblogic admin server machine, are you sure the fdmee web application was installed on both machines.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Where do I get information on setting up a 2 node environment?

    We are having some problems with a 2 node (apps-Web server, forms server) and db-Concurrent manager, database) that was set up by consultants when we first implemented E-Business 11i.
    Have since upgraded to 11.5.10 and some of the OAM features won't work, particularily the terminate of hung forms sessions.
    If anyone knows where on OTN or Metalink we can find the exact instructions for verifying / setting up a multi-node environment we would appreciate it greatly.
    Thanks.

    In case you have not checked.
    The First CD for installation also called RedCD
    Has a doc section I think that has the install doc (pdf) in there has into about multinode configuration.
    You can use the config.txt file also to do the multinode install again.
    If anyone knows where on OTN or Metalink we can find the exact instructions for verifying / setting up a multi-node environment we would appreciate it greatly.
    ----

Maybe you are looking for

  • How do you print from safari without the header and footer?

    I may be missing something but... When printing in Safari how do you remove the header and footer.  I am using PDF creator to save pages as PDF for things like online pay slips and want them to be 'clean'. Running Safari 5.1 on Windows Vista Thanks i

  • Maintain default cost element in controlling area USD

    Hi All, I were trying to clear vendor down payment with vendor invoice ( error)required me to Maintain default cost element in controlling area USD. Is that a way to do without making to default cost elemnt Thank you for your help Regards bali

  • Appear flashing line on the screen during work

    I bought Macbook Air since 1st July 14. I found the flash line appear on screen during work but it's just shot line at the first and It appears just few secs. So I thought it's not too serious to me. Till now the line is seem more longer and appear f

  • Upgrading from 3gs to Iphone4

    I have recently signed a 3 year contract with FIDO for the iphone 3gs (like AT@T etc), now that the Iphone4 is out, I am craving to get it, but I don't wanna have to buy out of the contract. Does anyone know if there is anyway I can Upgrade my phone

  • SharePoint search using Term-IDs doesn't work as expected for various document types and items

    If items or documents are tagged with managed metadata terms from the term store (no social tags, but pre-defined terms), you can find this content later on (after crawler has finished) using the following URL query: http://myserver/search/Pages/resu