php
php shell_exec takes longer than cli execution?
I have a php script that executes casperjs on my Centos6 as following: set_time_limit(0); echo shell_exec("casperjs /home/senrioro/senioro.js --url='".$_GET['url']."'"); When the script gets running from cli using php myfile.php command, It takes less than 3 sec but when i open that file using my browser it takes more than 30 sec and sometimes browser shows me a 504 error . My Question is , is there any configuration that i need to do to make my browser php execution closer to cli ? any help would be appreciate.
Related Links
passing the variable
Remove Image background with php and save transparent png
Passing array variable from one page to another in php and joomla
How to handle current language? Always in URL, or session?
About Limiting Rss Feed
if query does not exist, redirect to another page
How to change the password input from letters to **** [closed]
How to capture full HTTP request data (headers and body) with PHP?
how to disable chrome cache when use chunked response
add two time values and comparing with other time
Codeigniter - No result after sending jQuery post data
Compare the size of dynamic output of a function to a destination file, and do a rewrite
displaying mysql data in marquee
How to solve “redirect loop” in Chrome?
Custom function with Ajax not working as expected
Upload image - refresh - uploaded again, damn