Installation environment background: Win7 x64 bit system, build PHP+MySQL+Apache environment, to achieve ECSHOP project development.
>
>
>
>
>
>
>
> Tip: The VC ++14 runtime is required to run php.exe
2. Download and install MySQL with user name ‘root’; The root password. I won’t go into too much here;
3, Download apache_http_server_2.4.12_jisuxia, unzip it, run httpd.exe will report an error; Change the conf/httpd.conf file;
Note the following points (do not carry Spaces in the middle of the installation file directory) :
${SRVROOT} ${SRVROOT} ${SRVROOT} ${SRVROOT} ${SRVROOT} ${SRVROOT} ${SRVROOT “D: /…”
3.2 Set the path (absolute path), such as LoadModule actions_module D:/ HTTPD /modules/mod_actions.so
${SRVROOT} ${SRVROOT} ${SRVROOT} ${SRVROOT}
4. The above steps have prepared the environment for compiling PHP files, but Apache and PHP have not been fully configured correctly. Next, we need to configure the configuration files on both sides.
PHPIniDir = PHPIniDir; PHPIniDir = PHPIniDir; PHPIniDir = PHPIniDir; PHPIniDir = PHPIniDir; PHPIniDir = PHPIniDir; PHPIniDir = PHPIniDir; PHPIniDir = PHPIniDir; #BEGIN PHP INSTALLER edits-remove ONLY ON UNINSTALL #php_flag display_errors ON #php_value error_reporting 2039 #END PHP INSTALLER EDITS – REMOVE ONLY ON UNINSTALL
4.2 Copy the php.ini-development file in the PHP installation directory and rename it to php.ini and edit and set it
extension_dir < Absolute path>; = “D:/php7/ext” and date.timezone = PRC; Just remove the comments in the following figure; php_mysql.dll
5, OK, the above PHP + MySQL + Apache environment has been set up. Next download the ecshop source package; Unzip only the Upload section;
The HTTPD startup service will open the project file htdocs by default. Place the uncompressed upload into the htdocs directory and change its name to ecshop.
6, CMD command window to add HTTPD. Exe services to the services list, CD to the apache/bin directory: first HTTPD. Exe -k install
7, http://localhost:80/ecshop/index.php to install deployment ecshop projects; Sc delete service name < Delete services>;
Return cls_image::gd_version(); return cls_image::gd_version(); return cls_image::gd_version(); Non-static gd_version(), in which the :: operation requires a static method; Find a solution online: Replace this piece of content; I didn’t succeed! Declare a static method with gd_version() in the cls_image file; Lib_installer $jpeg_enabled = ($gd_info[‘JPG Support’]) $jpeg_enabled = ($gd_info[‘JPEG Support’];
9, the above questions, on the Internet to find answers are not successful!
Strict Standards: Non-static method cls_image::gd_version() should not be called statically in E:\web\shopex\includes\lib_base.php on line 346
This error occurs with PHP versions above 5.3.
On line 346, we find that the gd_version() method does not declare static static, so it fails:
return cls_image::gd_version();
To:
$p = new cls_image();
return $p-> gd_version();
Directory permissions to detect a red can not be written ECSHOP project directory permissions are not enough CHMOD-R 777 ECSHOP
10. Download XAMPP software and integrate PHP + Tomcat + Apache + MySQL; One key installation, ECSHOP no error!
http://localhost:80/ecshop/index.php installation is complete! Database MySQL + administrator XUP2012 + commodity category + close message verification code;
http://localhost/ecshop/admin login background management
11, Integrated MySQL + Tomcat, want to copy all the original installed software to the corresponding MySQL + Tomcat directory of XAMPP;
Note Tomcat’s environment variables and change the path; C: ProgramData\MySQL\MySQL Server 5.5\ Data C: ProgramData\MySQL\ Server 5.5\ Data
C: ProgramData\MySQL\MySQL Server 5.5\ Data = C: ProgramData\MySQL\MySQL Server 5.5\ Data = C: ProgramData\MySQL\ Server 5.5\ Data
CLS_TEMPLAR.php (CLS_TEMPLAR.php) : error caused by CLS_TEMPLAR.php (CLS_TEMPLAR.php) : error caused by CLS_TEMPLAR.php
Deprecated: preg_replace(): The /e modifier is Deprecated, use preg_replace_callback instead…. Return preg_replace_callback(“/{([^\}\{\n]*)}/”, function($r) {return $this->; select($r[1]); }, $surce Strict Standards: Only variables should be passed by reference in D:\ XAMPP… 7C0D8828A2FA23C669A5614F73F3AE8A
>
>
>
>
>
>
>
> Tip: The VC ++14 runtime is required to run php.exe
2. Download and install MySQL with user name ‘root’; The root password. I won’t go into too much here;
3, Download apache_http_server_2.4.12_jisuxia, unzip it, run httpd.exe will report an error; Change the conf/httpd.conf file;
Note the following points (do not carry Spaces in the middle of the installation file directory) :
${SRVROOT} ${SRVROOT} ${SRVROOT} ${SRVROOT} ${SRVROOT} ${SRVROOT} ${SRVROOT “D: /…”
3.2 Set the path (absolute path), such as LoadModule actions_module D:/ HTTPD /modules/mod_actions.so
${SRVROOT} ${SRVROOT} ${SRVROOT} ${SRVROOT}
4. The above steps have prepared the environment for compiling PHP files, but Apache and PHP have not been fully configured correctly. Next, we need to configure the configuration files on both sides.
PHPIniDir = PHPIniDir; PHPIniDir = PHPIniDir; PHPIniDir = PHPIniDir; PHPIniDir = PHPIniDir; PHPIniDir = PHPIniDir; PHPIniDir = PHPIniDir; PHPIniDir = PHPIniDir; #BEGIN PHP INSTALLER edits-remove ONLY ON UNINSTALL #php_flag display_errors ON #php_value error_reporting 2039 #END PHP INSTALLER EDITS – REMOVE ONLY ON UNINSTALL
4.2 Copy the php.ini-development file in the PHP installation directory and rename it to php.ini and edit and set it
extension_dir < Absolute path>; = “D:/php7/ext” and date.timezone = PRC; Just remove the comments in the following figure; php_mysql.dll
5, OK, the above PHP + MySQL + Apache environment has been set up. Next download the ecshop source package; Unzip only the Upload section;
The HTTPD startup service will open the project file htdocs by default. Place the uncompressed upload into the htdocs directory and change its name to ecshop.
6, CMD command window to add HTTPD. Exe services to the services list, CD to the apache/bin directory: first HTTPD. Exe -k install
7, http://localhost:80/ecshop/index.php to install deployment ecshop projects; Sc delete service name < Delete services>;
Return cls_image::gd_version(); return cls_image::gd_version(); return cls_image::gd_version(); Non-static gd_version(), in which the :: operation requires a static method; Find a solution online: Replace this piece of content; I didn’t succeed! Declare a static method with gd_version() in the cls_image file; Lib_installer $jpeg_enabled = ($gd_info[‘JPG Support’]) $jpeg_enabled = ($gd_info[‘JPEG Support’];
9, the above questions, on the Internet to find answers are not successful!
Strict Standards: Non-static method cls_image::gd_version() should not be called statically in E:\web\shopex\includes\lib_base.php on line 346
This error occurs with PHP versions above 5.3.
On line 346, we find that the gd_version() method does not declare static static, so it fails:
return cls_image::gd_version();
To:
$p = new cls_image();
return $p-> gd_version();
Directory permissions to detect a red can not be written ECSHOP project directory permissions are not enough CHMOD-R 777 ECSHOP
10. Download XAMPP software and integrate PHP + Tomcat + Apache + MySQL; One key installation, ECSHOP no error!
http://localhost:80/ecshop/index.php installation is complete! Database MySQL + administrator XUP2012 + commodity category + close message verification code;
http://localhost/ecshop/admin login background management
11, Integrated MySQL + Tomcat, want to copy all the original installed software to the corresponding MySQL + Tomcat directory of XAMPP;
Note Tomcat’s environment variables and change the path; C: ProgramData\MySQL\MySQL Server 5.5\ Data C: ProgramData\MySQL\ Server 5.5\ Data
C: ProgramData\MySQL\MySQL Server 5.5\ Data = C: ProgramData\MySQL\MySQL Server 5.5\ Data = C: ProgramData\MySQL\ Server 5.5\ Data
CLS_TEMPLAR.php (CLS_TEMPLAR.php) : error caused by CLS_TEMPLAR.php (CLS_TEMPLAR.php) : error caused by CLS_TEMPLAR.php
Deprecated: preg_replace(): The /e modifier is Deprecated, use preg_replace_callback instead…. Return preg_replace_callback(“/{([^\}\{\n]*)}/”, function($r) {return $this->; select($r[1]); }, $surce Strict Standards: Only variables should be passed by reference in D:\ XAMPP… 7C0D8828A2FA23C669A5614F73F3AE8A
Read More:
- Failed to enable APR appears when the cmder of ubutun system in win subsystem installs Apache_ TCP_ DEFER_ ACCEPT
- Configuration of OpenGL development environment under Windows environment, win10 + vs2019 + glfw + glad
- Solution to prompt “system group policy forbids installation of this device” in win10 system
- net start mysql System error 2 has occurred. The system cannot find the file specified.
- Error report and solution of PHP module introduced by Apache
- Win10 system virtual machine installation of Ubuntu system failed, prompt: UBI language failed with exit code 1
- PHP connection to MySQL database error: call to undefined function MySQL_ connect()
- OpenGL class library and environment configuration under win10 and vs2015
- failed to find Build Tools revision 23.0.2 Install Build Tools 23.0.2 and sync project
- Vs2015 + PCL. 1.8.1 (win10) environment configuration
- Deploy mongodb fragment combined with replica set to realize distributed storage of MySQL database files (step 10)
- Installation and problems of texlive2017 in win10 system
- Connection between PHP 7.4 and MySQL (MariaDB) under Ubuntu (kali Linux)
- Win 10 System Restore Fail 0x80070091
- Build LNMPR Error — php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
- Configuring OpenGL development environment in win10 + vs2015 (including the method of installing 32-bit and 64 bit libraries)
- Failed to execute goal in Maven build org.apache.tomcat .maven:
- The experience of installing OpenGL in vs2017 under win7 system
- Win32ctypes. Pywin32. Pywintypes. Error: (2 ‘loadlibraryex’,’the system can’t find the specified file. ‘)
- Apache service can’t be started under xampp, reporting port occupancy class error [error] Apache will not start without the configured ports free!