Showing posts with label PHP WAMP Server. Show all posts
Showing posts with label PHP WAMP Server. Show all posts

Wednesday, 26 December 2018

PHP:How to Open and Test a PHP Script in WampServer

WampServer is a web development environment for Windows. It's easy to use, and once you know how, you'll be able to open and test a PHP script in it with no trouble.

Steps
Image titled Open and Test a PHP Script in WampServer Step 1

  1. Download WAMP. Once you have downloaded it, locate the .exe and open it.
    • Download the WAMP version that suits your OS (e.g. if your OS is 64 bit, download that version.)
  2. 2
    Go to driver you installed wamp on\wamp64\www\.
  3. 3
    Create a new folder. Right click on any blank space and select New. Then choose Folder and give the folder a name (the folder name will be the project name in WampServer).
  4. 4
    Open any text editor (like Notepad).
  5. 5
    Write the script. Type in the script you want to test.
  6. 6
    Save the script. Save the script to the folder we created located at driver you installed WAMP on (\wamp64\www\wikihow). That can be done by clicking Ffile then Save as.
    • Give the file a name and do not forget to add .php (PHP File Extension) at the end of the file name (Ex. Wikihow.php).
  7. 7
    Close the text editor.
  8. 8
    Open your browser.
  9. 9
    Type “Local Host” in the address bar.
  10. 10
    Click on the project name from your projects
  11. 11
    Click on the PHP file to open it.
  12. 12
    Check the PHP file. If you spot any errors in the php file, go to \wamp64\www\wikihow and right click on the PHP. Click File > Open with and then Notepad. Try to find out the error and fix it. When you're done, click File > Save and refresh the PHP page to know if the error is fixed.  

Friday, 19 September 2014

PHP: Exception in module wampmanager.exe at 000F15A0 in Windows 8

You are probably trying to install WAMPServer in your windows machine. It could be Windows 7, Windows 8 or any other Windows machine. After you install WAMPserver and try to launch the WAMPServer you get this error: Exception in module wampmanager.exe at 000F15A0. This is because you are trying to run a 64bit version of WAMP server on a 32 bit Windows server or viceversa.
Solution:To resolve, just uninstall the WAMPServer that you installed and download the right version of WAMPServer that matches your Windows Operating System. In Windows 8 you can view your PC information by selecting 'Settings' and 'PCInfo'.
Additionally, as the WAMPServer requires Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) you should download and install it as well from here.http://download.microsoft.com/download/d/d/9/dd9a82d0-52ef-40db-8dab-795376989c03/vcredist_x86.exe