403Webshell
Server IP : 103.119.228.120  /  Your IP : 3.144.89.152
Web Server : Apache
System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User : nobody ( 99)
PHP Version : 5.6.40
Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime
MySQL : ON |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : ON |  Pkexec : ON
Directory :  /var/softaculous/pimcore/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /var/softaculous/pimcore/notes.txt
##### Before starting manual installation make the following changes in config/config.yaml for session handler. ####
    session:
#        handler_id: null
        gc_probability: null
		
####### Install all the bundles in manual ##########

1. PHP REQUIREMENT LINK : https://pimcore.com/docs/pimcore/current/Development_Documentation/Installation_and_Upgrade/System_Requirements.html
2. Install using composer and make zip, remove extra files eg.
	1.config/services.yaml
	2.config/local/database.yaml
	3.var/* (except 'config' folder which has 'web-to-print' folder and 'web_to_print.yaml' file)
	4.public/var
	5.Keep APP_ENV as prod in .env file in our package.
	
Check and move public/bundles from manual to our zip.
	
and keep public/.htaccess file from manual for apache environment.
https://pimcore.com/docs/pimcore/current/Development_Documentation/Installation_and_Upgrade/System_Setup_and_Hosting/Apache_Configuration.html

3. Follow installation steps mentioned in the link below, use the skeleton package to install via composer:
composer create-project pimcore/skeleton my-project
https://pimcore.com/docs/platform/Pimcore/Getting_Started/Installation/Webserver_Installation

4. Use utf8mb4_general_ci collate for database while manual installation otherwise command throws error.

5. Check "pimcore/pimcore" version in composer.json of "pimcore/skeleton" and download that version of "pimcore/pimcore" and check "lib/too/requirements.php"  if requirements verfication code is changed in "checkMysql" function then change requirements code accordingly.

6. Don't remove double quotes from "[[softdbpass]]" it throws error when contain "[" and "]".

7. Remove "DEFINER=`root`@`localhost`" From sql file.

8. Remove COLLATE=utf8mb4_0900_ai_ci From sql file if we have installed manually on Mysql 8. Because it gives error on installing with MariaDB. Besides this script itself doesn't use any collation and hence it takes server's default collation.
https://github.com/pimcore/pimcore/blob/34d4734eafbb18bf91320452ecd7846c29c37c0f/bundles/InstallBundle/Resources/install.sql#L45

9. We have added redirection rule from public/.htaccess to our .htaccess to resolve image url issue. update when there is change.

# ASSETS: check if request method is GET (because of WebDAV) and if the requested file (asset) exists on the filesystem, if both match, deliver the asset directly
RewriteCond %{REQUEST_METHOD} ^(GET|HEAD)
RewriteCond [[softpath]]/public/var/assets%{REQUEST_URI} -f
RewriteRule ^(.*)$ /var/assets%{REQUEST_URI} [PT,L]

# Thumbnails
RewriteCond %{REQUEST_URI} .*/(image|video)-thumb__[\d]+__.*
RewriteCond [[softpath]]/public/var/tmp/thumbnails%{REQUEST_URI} -f
RewriteRule ^(.*)$ /var/tmp/thumbnails%{REQUEST_URI} [PT,L]

# static pages
RewriteCond %{REQUEST_METHOD} ^(GET|HEAD)
RewriteCond %{QUERY_STRING}   !(pimcore_editmode=true|pimcore_preview|pimcore_version)
RewriteCond [[softpath]]/public/var/tmp/pages%{REQUEST_URI}.html -f
RewriteRule ^(.*)$ /var/tmp/pages%{REQUEST_URI}.html [PT,L]

10. works only on apache as we have added apache code in public/.htaccess

11. We have disabled the script on ampps because we configure the .htaccess which has RewriteCond rules which is not compatible with ampps.

12. Take sql dump after cli install is complete(On 'Pimcore was successfully installed). as dumping sql on login page, adds some extra inserts in sql in `translations_admin` table.

13. Since 11.3.0 version, to download the package using composer the script requires "amqp" extension to fetch some dependency which is installed on cpanel. Check in next version if it is still required to download the package, download the package on cpanel and install it manually on any server.

Youez - 2016 - github.com/yon3zu
LinuXploit