How to set up a PHP program environment on your own computer

Updated on technology 2024-05-19
6 answers
  1. Anonymous users2024-02-10

    Just run it and you're good to go. Such as ShopEx's local test installation package. Local installation package for Imperial CMS.

  2. Anonymous users2024-02-09

    For beginners, use the following program to automatically install and configure the platform.

    PHP Setup for IIS (Mysql5) is an installation package that quickly builds a programming and debugging environment based on Apache, MySQL, PHP, easy to install and set up, including the following software: Apache, MySQL, PHP & PHPMYADMIN, OpenSSL, Miniperl, FileZilla FTP Server, etc.

  3. Anonymous users2024-02-08

    It is recommended to use Xampp as a suite, which is very easy to install under Windows, and Apache MySQL PHP and some libraries are all installed.

  4. Anonymous users2024-02-07

    First of all, you need to go to the official website of phpstudy**The software package of the corresponding system, here the default is the XP system (the same steps for the win7 system), Duan Qi selects the software package (here**is the phpstudylite version, you can also install it according to different system hobbies**favorite software newspaper version).

    After decompression, a prompt will pop up to prevent duplication, select "Yes" here.

    Subsequently, the desktop pops up the control panel of the software running, and you can see that the software has been started, including its startup status.

    Now, you can go to the C: phpstudy directory and see that there is a "www" folder, which is where Hongmin stores PHP** programs, and you can place it directly in its root directory.

    Here, using the program as an example, place the program in the root directory of the www directory.

    The "MySQL Manager" on the control panel is used to manage the MySQL database, click on it, and you can enter the MySQL management page through the browser.

    This is the MySQL admin login page after clicking, here it prompts, its default password is root.

    You can see it after you log in. Including, import, export, delete and other operations. The list on the left is the existing database, in addition to the default system database, there is also a test test database, if you don't like it, you can delete it directly.

    Return to the desktop software running control panel, see the "Other Options Menu" button, which mainly includes the setting of some commonly used parameters, click here to see.

    Click the "Other Options Menu" button, you can see that it includes a lot of settings, such as configuration files, version switching, site domain name management, etc., you can see the detailed tutorial provided by the software for specific settings, and there will be no detailed explanation here.

    On it, the software has been launched, and the program has been placed in the root directory of the www folder. Let's open the browser to see the effect, enter localhost in the browser address bar (if you put the php package a folder in the www directory, the address entered here is localhost a), enter, and see the installation interface that appears, proving that the local php environment has been set up as if it had been built.

  5. Anonymous users2024-02-06

    1.Install PHP support on another computer.

    2.Judging from the above folder and file names, the following files need to be copied to another computer:

    3.Where to put it in other computer environments, this should be based on the configuration of the PHP environment installed in step 1, assuming that the other environment is also an apache environment, you can open the files in the apache installation directory, check the documentroot settings for the root directory, and then copy the folders, files, etc. copied in step 2.

    As a hint, the exact path sometimes depends on what you're writing about.

    For example, the above is generally the main file in the ** root directory, but there is also a practice of putting all files in the www folder, so whether it is useful or what is the connection with the content of your www folder, or you can determine it yourself according to the actual situation.

  6. Anonymous users2024-02-05

    Build a PHP environment locally to test PHP programs, so that you can save a lot of money and time, save the time to upload the program to the space and delete it and re-upload it to the server, for the program is relatively large, it can be said that this will save a lot of time, so that you can easily debug PHP programs locally, today I will share my experience on how to build a PHP environment locally to test PHP programs, designed to help those beginners can easily get started.

    Debug PHP programs locally. Save a lot of unnecessary time and quickly learn how to have a ** of your own. A journey of a thousand miles begins with a single step, starting with building a local PHP environment.

    Tools program.

    dedeampz

    Discuz Forum Program.

    Method steps.

    Let's start with the software and programs we need dedeampz and discuz forum programs, both of which can be found inside, and we put him on our desktop.

    **After the good tool and source code,Next, let's install the tool of dedeampz just now**,The next trace is radically changed to unzip the lead quietly and then install,Then see how I install it。

    In this way, we have successfully installed the dedeampz tool.

    After installing the dedeampz tool, let's go to discuz this php forum program to see if it can be installed normally, let's right-click on the dedeampz management icon, click on the properties, and find the target.

    This makes it easy to find where Dedeampz is located.

    After finding it, we deleted everything in the default folder, the path: d:dedeampzwebrootdefault.

    Unzip the discuz archive we just had, and copy the program inside to the default folder, path: d:dedeampzwebrootdefault, and copy the program in the place I pointed to to default.

    Next, let's install the discuz program, we type localhost in the browser and press enter to access the program's installation page, let's see my steps.

    The database information can be found in the dedeampz tool installed earlier.

    After filling in the database information and other information, we click Next to install.

    So we're ready to install the program.

    After installation, we can test the PHP program locally, and that's it for the tutorial, if you don't understand it for the first time, you can read it a few more times to understand.

    I didn't understand it at the beginning, but I understood it after a few more operations.

Related questions
5 answers2024-05-19

Many people don't play blindly because they're stupid, but because they haven't found a simple and easy way to practice. With standard fingering, watch the keyboard type 26 letters from A to Z, and you can learn to type blindly in up to seven days. >>>More

11 answers2024-05-19

1. Install anti-virus software and firewalls, for example, I use Kingsoft Anti-Virus 2007 suit. >>>More

5 answers2024-05-19

After talking about the Rat and the Ugly Ox, we should talk about the fortune of the Tiger in the Year of the Rabbit in 2011. >>>More

2 answers2024-05-19

Homemade delicious ice cream 1. Milk ice cream Raw material formula: 500 grams of fresh milk, 150 grams of butter, 150 grams of white sugar, 100 grams of egg yolk, and a trace amount of edible vanilla essence (no can be added) Method: Add the weighed white sugar to the egg yolk and mix and whip. >>>More

13 answers2024-05-19

You can select "Start Running" and enter "at 22:00 shutdown -s", so that at 22 o'clock, the computer will appear in the "System Shutdown" dialog box, which will have a 30-second countdown by default and prompt you to save your work. If you want to shut down in a countdown mode, you can enter "-s -t 3600", here it means it will automatically shut down after 60 minutes, and "3600" means 60 minutes.