LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 08-15-2005, 12:19 AM   #1
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Rep: Reputation: 31
configuring php in Slackware 10.1


can some one guide me how to configure php in Slackware 10.1

i have added the following lines to my httpd.conf
///////////////////////////////////////////////////////////////
Include /etc/apache/mod_php.conf
AddType application/x-httpd-php .php .phtml

<IfModule mod_dir.c>
DirectoryIndex index.php default.php index.html index.htm
</IfModule>
/////////////////////////////////////////////////////////////////
/etc/apache/httpd.conf

i restarted apachectl

i tried to run the foll script

<?php
phpinfo();
?>

o/p was a blank page

however the foll script gave me the desired o/p
<?php
echo "hello";
?>

why is my phpinfo() not being parsed
 
Old 08-15-2005, 04:45 AM   #2
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
Could you post the output with :
Code:
tail /var/log/apache/error_log
Just after you browse to your phpinfo page ?

Also don't add :
AddType application/x-httpd-php .php .phtml

in httpd.conf as it is enabled in the included file mod_php.conf

Last edited by keefaz; 08-15-2005 at 04:47 AM.
 
Old 08-15-2005, 05:40 AM   #3
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Original Poster
Rep: Reputation: 31
thanx ..........

the error logs are over here

Wed Aug 10 18:55:42 2005] [notice] Apache/1.3.33 (Unix) configured -- resuming normal operations
[Wed Aug 10 18:55:42 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Wed Aug 10 18:56:06 2005] [error] [client 127.0.0.1] File does not exist: /var/www/htdocs/favicon.ico
[Wed Aug 10 20:06:42 2005] [notice] caught SIGTERM, shutting down
[Thu Aug 11 14:31:33 2005] [notice] Apache/1.3.33 (Unix) configured -- resuming normal operations
[Thu Aug 11 14:31:33 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Thu Aug 11 22:22:55 2005] [notice] caught SIGTERM, shutting down
[Fri Aug 12 06:14:44 2005] [notice] Apache/1.3.33 (Unix) configured -- resuming normal operations
[Fri Aug 12 06:14:44 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Fri Aug 12 07:08:54 2005] [notice] caught SIGTERM, shutting down
[Fri Aug 12 07:10:16 2005] [notice] Apache/1.3.33 (Unix) configured -- resuming normal operations
[Fri Aug 12 07:10:16 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Fri Aug 12 07:17:56 2005] [notice] caught SIGTERM, shutting down
[Fri Aug 12 23:56:12 2005] [notice] Apache/1.3.33 (Unix) configured -- resuming normal operations
[Fri Aug 12 23:56:12 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sat Aug 13 01:34:07 2005] [notice] caught SIGTERM, shutting down
[Sat Aug 13 09:05:44 2005] [notice] Apache/1.3.33 (Unix) configured -- resuming normal operations
[Sat Aug 13 09:05:44 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sat Aug 13 13:44:56 2005] [notice] caught SIGTERM, shutting down
[Sat Aug 13 18:37:38 2005] [notice] Apache/1.3.33 (Unix) configured -- resuming normal operations
[Sat Aug 13 18:37:38 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sat Aug 13 18:40:01 2005] [error] [client 127.0.0.1] File does not exist: /var/www/htdocs/favicon.ico
[Sat Aug 13 21:08:48 2005] [notice] caught SIGTERM, shutting down
[Sun Aug 14 19:30:10 2005] [notice] Apache/1.3.33 (Unix) configured -- resuming normal operations
[Sun Aug 14 19:30:10 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 07:38:20 2005] [error] [client 127.0.0.1] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 07:38:28 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 07:38:31 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 07:43:54 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 07:43:57 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 07:44:00 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 07:44:04 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 07:44:16 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 07:44:21 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 07:44:25 2005] [error] [client 127.0.0.1] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:14:10 2005] [notice] caught SIGTERM, shutting down
[Mon Aug 15 08:14:18 2005] [notice] Apache/1.3.33 (Unix) configured -- resuming normal operations
[Mon Aug 15 08:14:18 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 08:16:37 2005] [error] [client 127.0.0.1] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:18:12 2005] [notice] SIGHUP received. Attempting to restart
[Mon Aug 15 08:18:13 2005] [notice] Apache/1.3.33 (Unix) configured -- resuming normal operations
[Mon Aug 15 08:18:13 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 08:20:49 2005] [notice] SIGHUP received. Attempting to restart
[Mon Aug 15 08:20:50 2005] [notice] Apache/1.3.33 (Unix) configured -- resuming normal operations
[Mon Aug 15 08:20:50 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 08:23:18 2005] [notice] SIGHUP received. Attempting to restart
[Mon Aug 15 08:23:19 2005] [notice] Apache/1.3.33 (Unix) configured -- resuming normal operations
[Mon Aug 15 08:23:19 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 08:24:54 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:24:57 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:24:59 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:25:01 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:25:02 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:25:48 2005] [notice] caught SIGTERM, shutting down
[Mon Aug 15 08:25:55 2005] [notice] Apache/1.3.33 (Unix) configured -- resuming normal operations
[Mon Aug 15 08:25:55 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 08:25:58 2005] [notice] SIGHUP received. Attempting to restart
[Mon Aug 15 08:25:59 2005] [notice] Apache/1.3.33 (Unix) configured -- resuming normal operations
[Mon Aug 15 08:25:59 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 08:26:04 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:26:05 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:26:07 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:26:08 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:26:09 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:26:11 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:26:33 2005] [notice] SIGHUP received. Attempting to restart
[Mon Aug 15 08:26:34 2005] [notice] Apache/1.3.33 (Unix) configured -- resuming normal operations
[Mon Aug 15 08:26:34 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 08:33:18 2005] [notice] SIGHUP received. Attempting to restart
[Mon Aug 15 08:33:19 2005] [notice] Apache/1.3.33 (Unix) configured -- resuming normal operations
[Mon Aug 15 08:33:19 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 08:34:00 2005] [error] [client 127.0.0.1] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:35:33 2005] [notice] SIGHUP received. Attempting to restart
[Mon Aug 15 08:35:34 2005] [notice] Apache/1.3.33 (Unix) configured -- resuming normal operations
[Mon Aug 15 08:35:34 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 08:36:23 2005] [error] [client 127.0.0.1] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:43:16 2005] [notice] caught SIGTERM, shutting down
[Mon Aug 15 08:43:22 2005] [notice] Apache/1.3.33 (Unix) configured -- resuming normal operations
[Mon Aug 15 08:43:22 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 08:53:18 2005] [error] [client 127.0.0.1] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:53:23 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:53:25 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:53:26 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:56:01 2005] [notice] SIGHUP received. Attempting to restart
[Mon Aug 15 08:56:02 2005] [notice] Apache/1.3.33 (Unix) configured -- resuming normal operations
[Mon Aug 15 08:56:02 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 08:56:25 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:56:26 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:56:29 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 08:57:26 2005] [notice] caught SIGTERM, shutting down
[Mon Aug 15 08:58:49 2005] [notice] Apache/1.3.33 (Unix) configured -- resuming normal operations
[Mon Aug 15 08:58:49 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 09:02:55 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:02:57 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:05:35 2005] [notice] caught SIGTERM, shutting down
[Mon Aug 15 09:05:41 2005] [notice] Apache/1.3.33 (Unix) PHP/4.3.10 configured -- resuming normal operations
[Mon Aug 15 09:05:41 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 09:05:43 2005] [notice] SIGHUP received. Attempting to restart
[Mon Aug 15 09:05:49 2005] [notice] Apache/1.3.33 (Unix) PHP/4.3.10 configured -- resuming normal operations
[Mon Aug 15 09:05:49 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 09:06:06 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:06:07 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:06:09 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:06:11 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:06:13 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:06:14 2005] [error] PHP Notice: Undefined index: username in /var/www/htdocs/teleDir/signup.php on line 9
[Mon Aug 15 09:06:14 2005] [error] PHP Notice: Undefined index: password in /var/www/htdocs/teleDir/signup.php on line 10
[Mon Aug 15 09:06:14 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:06:17 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:06:19 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:06:27 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:07:05 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:07:07 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:08:15 2005] [error] [client 127.0.0.1] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:08:21 2005] [error] PHP Parse error: parse error, unexpected T_STRING in /var/www/htdocs/teleDir/phpinfo.php on line 2
[Mon Aug 15 09:08:27 2005] [error] PHP Notice: Undefined index: username in /var/www/htdocs/teleDir/signup.php on line 9
[Mon Aug 15 09:08:27 2005] [error] PHP Notice: Undefined index: password in /var/www/htdocs/teleDir/signup.php on line 10
[Mon Aug 15 09:08:30 2005] [error] PHP Parse error: parse error, unexpected T_STRING in /var/www/htdocs/teleDir/phpinfo.php on line 2
[Mon Aug 15 09:14:23 2005] [notice] SIGHUP received. Attempting to restart
[Mon Aug 15 09:14:29 2005] [notice] Apache/1.3.33 (Unix) PHP/4.3.10 configured -- resuming normal operations
[Mon Aug 15 09:14:29 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 09:14:46 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:14:48 2005] [error] PHP Parse error: parse error, unexpected T_STRING in /var/www/htdocs/teleDir/phpinfo.php on line 2
[Mon Aug 15 09:14:48 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:14:50 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:14:52 2005] [error] PHP Notice: Undefined index: username in /var/www/htdocs/teleDir/signup.php on line 9
[Mon Aug 15 09:14:52 2005] [error] PHP Notice: Undefined index: password in /var/www/htdocs/teleDir/signup.php on line 10
[Mon Aug 15 09:14:52 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:14:55 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:14:58 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:15:01 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:15:02 2005] [error] PHP Parse error: parse error, unexpected T_STRING in /var/www/htdocs/teleDir/phpinfo.php on line 2
[Mon Aug 15 09:15:02 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:15:04 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:18:52 2005] [error] PHP Notice: Undefined index: username in /var/www/htdocs/teleDir/signup.php on line 9
[Mon Aug 15 09:18:52 2005] [error] PHP Notice: Undefined index: password in /var/www/htdocs/teleDir/signup.php on line 10
[Mon Aug 15 09:18:55 2005] [error] PHP Parse error: parse error, unexpected T_STRING in /var/www/htdocs/teleDir/phpinfo.php on line 3
[Mon Aug 15 09:22:58 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:22:59 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:23:14 2005] [error] PHP Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2) in /var/www/htdocs/teleDir/signup.php on line 45
[Mon Aug 15 09:23:14 2005] [error] PHP Warning: mysql_select_db(): Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2) in /var/www/htdocs/teleDir/signup.php on line 48
[Mon Aug 15 09:23:14 2005] [error] PHP Warning: mysql_select_db(): A link to the server could not be established in /var/www/htdocs/teleDir/signup.php on line 48
[Mon Aug 15 09:23:14 2005] [error] PHP Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /var/www/htdocs/teleDir/signup.php on line 62
[Mon Aug 15 09:23:14 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:34:12 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:34:14 2005] [error] PHP Parse error: parse error, unexpected T_STRING in /var/www/htdocs/teleDir/phpinfo.php on line 2
[Mon Aug 15 09:34:14 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:34:19 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:34:20 2005] [error] PHP Notice: Undefined index: username in /var/www/htdocs/teleDir/signup.php on line 9
[Mon Aug 15 09:34:20 2005] [error] PHP Notice: Undefined index: password in /var/www/htdocs/teleDir/signup.php on line 10
[Mon Aug 15 09:34:21 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:34:23 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 09:34:25 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 11:28:34 2005] [warn] child process 6932 still did not exit, sending a SIGTERM
[Mon Aug 15 11:28:34 2005] [warn] child process 6933 still did not exit, sending a SIGTERM
[Mon Aug 15 11:28:34 2005] [warn] child process 6934 still did not exit, sending a SIGTERM
[Mon Aug 15 11:28:34 2005] [warn] child process 6935 still did not exit, sending a SIGTERM
[Mon Aug 15 11:28:34 2005] [warn] child process 6936 still did not exit, sending a SIGTERM
[Mon Aug 15 11:28:34 2005] [warn] child process 7017 still did not exit, sending a SIGTERM
[Mon Aug 15 11:28:34 2005] [warn] child process 7813 still did not exit, sending a SIGTERM
[Mon Aug 15 11:28:34 2005] [warn] child process 7820 still did not exit, sending a SIGTERM
[Mon Aug 15 11:28:38 2005] [notice] caught SIGTERM, shutting down
[Mon Aug 15 11:29:11 2005] [notice] Apache/1.3.33 (Unix) PHP/4.3.10 configured -- resuming normal operations
[Mon Aug 15 11:29:11 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 11:29:15 2005] [notice] caught SIGTERM, shutting down
[Mon Aug 15 11:29:20 2005] [notice] Apache/1.3.33 (Unix) PHP/4.3.10 configured -- resuming normal operations
[Mon Aug 15 11:29:20 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 11:29:23 2005] [notice] SIGHUP received. Attempting to restart
[Mon Aug 15 11:29:24 2005] [notice] Apache/1.3.33 (Unix) PHP/4.3.10 configured -- resuming normal operations
[Mon Aug 15 11:29:24 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 11:31:08 2005] [notice] SIGHUP received. Attempting to restart
[Mon Aug 15 11:31:12 2005] [notice] Apache/1.3.33 (Unix) PHP/4.3.10 configured -- resuming normal operations
[Mon Aug 15 11:31:12 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 11:32:26 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 11:33:49 2005] [notice] SIGHUP received. Attempting to restart
[Mon Aug 15 11:33:53 2005] [notice] Apache/1.3.33 (Unix) PHP/4.3.10 configured -- resuming normal operations
[Mon Aug 15 11:33:53 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 11:34:12 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 11:39:20 2005] [notice] caught SIGTERM, shutting down
[Mon Aug 15 11:40:10 2005] [error] Cannot remove module mod_php4.c: not found in module list
[Mon Aug 15 11:40:10 2005] [warn] module php4_module is already loaded, skipping
[Mon Aug 15 11:40:11 2005] [notice] Apache/1.3.33 (Unix) configured -- resuming normal operations
[Mon Aug 15 11:40:11 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 11:40:40 2005] [notice] caught SIGTERM, shutting down
[Mon Aug 15 11:40:40 2005] [error] Cannot remove module mod_php4.c: not found in module list
[Mon Aug 15 11:40:47 2005] [notice] Apache/1.3.33 (Unix) PHP/4.3.10 configured -- resuming normal operations
[Mon Aug 15 11:40:47 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 11:41:20 2005] [error] [client 127.0.0.1] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 11:41:26 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 11:41:38 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 11:46:34 2005] [notice] SIGHUP received. Attempting to restart
[Mon Aug 15 11:46:39 2005] [notice] Apache/1.3.33 (Unix) PHP/4.3.10 configured -- resuming normal operations
[Mon Aug 15 11:46:39 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 11:52:00 2005] [notice] caught SIGTERM, shutting down
[Mon Aug 15 11:52:08 2005] [notice] Apache/1.3.33 (Unix) PHP/4.3.10 configured -- resuming normal operations
[Mon Aug 15 11:52:08 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 11:52:30 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 11:52:43 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 11:52:46 2005] [error] PHP Parse error: parse error, unexpected T_STRING in /var/www/htdocs/teleDir/phpinfo.php on line 2
[Mon Aug 15 11:52:46 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 11:52:49 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 11:52:50 2005] [error] PHP Notice: Undefined index: username in /var/www/htdocs/teleDir/signup.php on line 9
[Mon Aug 15 11:52:50 2005] [error] PHP Notice: Undefined index: password in /var/www/htdocs/teleDir/signup.php on line 10
[Mon Aug 15 11:52:50 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 11:52:56 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 11:52:58 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 11:53:02 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 11:53:04 2005] [error] PHP Parse error: parse error, unexpected T_STRING in /var/www/htdocs/teleDir/phpinfo.php on line 2
[Mon Aug 15 11:53:04 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 11:53:06 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 11:55:03 2005] [notice] SIGHUP received. Attempting to restart
[Mon Aug 15 11:55:08 2005] [notice] Apache/1.3.33 (Unix) PHP/4.3.10 configured -- resuming normal operations
[Mon Aug 15 11:55:08 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 11:55:39 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 11:55:41 2005] [error] PHP Parse error: parse error, unexpected T_STRING in /var/www/htdocs/teleDir/phpinfo.php on line 2
[Mon Aug 15 11:55:41 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 11:55:43 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 11:55:44 2005] [error] PHP Notice: Undefined index: username in /var/www/htdocs/teleDir/signup.php on line 9
[Mon Aug 15 11:55:44 2005] [error] PHP Notice: Undefined index: password in /var/www/htdocs/teleDir/signup.php on line 10
[Mon Aug 15 11:55:44 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 11:56:13 2005] [notice] caught SIGTERM, shutting down
[Mon Aug 15 15:03:14 2005] [notice] Apache/1.3.33 (Unix) PHP/4.3.10 configured -- resuming normal operations
[Mon Aug 15 15:03:14 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Mon Aug 15 15:05:52 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 15:05:53 2005] [error] PHP Notice: Undefined index: username in /var/www/htdocs/teleDir/signup.php on line 9
[Mon Aug 15 15:05:53 2005] [error] PHP Notice: Undefined index: password in /var/www/htdocs/teleDir/signup.php on line 10
[Mon Aug 15 15:05:53 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 15:05:55 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico
[Mon Aug 15 15:05:58 2005] [error] PHP Parse error: parse error, unexpected T_STRING in /var/www/htdocs/teleDir/phpinfo.php on line 2
[Mon Aug 15 15:05:59 2005] [error] [client 192.168.1.4] File does not exist: /var/www/htdocs/favicon.ico


moreover i have commented out the line which u told above..........

still no success
 
Old 08-15-2005, 08:23 AM   #4
keefaz
Senior Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 4,617

Rep: Reputation: 136Reputation: 136
It must be a wrong syntax in your /var/www/htdocs/teleDir/phpinfo.php file...
Quote:
[Mon Aug 15 15:05:58 2005] [error] PHP Parse error: parse error, unexpected T_STRING in /var/www/htdocs/teleDir/phpinfo.php on line 2
Check and re-check this file, I guess it is a simple error, like you forget to
add () to tell to php you use a function...

(otherwise, your php configuration seems fine)

Last edited by keefaz; 08-15-2005 at 08:25 AM.
 
Old 08-15-2005, 08:59 AM   #5
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu
Posts: 1,456

Rep: Reputation: 104Reputation: 104
im just guessing but maybe the phpinfo() function is explicitly disabled in php.ini. Take a look at that:
disable_functions=
in php.ini

for there seems to be no spell error...
 
Old 08-15-2005, 09:37 AM   #6
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Original Poster
Rep: Reputation: 31
j-ray i agree with u i have also been thinking on the same line...but which line do i uncomment.....
 
Old 08-15-2005, 10:11 AM   #7
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Do you see

disable_functions = phpinfo

in your php.ini? If so, just delete the phpinfo (if there's anything else there, leave it as it is, unless you don't want those functions disabled either)..
 
Old 08-15-2005, 09:16 PM   #8
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Original Poster
Rep: Reputation: 31
thanx for the help but i am unable to locate this line....however other scripts php is parsing..........
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Configuring PHP linux_pioneer Linux - Software 3 01-21-2005 11:19 AM
configuring php fayax1 Linux - General 4 11-02-2004 03:03 PM
slackware, apache and PHP from .tgz - problems with PHP szymon Slackware 2 09-06-2004 05:57 PM
configuring php haobaba1 Linux - Networking 1 07-28-2003 03:43 AM
re-configuring PHP linoob Linux - General 1 07-02-2003 11:39 PM


All times are GMT -5. The time now is 06:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration