OVH Community, your new community space.

PHP problem


dadus33
25-11-2014, 19:46
Thanks! Problem solved! I only had to install ionCube...

LawsHosting
25-11-2014, 19:02
What happens if you add
ini_set('display_startup_errors',1);
ini_set('display_errors',1);
error_reporting(-1);
at the top? Any errors?

dadus33
25-11-2014, 18:48
Hello!
I just installed php on my server but for some reason I only get blank white pages when I try to load a php file in browser. I even tried to load a php page with the default content:


PHP Test


Hello World

'; ?>


I get the same thing on all php pages. I tried to enable error reporting in php.ini but I still get nothing but a blank white page. Here is the error.log from appache:
[Tue Nov 25 17:50:13 2014] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Tue Nov 25 17:52:00 2014] [error] [client 79.113.25.147] File does not exist: /var/www/var
[Tue Nov 25 17:52:00 2014] [error] [client 79.113.25.147] File does not exist: /var/www/favicon.ico
[Tue Nov 25 17:52:00 2014] [error] [client 79.113.25.147] File does not exist: /var/www/favicon.ico
[Tue Nov 25 17:55:41 2014] [error] [client 79.113.25.147] File does not exist: /var/www/install/\\".., referer: http://mywebsite.net/install/install.php
[Tue Nov 25 17:55:41 2014] [error] [client 79.113.25.147] File does not exist: /var/www/install/\\"logo.png\\", referer: http://mywebsite.net/install/install.php
[Tue Nov 25 17:55:41 2014] [error] [client 79.113.25.147] File does not exist: /var/www/install/\\".., referer: http://mywebsite.net/install/install.php
[Tue Nov 25 18:04:57 2014] [notice] caught SIGTERM, shutting down
[Tue Nov 25 18:05:01 2014] [notice] Apache/2.2.22 (Debian) configured -- resuming normal operations
[Tue Nov 25 18:05:03 2014] [notice] caught SIGTERM, shutting down
[Tue Nov 25 18:05:04 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.35-0+deb7u2 configured -- resuming normal operations
[Tue Nov 25 18:05:05 2014] [notice] Graceful restart requested, doing restart
[Tue Nov 25 18:05:05 2014] [error] (9)Bad file descriptor: apr_socket_accept: (client socket)
[Tue Nov 25 18:05:05 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.35-0+deb7u2 configured -- resuming normal operations
[Tue Nov 25 18:05:17 2014] [notice] caught SIGTERM, shutting down
[Tue Nov 25 18:05:18 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.35-0+deb7u2 configured -- resuming normal operations
[Tue Nov 25 18:18:37 2014] [notice] caught SIGTERM, shutting down
[Tue Nov 25 18:18:38 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.35-0+deb7u2 configured -- resuming normal operations
[Tue Nov 25 18:30:05 2014] [notice] caught SIGTERM, shutting down
[Tue Nov 25 18:30:06 2014] [notice] Apache/2.2.22 (Debian) PHP/5.4.35-0+deb7u2 configured -- resuming normal operations
It looks like Apache keeps crashing? Sorry if I'm not right, I'm new to this, but I really need some help!