yacoosh Posted May 23, 2008 Share Posted May 23, 2008 Hello, I am new to Apache and PHP. I just installed both and have problems testing Apache with PHP. I am getting error on displaying test page phpinfo.php. my Apache/conf/httpd file and php.ini file are attached below. Please help [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted May 23, 2008 Share Posted May 23, 2008 I have merged your two topics together and attached your httpd.conf/php.ini files. I am getting error on displaying test page phpinfo.php. What error? Please post more info. Quote Link to comment Share on other sites More sharing options...
yacoosh Posted May 23, 2008 Author Share Posted May 23, 2008 Thanks for getting back to me. Actually I should have been more specific in my initial post. I am getting HTTP 404 page. The web Page cannot be found error. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted May 23, 2008 Share Posted May 23, 2008 How are you accessing the file? Post the url you are using. Also where are you saving the phpinfo.php script to? Quote Link to comment Share on other sites More sharing options...
yacoosh Posted May 23, 2008 Author Share Posted May 23, 2008 I am accessing the page from this URL http://localhost/phpinfo.php I saved the phpinfo.php script in my C:\Apache2.2\htdocs folder Quote Link to comment Share on other sites More sharing options...
yacoosh Posted May 23, 2008 Author Share Posted May 23, 2008 here is the error log file from my Apache: [Thu May 22 21:17:24 2008] [error] [client 71.139.171.210] File does not exist: C:/Apache2.2/htdocs/favicon.ico [Fri May 23 01:50:25 2008] [notice] Parent: Received shutdown signal -- Shutting down the server. [Fri May 23 01:50:25 2008] [notice] Child 5708: Exit event signaled. Child process is ending. [Fri May 23 01:50:26 2008] [notice] Child 5708: Released the start mutex [Fri May 23 01:50:27 2008] [notice] Child 5708: All worker threads have exited. [Fri May 23 01:50:27 2008] [notice] Child 5708: Child process is exiting [Fri May 23 01:50:27 2008] [notice] Parent: Child process exited successfully. httpd.exe: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xx for ServerName [Fri May 23 09:57:48 2008] [notice] Apache/2.2.8 (Win32) PHP/5.2.6 configured -- resuming normal operations [Fri May 23 09:57:48 2008] [notice] Server built: Jan 18 2008 00:37:19 [Fri May 23 09:57:48 2008] [notice] Parent: Created child process 3988 httpd.exe: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xx for ServerName httpd.exe: Could not reliably determine the server's fully qualified domain name, using xx.xx.xx.xx for ServerName [Fri May 23 09:57:48 2008] [notice] Child 3988: Child process is running [Fri May 23 09:57:48 2008] [notice] Child 3988: Acquired the start mutex. [Fri May 23 09:57:48 2008] [notice] Child 3988: Starting 64 worker threads. [Fri May 23 09:57:48 2008] [notice] Child 3988: Starting thread to listen on port 80. [Fri May 23 09:58:16 2008] [error] [client 127.0.0.1] File does not exist: C:/Apache2.2/htdocs/favicon.ico [Fri May 23 09:58:26 2008] [error] [client 127.0.0.1] script 'C:/Apache2.2/htdocs/phpinfo.php' not found or unable to stat Quote Link to comment Share on other sites More sharing options...
yacoosh Posted May 23, 2008 Author Share Posted May 23, 2008 and this is my Apache install log Installing Apache HTTP 2.0 server with DomainName = localhost ServerName = localhost ServerAdmin = zxj24@xxx.com ServerPort = 80 ServerSslPort = 80 ServerRoot = C:/Apache2.2 Rewrote C:/Apache2.2/conf/original/extra/httpd-autoindex.conf.in to C:/Apache2.2/conf/original/extra/httpd-autoindex.conf Successfully removed C:\Apache2.2\conf\original\extra\httpd-autoindex.conf.in Rewrote C:/Apache2.2/conf/original/extra/httpd-vhosts.conf.in to C:/Apache2.2/conf/original/extra/httpd-vhosts.conf Successfully removed C:\Apache2.2\conf\original\extra\httpd-vhosts.conf.in Rewrote C:/Apache2.2/conf/original/extra/httpd-default.conf.in to C:/Apache2.2/conf/original/extra/httpd-default.conf Successfully removed C:\Apache2.2\conf\original\extra\httpd-default.conf.in Rewrote C:/Apache2.2/conf/original/extra/httpd-manual.conf.in to C:/Apache2.2/conf/original/extra/httpd-manual.conf Successfully removed C:\Apache2.2\conf\original\extra\httpd-manual.conf.in Rewrote C:/Apache2.2/conf/original/extra/httpd-mpm.conf.in to C:/Apache2.2/conf/original/extra/httpd-mpm.conf Successfully removed C:\Apache2.2\conf\original\extra\httpd-mpm.conf.in Rewrote C:/Apache2.2/conf/original/extra/httpd-info.conf.in to C:/Apache2.2/conf/original/extra/httpd-info.conf Successfully removed C:\Apache2.2\conf\original\extra\httpd-info.conf.in Rewrote C:/Apache2.2/conf/original/extra/httpd-dav.conf.in to C:/Apache2.2/conf/original/extra/httpd-dav.conf Successfully removed C:\Apache2.2\conf\original\extra\httpd-dav.conf.in Rewrote C:/Apache2.2/conf/original/extra/httpd-languages.conf.in to C:/Apache2.2/conf/original/extra/httpd-languages.conf Successfully removed C:\Apache2.2\conf\original\extra\httpd-languages.conf.in Rewrote C:/Apache2.2/conf/original/httpd.conf.in to C:/Apache2.2/conf/original/httpd.conf Successfully removed C:\Apache2.2\conf\original\httpd.conf.in Rewrote C:/Apache2.2/conf/original/extra/httpd-userdir.conf.in to C:/Apache2.2/conf/original/extra/httpd-userdir.conf Successfully removed C:\Apache2.2\conf\original\extra\httpd-userdir.conf.in Rewrote C:/Apache2.2/conf/original/extra/httpd-ssl.conf.in to C:/Apache2.2/conf/original/extra/httpd-ssl.conf Successfully removed C:\Apache2.2\conf\original\extra\httpd-ssl.conf.in Rewrote C:/Apache2.2/conf/original/extra/httpd-multilang-errordoc.conf.in to C:/Apache2.2/conf/original/extra/httpd-multilang-errordoc.conf Successfully removed C:\Apache2.2\conf\original\extra\httpd-multilang-errordoc.conf.in Duplicated C:/Apache2.2/conf/original/magic to C:/Apache2.2/conf/magic Duplicated C:/Apache2.2/conf/original/extra/httpd-autoindex.conf to C:/Apache2.2/conf/extra/httpd-autoindex.conf Duplicated C:/Apache2.2/conf/original/extra/httpd-vhosts.conf to C:/Apache2.2/conf/extra/httpd-vhosts.conf Duplicated C:/Apache2.2/conf/original/extra/httpd-default.conf to C:/Apache2.2/conf/extra/httpd-default.conf Duplicated C:/Apache2.2/conf/original/mime.types to C:/Apache2.2/conf/mime.types Duplicated C:/Apache2.2/conf/original/charset.conv to C:/Apache2.2/conf/charset.conv Duplicated C:/Apache2.2/conf/original/extra/httpd-manual.conf to C:/Apache2.2/conf/extra/httpd-manual.conf Duplicated C:/Apache2.2/conf/original/extra/httpd-mpm.conf to C:/Apache2.2/conf/extra/httpd-mpm.conf Duplicated C:/Apache2.2/conf/original/extra/httpd-info.conf to C:/Apache2.2/conf/extra/httpd-info.conf Duplicated C:/Apache2.2/conf/original/extra/httpd-dav.conf to C:/Apache2.2/conf/extra/httpd-dav.conf Duplicated C:/Apache2.2/conf/original/extra/httpd-languages.conf to C:/Apache2.2/conf/extra/httpd-languages.conf Duplicated C:/Apache2.2/conf/original/httpd.conf to C:/Apache2.2/conf/httpd.conf Duplicated C:/Apache2.2/conf/original/extra/httpd-userdir.conf to C:/Apache2.2/conf/extra/httpd-userdir.conf Duplicated C:/Apache2.2/conf/original/extra/httpd-ssl.conf to C:/Apache2.2/conf/extra/httpd-ssl.conf Duplicated C:/Apache2.2/conf/original/extra/httpd-multilang-errordoc.conf to C:/Apache2.2/conf/extra/httpd-multilang-errordoc.conf Successfully removed C:\Apache2.2\conf\original\installwinconf.awk Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted May 23, 2008 Share Posted May 23, 2008 The install log means nothing. Have you restarted Apache since installing php? What happens if you go to http://localhost Quote Link to comment Share on other sites More sharing options...
yacoosh Posted May 23, 2008 Author Share Posted May 23, 2008 I am getting mu index page shown. Apache works Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.