Mailinglist Archive: opensuse (3138 mails)
| < Previous | Next > |
Dead php under Apache - how to debug what is happening ?
- From: "Robert Rozman" <rozman@xxxxxxxxxxxxx>
- Date: Sat, 25 Dec 2004 14:43:08 +0100
- Message-id: <012b01c4ea87$b3848eb0$6500a8c0@Lapitopi>
Hi,
I have plain suse 9.2 installation with Apache2 and php. I've changed
document root to /var/www/html and php scripts don't result in any output
(blank page returned, no trace in apache logs ...). I can run those scripts
sucessfuly from commandline (php script.php).
I've tried phpinfo and there is one glitch (Server Root still points to
/srv/www). Don't know it this is the main reason, but anyway - how can I
tell to apache2handler to go into another root ?
Also I'd kindly ask how can I get more info and in what logs to trace such
problems with running php scripts ?
Thanks in advance,
regards,
Robert.
-------excerpt from phpinfo - section apache2handler:
Apache Version Apache/2.0.50 (Linux/SUSE)
Apache API Version 20020903
Server Administrator [no address given]
Hostname:Port voip.etrust:0
User/Group asterisk(5060)/1002
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 15
Virtual Server No
Server Root /srv/www
Loaded Modules core prefork http_core mod_so mod_access mod_actions
mod_alias mod_auth mod_auth_dbm mod_autoindex mod_cgi mod_dir mod_env
mod_expires mod_include mod_log_config mod_mime mod_negotiation mod_setenvif
mod_ssl mod_suexec mod_userdir sapi_apache2
I have plain suse 9.2 installation with Apache2 and php. I've changed
document root to /var/www/html and php scripts don't result in any output
(blank page returned, no trace in apache logs ...). I can run those scripts
sucessfuly from commandline (php script.php).
I've tried phpinfo and there is one glitch (Server Root still points to
/srv/www). Don't know it this is the main reason, but anyway - how can I
tell to apache2handler to go into another root ?
Also I'd kindly ask how can I get more info and in what logs to trace such
problems with running php scripts ?
Thanks in advance,
regards,
Robert.
-------excerpt from phpinfo - section apache2handler:
Apache Version Apache/2.0.50 (Linux/SUSE)
Apache API Version 20020903
Server Administrator [no address given]
Hostname:Port voip.etrust:0
User/Group asterisk(5060)/1002
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 15
Virtual Server No
Server Root /srv/www
Loaded Modules core prefork http_core mod_so mod_access mod_actions
mod_alias mod_auth mod_auth_dbm mod_autoindex mod_cgi mod_dir mod_env
mod_expires mod_include mod_log_config mod_mime mod_negotiation mod_setenvif
mod_ssl mod_suexec mod_userdir sapi_apache2
| < Previous | Next > |