Re: newbie: error when invoke .php

From: Date: Mon, 10 Dec 2007 05:12:59 +0000
Subject: Re: newbie: error when invoke .php
References: 1 2  Groups: php.windows 
Request: Send a blank email to php-windows+get-28639@lists.php.net to get a copy of this message
Thank you very much, it works. Andre. ------ On Monday, December 10, 2007 9:41 AM, John Mertic jmertic@gmail.com wrote: Try not enabling every single extension in the installer, instead enable only the extensions you need. You can go into Add/Remove Programs and make these changes as well. John On Dec 9, 2007 12:29 AM, Andre Junianto <juno.andre@gmail.com> wrote: 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 (#28639) next »