大约有 46,000 项符合查询结果(耗时:0.0434秒) [XML]
nginx showing blank PHP pages
I have setup an nginx server with php5-fpm. When I try to load the site I get a blank page with no errors. Html pages are served fine but not php. I tried turning on display_errors in php.ini but no luck. php5-fpm.log is not producing any errors and neither is nginx.
...
How do I make a redirect in PHP?
Is it possible to redirect a user to a different page through the use of PHP?
30 Answers
...
PHP YAML Parsers [closed]
Does anyone know of a good YAML Parser for PHP? If so, what are the pros and cons of this library?
8 Answers
...
Preferred method to store PHP arrays (json_encode vs serialize)
...pp but the vast majority of the time I will be using the array directly in PHP.
20 Answers
...
Run PHP Task Asynchronously
I work on a somewhat large web application, and the backend is mostly in PHP. There are several places in the code where I need to complete some task, but I don't want to make the user wait for the result. For example, when creating a new account, I need to send them a welcome email. But when they h...
How do you set up use HttpOnly cookies in PHP
How can I set the cookies in my PHP apps as HttpOnly cookies ?
10 Answers
10
...
Where is PHP.ini in Mac OS X Lion? Thought it was in /usr/local/php5/lib
I wanted to run some PHP right on my Mac, uncommented httpd.conf, activated web sharing, installed MySQL etc.
I can't seem to find my PHP files, most importantly, PHP.ini.
...
“date(): It is not safe to rely on the system's timezone settings…”
I got this error when I requested to update the PHP version from 5.2.17 to PHP 5.3.21 on the server.
24 Answers
...
Using crontab to execute script every minute and another every 24 hours [closed]
I need a crontab syntax which should execute a specific PHP script /var/www/html/a.php every minute. The execution on every minute must start at 00:00. The other task which must execute a script at 00:00 /var/www/html/reset.php (once every 24 hours).
...
Disabling Strict Standards in PHP 5.4
I'm currently running a site on php 5.4, prior to this I was running my site on 5.3.8. Unfortunately, php 5.4 combines E_ALL and E_STRICT , which means that my previous setting for error_reporting does not work now. My previous value was E_ALL & ~E_NOTICE & ~E_STRICT Should I just ena...