current location:Home > Technical Articles > Operation and Maintenance > phpstudy

  • How to run php in phpstudy
    How to run php in phpstudy
    Here's how to run PHP code using PHP Study: Open PHP Study and create a project. Create a new PHP file and write the code. Save the file and run it in one of the following ways: Enter the local server address in the browser address bar. Enter the "php filename" command in the PHP Study command prompt.
    phpstudy 1019 2024-04-02 16:42:18
  • In which file is the phpstudypro site information saved?
    In which file is the phpstudypro site information saved?
    PHPstudyPro uses the conf.ini file to store site information, including root directory, domain name, and port number. This file is located in: Windows: C:\Program Files (x86)\PHPStudyPro\conf.inimacOS:/Applications/PHPStudy.app/conf/conf.iniLinux:/usr/local/phpstudypro/conf/conf.ini
    phpstudy 747 2024-04-02 16:39:16
  • Why phpstudy cannot connect to database
    Why phpstudy cannot connect to database
    PhpStudy cannot connect to the database because the MySQL service is not running. PhpStudy configuration error. Firewall blocks connection. Port conflict. The database user has insufficient permissions. The database server version is incompatible. MySQL installation is damaged.
    phpstudy 873 2024-04-02 16:36:21
  • How to call the database in phpstudy
    How to call the database in phpstudy
    The steps to call the database using PHP Study are as follows: import the SQL file and select the database version to operate; use mysql_connect() to connect to the database, provide the host, user name, password and database name; use mysql_select_db() to select the database to operate; use mysql_query () Execute SQL query; use mysql_fetch_assoc() to obtain query results; use mysql_close() to close the database connection.
    phpstudy 944 2024-04-02 16:33:13
  • How to change the port number in phpstudy
    How to change the port number in phpstudy
    You can change the port number in the "Settings" tab of PHPstudy: 1. Find the "Server" section; 2. Enter the port number you want to use; 3. Save the changes and restart PHPstudy; 4. Use localhost and the new port number Verify the changes in your browser.
    phpstudy 1168 2024-04-02 16:27:15
  • How to change the port in phpstudy
    How to change the port in phpstudy
    In order to change the PHPSTUDY port, follow these steps: Open the Control Panel and navigate to the built-in Web server settings; modify the number in the port number field; save the changes and restart the server; enter the website URL and new port number to verify the changes.
    phpstudy 934 2024-04-02 16:24:18
  • How to modify port 80 in phpstudy
    How to modify port 80 in phpstudy
    To modify port 80 of PHPstudy, you need to edit the hosts file to add the IP address and domain name of the PHPstudy website, and then restart the Apache HTTP Server service. Verify that the change was successful by visiting http://website.example.com.
    phpstudy 1219 2024-04-02 16:21:12
  • How to enable web service in phpstudy
    How to enable web service in phpstudy
    To start a web service in PHP Study, select the web server and click the Start button. Check that the web server has started successfully and displays the welcome page or PHP information page by entering the localhost address (http://localhost or http://127.0.0.1) into the browser.
    phpstudy 803 2024-04-02 16:12:20
  • Where is the php file of phpstudy?
    Where is the php file of phpstudy?
    PHP files in phpstudy are located in the root of the project folder, usually in D:\phpStudy\WWW[project name].
    phpstudy 881 2024-04-02 16:09:12
  • How to read the database in phpstudy
    How to read the database in phpstudy
    Methods to view the database through PHPstudy include: Direct connection to MySQL Command line Use MySQL Workbench to configure the connection Select the database to view Select the database to view in the left menu through PHPMyAdmin
    phpstudy 882 2024-04-02 16:06:17
  • What should I do if phpstudy cannot be installed?
    What should I do if phpstudy cannot be installed?
    Solution for unable to install phpStudy: Check whether the system requirements are met. Disable anti-virus software. Turn off the firewall. Run the installer as administrator. Repair corrupted files: sfc /scannow. Try using an alternative installer. Contact phpStudy technical support.
    phpstudy 1541 2024-04-02 16:03:17
  • Where is the phpstudy configuration file?
    Where is the phpstudy configuration file?
    The phpStudy configuration file is located in the conf folder of the installation directory. Mainly includes web server, database, PHP and other settings. To access the configuration files, open the following files: ps.conf (main configuration file), config.ini (Web server settings), nginx.conf (Nginx settings), php.ini (PHP settings), and mysql.conf (MySQL settings) ). Modify configuration files with caution and make backup copies before editing.
    phpstudy 912 2024-04-02 16:00:19
  • How to change the phpstudy configuration file
    How to change the phpstudy configuration file
    You can modify the phpStudy configuration file through the following steps: Find the configuration file (Windows: C:\Windows\phpStudy\php\php.ini; Mac: /Applications/phpStudy/php/php.ini) Open it with a text editor and find the file you want to modify Edit the value of the setting, such as modifying the time zone: date.timezone = Asia/Shanghai Save the changes and restart the Apache service
    phpstudy 1420 2024-04-02 15:57:17
  • The phpstudy site is created successfully and what to do next
    The phpstudy site is created successfully and what to do next
    Configuration steps after creating the PHP Study site: start the web server (Apache/Nginx); configure PHP settings (version, extension); create a database (MySQL/MariaDB); configure the virtual host (domain name, document root directory); deploy the code and check the operation Condition.
    phpstudy 1543 2024-04-02 15:54:19
  • How to enter your own website with phpstudy
    How to enter your own website with phpstudy
    To access your website through PHP Study, you need to perform the following steps: Start PHP Study and start the Apache and MySQL services. Create the website root directory and copy the website files to this directory. Configure the HTTP tab of PHP Study and set the server root directory to the root directory of the website. Remove port restrictions for PHP Study. Access the website by entering its domain name or IP address into your browser.
    phpstudy 1125 2024-04-02 15:51:14

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28