newbie: error when invoke .php

From: Date: Sun, 09 Dec 2007 05:29:29 +0000
Subject: newbie: error when invoke .php
Groups: php.windows 
Request: Send a blank email to php-windows+get-28636@lists.php.net to get a copy of this message
Dear all, I'm newbie. Install php-5.2.5-win32-installer.msi successfully. Windows XP sp2 Web-server is Apache 2.2.6 no-ssl, win32 httpd.conf has 2 lines of additional texts: PHPIniDir "C:/PHP5/" LoadModule php5_module "C:/PHP5/php5apache2_2.dll" -- i wrote a simple PHP web-page: "test.php" <?php echo "Test PHP"; ?> Put it on the folder c:\apache\htdocs But Firefox - http://localhost/test.php - get only a blank page. "error.log" showed the following lines: [Sun Dec 09 11:04:17 2007] [error] [client 127.0.0.1] PHP Warning: require_once(SAM/php_sam.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in sam_factory on line 1 [Sun Dec 09 11:04:17 2007] [error] [client 127.0.0.1] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'SAM/php_sam.php' (include_path='.;C:\\php5\\pear') in sam_factory on line 1 while "access.log" showed the following line: 127.0.0.1 - - [09/Dec/2007:11:04:17 +0700] "GET /test.php HTTP/1.1" 500 - --- what's wrong ? somebody help me please.. T.I.A. andre

« previous php.windows (#28636) next »