Need beginner advice on test server and site layout

Recently started to learn PHP and MySQL.  Realized I need a test server on my laptop (have the room and the power).
Is the XAMPP distributor fine for my needs?
Is there any advice on how to set up the directories?  In other words, how to integrate DW and the test server?
Thanks
Tom

Yes, XAMPP works fine.  I personally only have experience with MAMP and WAMP, but it's all the same.
As far as advice goes you can either use the default directory that XAMPP creates or you can have the program point to your current website parent directory (one level above the site(s) you define).  Typically you will just use the address http://localhost/folder to connect to your site based on my previous comment.  As far as mySQL goes you should know how to use phpMyAdmin which is distributed with the XAMPP package or you can always use the mySQL Workbench ( http://wb.mysql.com/ ) if you prefer a more graphical and traditional application-like interface.
With regards to the "test" server.  Just set it up as you would an FTP server.  The connection will be a local/network connection and the localhost address will work.  Set the model to PHP/mySQL and you are good to go.  If you don't use the localhost address and use the IP address of the computer sometimes firewalls can get in the way, so that is why it is recommended to use the localhost unless you know how to add a rule to your firewall to allow local connections.
I think that should cover it all.  If you still have questions or have issues getting scripts to run feel free to post back.

Similar Messages

  • Upgrade Content Server and Site Studio

    Hello Everyone,
    We are trying to upgrade both Content Server and Site Studio from 7.1 / 7.2.1 to
    10gR3
    1) Instead of updating existing instance we Installed new 10gR3 instance
    Exported folder structure archive, layout files and data files from old instance
    2) Imported into new 10gR3 instance.
    3) Tried to upgrade sitestudio websites
    4) Its created a project file but not adding any SiteStudio section properties
    (ex. primaryURL, secondaryURL, IncludeSectionInNavigation etc.), if I open the site in
    designer, it shows just blank site structure without any templates associated and all sections are disabled.
    Any ideas on this??
    Venkat

    Hi ,
    If you are displaying the data from spaces only then all the operations like creating a web content , editing it etc can be done from Webcenter spaces itself .
    Thanks
    Srinath

  • Local Testing server and htdocs

    So I have set up apache/php with virtual servers and I'm
    using DW8.
    I may have terminology errors below. Correct me where I'm
    wrong please.
    Example site directory C:/apache/htdocs/site.com/
    The web directory is: C:/apache/htdocs/site.com/htdocs
    however there are other important files hiden below this
    rebroot in "site.com/application" for example
    My work diretory is C:/somewhere else/site.com. While
    developing, I just set the testing server as my webserver and
    posted everything to preview, but know I want to include the
    production server, and try to use my local testing setup correctly.
    I use DW to ftp and edit the site files, including those
    below the webroot, so is set my directories to allow access to
    those files. My annoyance is that when I preview my site it tries
    to pull up the homepage as www.site.dev/htdocs/index.php
    (I use dev to distinguish the local testing server)
    Can I resolve this problem, or can someone explain how to
    effecttively manage your workdirectory, testingserver and
    production server from one DW site? At the moment I'm using two DW
    sites to manage for now.

    Thank you for your answers.
    SnakEyez02 wrote:
    First, this is very possible depending on your theme.  Some of the dyanmic effects in themes use javascript files from the JQuery library as well as other javascript libraries.  Because of this it may not be possible to edit all files.
    How do you think I could check this is true ? I think I need all the files if I wish to edit the theme. Would copying all the remote files locally help clearing this in any way ?
    SnakEyez02 wrote:
    This sounds like a path issue in the code.  I would check there to make sure the path is correct.  Otherwise we would need to see the code.
    I don't know how to check this. When inspecting the page with Live Code, I don't know which html file Dw is showing me on the left. No filename has that grey background like it's pushed... Plus, I don't understand why the path would have changed, since I didn't mess with the code (yet) ?
    SnakEyez02 wrote:
    I have found this to appear when you have friendly/pretty-URLs or mod-rewrite turned on.  In the WordPress web admin, go to Settings->Permalinks and choose the default with the ?p=123 setting.  DW is currently unable to process the rewriting of URLs and it will only recognize the un-SEO-friendly way of reading URLs.
    Ok now I don't understand. When I go to http://localhost/mysite/wp-admin, it shows me the WP logo,
    No Upgrade Required
    Your WordPress database is already up-to-date!
    And a big "continue" button, all of which on the original site (the url is http://www.mysite.com/wp-admin/upgrade.php?_wp_http_referer=%2Fwp-admin%2F). Pressing the button gets me to http://www.mysite.com/.
    Is that because I imported the database from the live site ? I don't know what I did to get that, I used to get to the local WP installation. Could that be a bad database setup ?
    Any idea ?
    Again, thank you a lot for helping me out here !

  • Need Help Setting Up Testing Server

    Hi. I have been using Dreamweaver for a while, but am
    extremely new at the whole testing server thing, as I have been
    building only simple pure-html pages.
    I am want to password protect a part of my site using the
    Insert > Data Objects > User Authentication > Log In User.
    I have already converted my whole site from .html pages to
    .php pages, because I thought that .html pages wouldn't work.
    Everytime I try to use that Log In User menu command,
    Dreamweaver gives me a dialog box that says, "Before inserting this
    object, please do the following: 1. Create a site for this file 2.
    Choose a document type 3. Set up the site's testing server".
    Numbers 1 and 2 have a checkbox which I am assuming means they are
    done correctly. But number 3 (set up teh site's testing server) has
    no checkbox and the dialog box will not allow me to click OK, which
    leads me to assume that I need to accomplish the aforementioned
    step number 3.
    So I go to the Site Definition for my site and under the
    Advanced Tab go to Testing Server. I want PHP MySQL as the server
    model, so I chose that. And I am guessing I need to choose
    Local/Network for the Access option because
    the computer I am building this site on is not connected to the
    internet. (I have no intention of hooking this machine up to
    the internet becauase all of my work I have ever done is on it!)
    Now, here lies my main question: What should the Testing
    server folder be? And what should the URL prefix be? And do I need
    to change anything else?
    If I am not being clear about anything regarding my
    questions, please make a point of it, and I will try to be more
    clear.
    Thank you so much for helping!

    > Host Directory:/root folder/ (if no root folder
    directory use "/"
    Or leave it blank.
    > FTP Host:yoursite.com
    I see that this is a *real* domain, with a real registration.
    It's best to
    just use 'example.com' for dummy domain names.
    > URL Prefix:
    http://your-site.com/
    Ditto. And by the way, there was no hyphen when you first
    used this!
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "DWFAQ.info" <[email protected]> wrote in
    message
    news:gkeu60$hjl$[email protected]..
    > You need to be connected to the internet to test dynamic
    attributes.
    >
    > For advanced/testing server enter the following
    formatted exactly as it is
    > displayed:
    >
    > Access:FTP
    > FTP Host:yoursite.com
    > Host Directory:/root folder/ (if no root folder
    directory use "/" no
    > quotations)
    > Login:Host login Username
    > Password: Host Login Password
    > Check Save checkbox
    > No other checkboxes
    > URL Prefix:
    http://your-site.com/
    >
    > Click the test button and see what happens.
    >
    > Best,
    >

  • Just starting out: can I put my script on a test server and move it later?

    I'm not a programmer (though I will need to be for our iTunesU setup), so I hope my question will be phrased correctly. We are planning on putting our script on the same server that will run our Moodle site (currently we are running Moodle on a test server). We plan on installing perl so we can run a perl script, as there does not appear to be a php script available.
    If we install the script on our test server, will there be a problem when we move the script to our permanent server? Should we wait until our permanent server is up and running?
    Thanks, in advance, for your help.

    I can't say with certainty that moving your script from one machine to another will "just work" - there are lots of factors that could cause a script not to work when you move it (system configuration, pre-installed software, etc.). However, the practice of moving a script from a development location to a production server is quite common with iTunes U sites. The key piece of information in your script that keeps the relationship secure between an authorizing server and iTunes U is the shared secret. The other variables are also important as well as having the machine be synchronized to network time.

  • Question about having a test server and a remote server

    Hi,
    using DW CS6
    I have my site setup on a test server XAMPP. Now I want to publish to a remote server. When I select remote server it wants me to define a site. This means having my site listed twice on the site definition box. I can see having the site twice at some point is going to cause me some confusion. Is it necessary to define the site twice? Is there a way to have remote and test on the same site definition go to two different servers?
    Reason I'm asking is because the test server is new to me. I use to have the site set up in a folder on my computer and the site definition was the remote server so hopping between the two was fairly straight forward. I'm just wondering if that is possible now I have the site on XAMPP.
    Thanks

    When you created your site in Dreamweaver, you gave it a name and defined a local site folder, right? You shouldn't have to do that twice to add a remote server.
    In Site Setup > Servers, you will have to define a new server however if you want to keep your testing server. But this should not cause any conflicts, because they are both pointing to the same local folder in XAMPP, right?
    If I know I'm going to need a testing server, I make sure that my site folder is in my XAMPP/htdocs/ folder. That way I don't have to bother with having to keep track of two versions of the same site. Then when it's time to upload it to the remote server, I'm just adding a new server, and checking the "Remote" box.
    One site, two servers ( Local/Network & FTP), no conflicts.

  • Test server and remote server

    The sync button syncs files from the local view to the remote server. How
    do you sync files from the local view to the test server?
    Best,
    Christopher

    When you created your site in Dreamweaver, you gave it a name and defined a local site folder, right? You shouldn't have to do that twice to add a remote server.
    In Site Setup > Servers, you will have to define a new server however if you want to keep your testing server. But this should not cause any conflicts, because they are both pointing to the same local folder in XAMPP, right?
    If I know I'm going to need a testing server, I make sure that my site folder is in my XAMPP/htdocs/ folder. That way I don't have to bother with having to keep track of two versions of the same site. Then when it's time to upload it to the remote server, I'm just adding a new server, and checking the "Remote" box.
    One site, two servers ( Local/Network & FTP), no conflicts.

  • Need to create a virtual server and give its access to another admin

    Dear Sir,
    I am a new admin and have 5 Blade server "HP ProLiant BL660c Gen8".
    I access these servers through HP enclosure.
    I have to install Hyper-V on server 1 which consisted of the OS windows server 2012 R2 Datacenter edition.
    I created a plan to create 5 Hyper-V VM's on the physical server and I requested the IT department network Admin that I want these 5 VM's to able to connect to each other.
    The network Admin created a Trunking configuration on the physical server and after this setup he provided me Hyper-v node IP address and 5 more IP addresses for the 5 Hyper-v VM's.
    Now it was left to me to Add the Hyper-v role and create 5 VM's.
    While Adding the Hyper-V role, I was asked in the middle of the setup to add the network adapter for
    connecting to external network.
    I went inside the network connection settings and I see one network adapter "Microsoft Multiplexer"
    which had the IP address of the Hyper-V node which was given  to be me by Network Admin.
    Besides this I found following Network Adapter: (Mgmt,Trunk):(Mgmt A, Trunk A);(Mgmt B, Trunk B) =Total
    6 Network Adapter out of which only "Mgmt" was configured with the IP address of the Hyper-v node given by my Network Admin. Remaining all other Network adapters IPV4 configuration
    was unchecked except "Mgmt" 
    So I selected the "Mgmt" connection while Installing the Hyper-v role
    SO I chose this Network connection for adding the Hyper-V role.
    My question: Did I chose the correct Network Adapter.
    After doing this I created a VM-1 and tried to assign the IP address given by the Network Admin. But the network Admin did not provide me the default gateway so I used the deafult gateway according to the IP address and used the last digit as "1"
    like a general installation.
    Now my question is: 1.How can I use this VM to be used as a Virtual server?
    2. I would like to open this VM through my browser by entering the IP address of this VM-1. How can I do this?
    Because I access my physical server through the IP address. SO in the similar way I want to access this VM-1 through the IP address
    OR is there any alternate way to access this VM-1 separately.
    My Requirement: I need to give VM-1 access to another admin to Install his application on it. SO how to give him to access this VM directly?
    This is my main query.
    Waiting for your reply.
    Thanks & Regards,
    Ahmed

    Jawin, Jacob, etc.. are fine for creating COM clients but COM servers is a totally different story. I suspect you'll either have to write your own JNI or get out your C/C++ compiler.

  • [beginner] Relationship between app server and JBI container

    Hello,
    I downloaded the Sun app server as well as the JBI SDK and I would like to understand how they relate to each other. Is the JBI SDK a plug-in in the app server? Does it run on top of it? What part of J2ee are used by JBI?(servlets, ejbs, JCA???).
    Thanks in advance,
    Julien.
    PS
    Any answer is welcome. I am a complete beginner in JBI and I am looking for some primer that will help me get started with the spec...

    JBI is a specification; its up to the implementations to decide how they interact with different application servers. e.g. Sun's RI may work in Sun's app server and, say, JBoss. ServiceMix is already integrated into Apache Geronimo but has deployers for any Servlet engine and JBoss.
    Typically a JBI container will use servlets for HTTP bindings and can use EJBs if required. JCA integration is an option too - e.g. ServiceMix can either integrate with the application servers JCA engine or can use its own embedded JCA engine - Jencks (http://jencks.org).
    James
    http://logicblaze.com/

  • Installing a local testing server - download sites

    This is my second attempt at setting up a local testing environment. The first time it seemed to go OK, there were just some steps I had to take that just didn't seem right though, which made me wonder if I had the correct installation files, correct set up, etc. At that time I had downloaded and installed the WAMP package.
    So, I'm fairly confident it's WAMP that I need. I just want to make sure I have the correct install files.  Could someone point me to the actual download sites for these things - there are so many options available with an internet search, I can never be sure if I'm getting the latest versions. Would someone mind posting the main sites for the following?
    1. Apache
    2. WAMP
    3. MySQL
    4. PHP
    I'm also wanting these sites to ensure I'm getting accurate info for set up and usage, and not some half-baked you tube tutorial video or blog posts.
    Thank you community!!

    I use Xampp and it doesn't seem to have the Skype issues and it makes setting up your local test environment about as easy as it can be.  Just install it and go. Then make sure you locate any of your local sites in the "htdocs" folder and you are ready to go.  You can also tweak things to use a different folder for your web root, but I'm usually happy to just leave it as is.
    Lawrence Cramer - *Adobe Community Professional*
    http://www.Cartweaver.com
    PHP & ColdFusion Shopping Cart for Adobe Dreamweaver
    Stay updated:
    http://www.facebook.com/cartweaver
    http://www.twitter.com/cartweaver
    http://blog.cartweaver.com

  • Need help:Urgent:MS SQL Server and J2EE Server

    Hello,
    i am developing simple bean managed persistence bean. i want to know how could i use microsoft SQL Server as my database with ejb's in J2EE. i don't want to use cloudscape rather i want to connect through jdbc bridge with sql server. can any body help me out ?
    i have developed DSN for my database with the name of DsnProduct and user name for DB is guest and password is guest123.
    so do i have to change configuration is my J2EE server . or put some additional code. so far i have added the following line in my implementation class
    private String dbName= "java:comp/env/jdbc/ProductDB";
    DataSource ds = (DataSource) ic.lookup(dbName);
    con = ds.getConnection("guest","guest123");
    moreover in server configuration i have added driver
    sun.jdbc.odbc.JdbcOdbcDriver
    and also provide the following JNDI Name
    jdbc/ProductDB
    and
    it's url is
    jdbc:odbc:DsnProduct
    i am thankfull for your support.
    [email protected]

    hi llturro,
    Thanks for answering my question. I have tried out what you suggested, but I still can't fix my problem. The following are the messages that display when I try to run my servlet. It seems that the DataSource, Connection and Statement are ok, however when it comes to the ResultSet the error message appear. What's wrong with my ResultSet coding ?
    ResultSet rs = stat.executeQuery("SELECT ISBN FROM BOOKSINFO WHERE ISBN='"+primarykey+"'");
    setEntityContext Method
    Find by primary key
    DataSource OK
    Connection OK
    Primary Key = 013-00-675721-9
    Statement OK
    java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: Unknown Exception/Error thrown by EJB method.; nested exception is:
    java.lang.NullPointerException
    java.rmi.RemoteException: Unknown Exception/Error thrown by EJB method.; nested exception is:
    java.lang.NullPointerException
    java.lang.NullPointerException
    <<no stack trace available>>

  • Do I need to have both RH Server and Office

    If I have the RH server license do I need to buy the  RoboHelp office as well for every single user?

    The short answer is "Yes". For the long answer click here.
      The RoboColum(n)
      @robocolumn
      Colum McAndrew

  • Need some advice about Mail Preferences and Rules

    Several months ago, I created a rule in Mail 2.1.3 for my mailboxes that would filter out some of the SPAM that I get on my laptop. I indicated that I only wanted to receive messages from people in my address book.
    As it turns out that was not a great decision, and now I'm missing mail from people that comes right through on our "family" PC running Outlook. I tried to change that rule, but I didn't remember how I had done it. I searched help and found the instruction: Click Mail, Click Preferences, Click Rules.
    However, when I get into Preferences, I don't see Rules anywhere. I only have ACCOUNTS, MAILBOX BEHAVIORS, and ADVANCED. I don't see rules on any of those tabs. Clearly, I had the power before. Can someone please (pretty please) tell me what I'm missing now?
    I would greatly appreciate any advice that you can give.
    Thanks!

    You must have inadvertently clicked on the small gray oval in the upper right-hand corner of the Preferences window sometime in the recent past. Doing so toggles between showing/hiding icons for General, Accounts, ..., Signatures, and Rules.

  • Help I need some advice on my macbook and the sims 2!!!

    ive just bought a brand new macbook! it's very fast and everything's fine, but I was just wondering if it will be able to play the sims 2? I want to buy the mac version but will it have enough memory, processor power etc. Ive checked the system preferences and my laptop fits them all fine! but I was just wondering!
    Has anyone else got a mac laptop and can play the sims 2 on it?
    would be much appreciated!!!!!!!
    Macbook   Mac OS X (10.4.8)  

    i have a macbook and i was able to play sims 2 perfectly fine. i heard there would be problems since it has a shared media card, and that i would have to put the resolution of the game on to the lowest level, but i havent and it runs just as well as it would on any other computer.

  • Need api docs for personalization server and 5.1 server

    Hi,
    I can't seem to find the javadocs for the apis described above...can
    someone please help?
    thanks
    Neelam Checknita ; ~ )

    Javadoc:
    WLPS 2.0: http://e-docs.bea.com/wlcs/javadoc/p13n/index.html
    WLCS 2.0: http://e-docs.bea.com/wlcs/javadoc/comp/index.html
    WLS 5.1: http://www.weblogic.com/docs51/classdocs/javadocs/index.html
    Main docs:
    WLPS/WLCS 2.0: http://e-docs.bea.com/wlcs/index.htm
    WLS 5.1: http://www.weblogic.com/docs51/resources.html
    If you have a slow internet connection then download the docs at
    http://www.beasys.com/download.html
    Ture Hoefner
    BEA Systems, Inc.
    2590 Pearl St.
    Suite 110
    Boulder, CO 80302
    www.bea.com

Maybe you are looking for

  • Internal order's profit center overrides FI document profit center

    Dear all, I have a problem in posting FI document. here is the situation. 1.the company create statistical IO as jobs to see performance by jobs. 2.when receive money from customer. accountant post FI doc. ref to stat IO and manually judge how much t

  • X6 problem connecting BH-214

    I just bought the BH-214 headset. I don't seem to get it to work. I can connect the headset through bluetooth to the phone. But when initiating the music player, the music keeps comming out of the speakers, not through the headphone. I tested the ear

  • Rac installation error ocrconfig.bin

    Hi. I just started to install Oracle 10gR2 clusterware, but after I finnished GUI installer it asked to execute 2 scripts. The first one executed without any problems, but the second one didn't. I couldn't find any propriate solutions which works. [c

  • Printing through Photoshop with applescript

    I'm trying to set up a script that will automatically print a certain quantity based on user input. I can't figure out how to access the "Copies" part of the print menu. Is that possible? This is what I have so far. set myQuantity to the text returne

  • Table Interface - Webreporting

    Hi all, i got a query with an own structure with 20 rows. Now i want to change the background color of first 3 rows from my structure. I think this should be possible with Table Interface? Anyone knows how? Thanks in advance. M. Erbil