Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-07-15, 09:19:38

Author Topic: problem with setcookie in php  (Read 5630 times)

0 Members and 1 Guest are viewing this topic.

Offline kloxo-fan

  • Junior Member
  • *
  • Posts: 31
  • Karma: +2/-0
    • View Profile
problem with setcookie in php
« on: 2015-06-29, 16:18:32 »
Hi, I have problem with function "setcookie".
Yesterday I did update with command "yum clean all; yum update -y; sh /script/cleanup" and I found that setcookie is not working in php on my server.
Example:
setcookie('mycookie', $value, ....);
can not create the cookie "mycookie".
My websites uses cookies so I need them.
How to fix it?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: problem with setcookie in php
« Reply #1 on: 2015-06-29, 16:30:16 »
Inform here 'sh /script/sysinfo'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline kloxo-fan

  • Junior Member
  • *
  • Posts: 31
  • Karma: +2/-0
    • View Profile
Re: problem with setcookie in php
« Reply #2 on: 2015-06-29, 19:20:33 »
A. Kloxo-MR: 7.0.0.b-2015062702
   - Web:
   - PHP: php54s-5.4.41-1.ius.el6 (cgi mode)
B. Plateform:
   - OS: CentOS release 6.6 (Final) x86_64
   - Hostname: vps.zaknigi.com
C. Services:
   1. MySQL: MariaDB-server-10.0.20-1.el6.x86_64
   2. PHP:
      - Branch: php54-cli-5.4.41-1.ius.el6.x86_64
      - Used: --Use PHP Branch--
   3. Httpd: httpd-2.2.29-2.mr.el6.x86_64
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --uninstalled--
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.7-1.mr.el6.x86_64
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          2048        490       1557          3          0        185
   -/+ buffers/cache:        304       1743
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/simfs       80G  3.4G   77G   5% /

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: problem with setcookie in php
« Reply #3 on: 2015-06-29, 19:27:47 »
Try 'sh /script/fixphp; sh /script/fixweb; sh /script/fix-chownchmod; sh /script/restart-web -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.125 seconds with 20 queries.

web stats analysis