Jump to content

Eroare la adaugarea manuala a modulelor

Recommended Posts

Buna ziua,


Am o problema atunci cand vreau sa instalez manual un modul ce se afla pe calculatorul meu.

Dupa ce dau sa instaleze fisierul .zip in care se afla modulul imi da eroarea:

"No temporary folder was configured in php.ini"


Am incercat de toate dupa ce am cautat pe google rezolvarea acestei erori dar nu am reusit nici pana acum sa-i dau de capat.

am editat si php.ini din cPanel si am adaugat directorul pe care in prealabil l-am creat in public_html/tmp dar nimic.


In acest moment cam asa arata php.ini:

; cPanel-generated php ini directives, do not edit
; Manual editing of this file may result in unexpected behavior.
; To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
; For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)

allow_url_fopen = On
allow_url_include = On
display_errors = Off
enable_dl = On
file_uploads = On
max_execution_time = 300
max_input_time = 120
max_input_vars = 1000
memory_limit = 250M
post_max_size = 128M
session.gc_maxlifetime = 1440
; session.save_path = "/var/cpanel/php/sessions/ea-php71"
upload_max_filesize = 100M
zlib.output_compression = On
upload_tmp_dir = '/home/username/public_html/tmp'
session.save_path = '/home/username/public_html/tmp'


Am inlocuit doar numele real al userului cu username.

Am schimbat si session.save_path (pentru ca si cu ala am avut probleme din cauza permisiei) pentru a nu umbla la permisiile generale si functioneaza.

Pentru upload_tmp_dir am folosit diverse versiuni ale link-ului  (ca de exemplu upload_tmp_dir = '/tmp') dar nu vrea sa functioneze.

Ma poate ajuta cineva ?

Va multumesc anticipat.



Share this post

Link to post
Share on other sites

S-ar putea sa fie probleme cu locatia de salvare a sesiunilor, de obicei cPanel o are undeva de gen /var/cpanel/php/sessions/ea-php56 (pentru PHP5.6), as zice sa o schimbi cu /tmp.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More