Test Local PHP Server works not!

Hi guys,.

I just set up my server to test local PHP, even if its does not work properly! If you could help that would be so wonderful!

Here are my current settings:

The local Site folder: C:\XAMPP\htdocs\valsoo\

Web URL: http://localhost/valsoo/

Folder on the server: C:\XAMPP\htdocs\valsoo\

Local/network

Server model: PHP MySQL

I'm testing the "local testing server" with a file called site_check.php, who works at the root of the folder of the Site Local (C:\XAMPP\htdocs\valsoo\site_check.php), but does not work when the file is within records (C:\XAMPP\htdocs\valsoo\lesson01). Not all the files of work either at the root. ANY SUGGESTIONS?

Thank you very much!

Brentis wrote:

I deleted the C:/htdocs, but it changed nothing.

That does not surprise me. If you have difficulty with the files could not be found, simply remove a folder will not help. You might have deleted the record sought by the browser.

Assuming that XAMPP is installed, make sure that Apache is running and then type http://localhost in the address bar of browser to load the XAMPP admin page. Click on the link of the phpinfo() function in the left navigation sidebar and find the value of DOCUMENT_ROOT in the section Apache environment.

Once you know the correct location for DOCUMENT_ROOT, you should be able to put your files in a subfolder of the DOCUMENT_ROOT folder and define your test server correctly in Dreamweaver.

Tags: Dreamweaver

Similar Questions

  • Set the testing for PHP server using XAMPP

    MY xampp installation works fine, when I type "localhost" in the browser, that it refreshes the page of XAMPP. Problem is when I F12 in DW CS4 to make it appear a php page of the site that I am working on it also opens the page xampp instead of index.php page I gave open in DW.  Any ideas? the configuration of the site on my pc is C:\xampp\htdocs\Milica\ another question I have which is no doubt why the above is happening, is that when I place the site definition to test files url doesn't http://localhost/ I get "DW cannot use the prefix you have entered to display live data" I tried different combinations to point the site folder \Milica but nothing works.  Help!  Thank you

    If the root of your site is C:\xampp\htdocs\Milica, your test server definition must specify C:\xampp\htdocs\Milica as the folder for the test server and the Web URL should be http://localhost/Milica/.

  • PHP mail works not

    I have implemented a mail using php to send the user information.

    the process is we add the user with insert add - cust.php information, this is done to a new page cust - email.php that sends user information (or should) then leads to a new page cust - list.php

    the process is running and finishing on cust - list.php but I don't get emails from test

    colname_rsTenant2 = "-1";

    If (isset($_GET['tenID'])) {}

    $colname_rsTenant2 = $_GET ['tenID'];

    }

    @mysql_select_db ($database_host, $host);

    $query_rsTenant2 = sprintf ("SELECT tenEmail FROM hostTenApp WHERE tenID = %s", GetSQLValueString ($colname_rsTenant2, "int") ");

    $rsTenant2 = mysql_query ($query_rsTenant2, $host) or die (mysql_error ());

    $row_rsTenant2 = mysql_fetch_assoc ($rsTenant2);

    $totalRows_rsTenant2 = mysql_num_rows ($rsTenant2);

    E-mail information new tenant

              $to = " [email protected] ".","; "

    $to = $row_rsTenant2 ["tenEmail"];

    $subject = "Activate your account US Ltd";

    $message ="

    < html >

    < head >

    < title > Dear ".» $row_rsTenant2 ["tenEmail"]. "Please see the details of your account below < /title >

    < / head >

    < body >

                                  <img src=\" http://www.website.com/images/Ogo2.gif ' -' alt =------"www.website.com------" / >

    < h2 > a host E-mail < / h2 >

    < br / > < br / >

    < table >

    < b > us now have you registered for our new Web site, here are your user name and password. < br / >

    < strong > you will need to either your contact with your sponsor at the time of the request or your sponsor have access to a computer to complete the application, if there is information you have to hand you can save your application form and return when you have the information. However the form will not be processed until all information is entered. < facilities > < br / > < br / > < tr > < td > < table > < /tr >

    < br / > xxxx < tr > < td > < table > < /tr >

    < br / > please make sure you have all the relevant information form must be completed. The complete list can be found here < br / > < br / >

    < href =' http://www.website.com/property-application-what-you-need.php '> http://www.website.com/property-application-what-you-need.php < /a > < br / >

    < tr > < table width = "800" border = "1" cellspacing = "5" >

    < b >

    < /tr >

    < /table >

    < / body >

    < / html >

    ";

    Content-type always defined when sending HTML email

    $headers = "MIME-Version: 1.0 '. « \r\n » ;

    $headers. = "content-type: text / html;" charset = iso-8859-1 ". « \r\n » ;

    $headers. = "from: Web site < " [email protected] > '. "\r\n";

    $send = mail ($ $subject, $message, $headers);

    $insertGoTo = "cust - list.php ';

    If (isset {}

    $insertGoTo. = (strpos ($insertGoTo, '?'))? « & » : « ? » ;

    $insertGoTo. = $_SERVER ['QUERY_STRING'];

    }

    header (sprintf ("location: %s", $insertGoTo));

    see what I did wrong

    You will need to add tenID to the query string or use a session variable. Is the tenID in the query string of the details page?

  • Workstation 8 vmware-workstation-server works not not on Ubuntu 11.10

    Hi people:

    Just, I have upgraded my Ubuntu 10.10 to 11.10 and replaced VMWare Server 2.0 with Workstation 8.02.  It seems that the vmware-workstation-server service is not running.  I'm unable to connect from a web page and the application vmware itself is not able to connect.  When I try to activate the dialog application vmware service I get the following messages in the terminal window where I ran vmware:

    update root@naplesubuntu:~#-rc.d: WARNING: /etc/init.d/vmware-workstation-server LSB missing information
    update - see rc.d: < http://wiki.debian.org/LSBInitScripts >
    Adding system for etc/init.d/vmware-workstation-server start...
    /etc/rc0.d/K01vmware-workstation-server->... /init.d/VMware-Workstation-Server
    /etc/RC6.d/K01vmware-workstation-server->... /init.d/VMware-Workstation-Server
    /etc/RC2.d/S03vmware-workstation-server->... /init.d/VMware-Workstation-Server
    /etc/rc3.d/S03vmware-workstation-server->... /init.d/VMware-Workstation-Server
    /etc/RC4.d/S03vmware-workstation-server->... /init.d/VMware-Workstation-Server
    From Workstation Server: fact

    If I disable the vmware application service, I get the following in the terminal window:

    root@naplesubuntu:~# remove any links of the system for etc/init.d/vmware-workstation-server...
    /etc/rc0.d/K01vmware-workstation-server
    /etc/RC2.d/S03vmware-workstation-server
    /etc/rc3.d/S03vmware-workstation-server
    /etc/RC4.d/S03vmware-workstation-server
    /etc/RC6.d/K01vmware-workstation-server
    Stop server workstation: fact

    If I believe that the service is running, but not doing anything, even though I do not see a specific process for this and there seems to be a vmware-workstation-server executable in/usr/bin.

    Not very well where to go from here.   I tried to uninstall and reinstall the workstation and even using a different port number for the Desktop server, but without any result.

    Suggestions welcome.

    Are you running other services on port 443 on this host?

  • I am more able to send emails in Outlook Express, misdiagnosis: ' outgoing server does not.

    .. . Only receive them. It worked until a couple of days.  A diagnostic test says ' outgoing server does not... He asks me to return my password... I have are about running a new diagnosis and said "everything is now functional... but always coming out does not work."

    original title: using OUTLOOK EXPRESS I can no longer send emails

    Remove your e-mail account, close OE and then reopen it and add your account to mail back again and see if that fixes things.  If this isn't the case, then some diagnostic test you run must also explain that you can not control the SMTP server yourself, and if he has any questions, then you should contact the vendor of the SMTP server.

    Steve

  • Internal server messages no longer work when published on the web server, but not locally on the web server

    Just upgraded to 8 Captivate and for some reason my server any internal messages is no longer work on the web server.  I can test locally the lesson that always points to the Web server and it works.  Can't understand why when it is on the server it does not work.  The ashx handler that manages to post is fully accessible to the web server and DNS solves very well so I can't understand why he doesn't hit the Manager.  I use IIS to host it and a .ashx for managing for results.

    Is there maybe something new that needs to be allowed in IIS for 8 Captivate work?  .js seems to be fine and firewall is not the issue.  Short of ideas and the need for this work as soon as possible.

    Thank you very much for your help!

    Nick

    OK, finally solved.  For some reason any run under HTTPS lesson could not publish my results.  As soon as I changed to HTTP the results perfectly. All of this makes sense why I could post locally on the Web server.  Hope this saves someone else 5 days of hell.

  • JavaScript, on the local server, but not remote work

    Hello

    I use JavaScript to a gallery widget on our site.

    It works perfectly when you test locally, but when I upload the images to our server is all there, but the animation is more work, when you click on a thumbnail, the image of the slide is just opened in a new window as a static picture - images should expand and then you should be able to navigate through each of them.

    I checked all the links to the JS folder and everything seems to be okay.

    Can anyone offer advice or suggestions on what to get?

    Thank you!

    Your three javascript files are not in the location you have in the code-

  • Your server has not installed PHP, or PHP is disabled by mistake.

    I am trying to install WordPress from a download and get on this error error: PHP is not running. What I can do.

    Sound your server error, not firefox question.

    If you try to install wordpress locally, use WAMP server

    If your installation on your server or hosted server, contact the admin

  • Test the connection to the database failed: connection to the server could not

    I have one of my servers HPOV NNMi 9.23 restarted this morning and NNMi is loading is no longer.  I see the following errors in the newspapers said:

    /var/opt/OV/log/NNM/public/nmsdbmgr.log

    06/04/2015-09:28:05 connection to the database test failed: connection to the server could not: connection refused
    The server running on host "127.0.0.1" and accept
    TCP/IP connections on port 5432?

    /var/opt/OV/log/NNM/public/postgres.log

    2015-04-06 09:25:55.312 EDT: 8580:0LOG: could not translate the hostname "localhost", "5432" service at the address: name or service not known not

    2015-04-06 09:25:55.312 EDT: 8580:0WARNING: could not create listen to "localhost".

    2015-04-06 09:25:55.312 EDT: 8580:0FATAL: could not create TCP/IP sockets

    I have checked/etc/hosts and found the following entry:

    #; Local
    #;
    127.0.0.1 localhost

    The command line, I can ping localhost without problem.  Not sure why NNMi begins not at this point.

    Turns out be the permissions on the file/etc/hosts.

  • ESXi 5.1 configured as a NTP server, do not sync with the Local PC

    I have a 5.1 ESXi server configured as an NTP server and a Windows Server 2008 R2 local PC that are not sync.  I understand well, it is not recommended for ESXi, but I read [1] [2] that, whenever an ESXi server is running as a client, it also acts as a server, so I enabled as a NTP client in vSphere by ticking the NTP client, adding some servers to the server list, and then click on run, and I also activated the 123 incoming/outgoing port by adding the shell of ESXi firewall settings.

    I'm pretty sure it isn't a firewall problem.  I completely disabled the firewall on my local PC.  Running "w32tm keyboardists computers: - IP address of the server -" give me the time of the server and running the software NTPQuery gives me an answer back on port 123 of the server time.

    I tried:

    - Date/time settings (right-click on notification area-> set date/time-> Internet time-> set as the IP address of the server) - sync fails (* an error has occurred while Windows timed with - server IP-*)

    - Group Policy Editor (Computer Configuration\Administrative Templates administration\systeme\service Time Service, currently disabled but because I heard this causes problems) - synchronization fails

    - The registry editor (HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\settings) - synchronization fails

    - Command prompt, using:

    w32tm /config /manualpeerlist:-IP of server- /syncfromflags:MANUAL /reliable:yes /update
    net stop w32time && net start w32time
    w32tm /resync /rediscover
    
    
    

    This updates the registry properly, but the outputs "the computer did not resync because no time data was available."  And when I use the command "w32tm/query/source" the source is always "The local CMOS clock."

    Here is the output from w32tm/query /configuration

        [Configuration]
    
    
        EventLogFlags: 2 (Local)
        AnnounceFlags: 5 (Local)
        TimeJumpAuditOffset: 28800 (Local)
        MinPollInterval: 10 (Local)
        MaxPollInterval: 15 (Local)
        MaxNegPhaseCorrection: 3600 (Local)
        MaxPosPhaseCorrection: 3600 (Local)
        MaxAllowedPhaseOffset: 1 (Local)
      
        FrequencyCorrectRate: 4 (Local)
        PollAdjustFactor: 5 (Local)
        LargePhaseOffset: 50000000 (Local)
        SpikeWatchPeriod: 900 (Local)
        LocalClockDispersion: 10 (Local)
        HoldPeriod: 5 (Local)
        PhaseCorrectRate: 1 (Local)
        UpdateInterval: 360000 (Local)
    
    
      
        [TimeProviders]
      
        NtpClient (Local)
        DllName: C:\windows\system32\w32time.dll (Loca
        Enabled: 1 (Local)
        InputProvider: 1 (Local)
        AllowNonstandardModeCombinations: 1 (Local)
        ResolvePeerBackoffMinutes: 15 (Local)
        ResolvePeerBackoffMaxTimes: 7 (Local)
        CompatibilityFlags: 2147483648 (Local)
        EventLogFlags: 1 (Local)
        LargeSampleSkew: 3 (Local)
        SpecialPollInterval: 900 (Local)
        Type: NTP (Local)
        NtpServer: -IP of server-,0x1 (Local)
      
        NtpServer (Local)
        DllName: C:\windows\system32\w32time.dll (Loca
        Enabled: 1 (Local)
        InputProvider: 0 (Local)
        AllowNonstandardModeCombinations: 1 (Local)
    
    
    

    Any ideas?  Thanks in advance.

    Your ESXi server response shows that the leap indicator is 3 and the server stratum is 0.

    This means that ESXi NTP server is synchronized and unable to provide a valid reference time to customers.

    We recommend that you configure your ESXi host with valid upstream NTP servers such as:

    0.vmware.pool.ntp.org,1.vmware.pool.ntp.org and 2. VMware.pool.ntp.org

    as described in the KB article or alternatively your internet service provider NTP servers.

    Although not recommended, you can configure ESXi to allow a reference time by using the own system clock

    If you can not configure ESXi to synchronize to external NTP servers upstream.

    UI, tab Configuration, using software (time setting), properties, Options, and NTP settings.

    Specify "127.127.1.0" as your single NTP server. Don't forget to check the box "restart NTP service to apply the changes.

    then click OK twice to close the dialog boxes. Wait a few minutes for NTP sync, then try your test.

    According to RFC 4330, NTP-SNTP (Simple) customers must not use time in a package of NTP response if the

    stratum returned is 0 (and the leap indicator is 3). Apparently, your client Windows NTP Simple is more

    the RFC.

  • See Planner 3.0 - Single-VM Test Local, the batch file runs, but the workload does not run

    Hi all

    See planner 3.0 running on vSphere 5.1. When I run the test local (Windows 7 x 64), see planner was able to power on

    the office and run the batch (server.bat) file, but the workload does not start. I checked the Planner view agent service

    is started on the desktop.


    Planner view device

    01.jpg

    GoldenDesktop, batch file is running

    02.JPG

    Any help would be appreciated.

    AJI

    Can you try to raise the rise time and see if the problem persists? There is also a log file in C: drive, c:\viewplanner-desktopagent.log--vous can attach this file?

  • WPSM54G cannot find print server and not able to print the test page

    After several days of trial and error I am so far I'm willing to give up and put this peace of equipment for sale. It is my last attempt to find a solution.

    I have a Canon MP510 printer connected to the print server and I managed to configure the print server so that it establishes a wireless connection to the router. I can see the ip address assigned to my router print server and I can log on to the configuration of the print server page.

    When I want to set up your computer (software print copy of the Canon MP510 print server) I can not complete the wizard. Step 1 is successful. It shows the print server and the MP510 related to port 1, but in step 2, I get a message that the print server can not be found.

    I looked on the forums how to solve. I already tried a fixed ip address to configure the printer manually but not any which solution worked.

    Your print server must be set to a fixed IP address, try this IP address: 192.168.1.78... Disconnect ethernet cable between your router and the PS... Both devices power for one minute cycle... Follow the link here after changing the IP address on the PS...

  • I created a Web site and it is actually connected live. My login is working locally, but it does not work online. Could you please help me?

    I created a Web site and it is actually connected live. My login is working locally, but it does not work online. Could you please help me?

    Hi Hervé Joseph,

    Your question is more complex than what is generally answered in the Microsoft Answers forums. Appropriate in the MSDN Internet Explorer development Forums.

    Please post your question in the MSDN Internet Explorer development Forums

  • Ie or firefox work on my laptop, all say that the proxy server can not connect. is this a virus?

    My network is fine and the rest of the functions of my laptop works fine, but the internet providers say that the proxy server can not connect. To my knowledge, the proxy servers are used to bypass the blocked Web sites, and I don't use them, although I don't know if this has nothing to do with the problem here.

    In Internet Explorer, click on Tools > Internet Options > connections > LAN settings and uncheck all the boxes. Boulder computer Maven
    Most Microsoft Valuable Professional

  • PhpMyAdmin can not connect to local MySql server on Windows 7

    PhpMyAdmin can not connect to local MySql server on Windows 7

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *

Maybe you are looking for

  • Satellite C660-1HP - hard drive crashed in 2 days

    I bought a Toshiba laptop(C660-1CV) to a local dealer just before two days. I had loaded VMware with couple of VMs and other important software. Despite my company insisting lenevo I went for Toshiba because I trust the brand and I had a real experie

  • How can I fix my iPad to Miss email and password?

    my name is iPad new version and I fight second hand, I used for a while and one day I was updating the program format, unfortunately I missed my email and password. So, how do I open my iPad. ?

  • R400 - bought ddr3 1066 mhz memory but works in 399 mhz?

    Hi, I own a Thinkpad R400 and recently I bought memory for her. Memory is 2 x Samsung PC3-8500 1066 mhz DDR3 1 GB and now that I'm checking CPU - Z for mem clock it says its 399 mhz running? Latest version of Memtest 86 + reports also 399 mhz DDR800.

  • Access Windows Mail with Vista OS _

    How can I access email Windows that is running on a Vista operating system from another computer, more specifically from my computer at home (this one) that is running Windows 7. I was told MS that Windows 7 will not support Windows Mail, I prefer (a

  • How to block the sending of SMS from BlackBerry in the code

    I tried to use notifyOutgoingMessage to interface OutboundMessageListener to catch the sending of SMS, but it does not work. In the document, I only give a copy of the message. So, I wonder how can I get SMS messages and block in the code? This is my