Archive for the 'PHP' Category

PHP performance checking (for example: because of Dreamhost CPU usage warning)

Thursday, January 26th, 2006

If you want to optimize your PHP script or find out what part of your PHP script causes problems (for example consumes too much CPU time on Dreamhost) - below you can find solution how to do it - how to check - chow long selected parts of your PHP script work.
For our convenience we […]

Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration

Sunday, October 9th, 2005

What to do if you’ve got this:
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration
Warning: fopen(http://somelocation.com/somefile.xml) [function.fopen]: failed to open stream: no suitable wrapper could be found in /home/someuser/somephpfile.php on line [someline :-)]
???
It happens if - for security reasons fopen is restricted to open remote files. If it is on a hosting server […]