PHP code not working on a certain server
I have the following code in my application and it is not working on a certain VPS server and I have no idea why.
Server: Linux - PHP Version 5.3.16
The above code works fine on all other servers I tested but not on this one. No error, no output. What could be the reason? What should I check in phpinfo() or php.ini? Something to do with glob()?
Thanks for any ideas.
Given what you have here, if you have no output than you successfully iterated the ../projects directory with the glob and returned matching subdirectories. The only time you'll have output is on an error.
If there's more to it than this, than I'd suggest checking the HTML output to see if its a white page, or if it has PHP embedded within it. If it has PHP embedded, you simply don't have the server set up to process PHP code.
|All times are GMT +1. The time now is 06:52 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.