help ... :-(((

From: Date: Tue, 24 Aug 1999 13:27:46 +0000
Subject: help ... :-(((
Groups: php.dev 
Request: Send a blank email to php-dev+get-10154@lists.php.net to get a copy of this message
Hello PHP team, I am deseparate. Maybe you can help me, or kow who could ... It now 2 days that a try to use PHP 4 Beta on top of Win32 Apache 1.3.6, under WinNT4.0 WorkStation, but with no success. My test.PHP3 page only contains an echo, but this doesn't appear when trying to access http://localhost/test.php3 I followed the instructions applying to PHP on Win32-Apache : ScriptAlias /php3/ "c:/path-to-php-dir/" AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3 .phtml Action application/x-httpd-php3 "/php3/php.exe" =========== The following steps should be performed on all installations before the server specific instructions. * Extract the distribution file to a directory of your choice. "C:\PHP3\" is a good start. * Copy the file, 'php3-dist.ini' to your '%WINDOWS%' directory and rename it to 'php3.ini'. Your '%WINDOWS%' directory is typically: c:\windows for Windows 95/98 c:\winnt or c:\winnt40 for NT servers * Edit your 'php3.ini' file: * You will need to change the 'extension_dir' setting to point to your php-install-dir, or where you have placed your 'php3_*.dll' files. ex: c:\php3 * If you are using Omni Httpd, do not follow the next step. Set the 'doc_root' to point to your webservers document_root. ex: c:\apache\htdocs or c:\webroot * Choose which modules you would like to load when PHP starts. You can uncomment the: 'extension=php3_*.dll' lines to load these modules. Some modules require you to have additional libraries installed on your system for the module to work correctly. The PHP FAQ <http://www.php.net/FAQ.php3> has more information on where to get supporting libraries. You can also load a module dynamically in your script using: dl("php_*.dll"); ========================== I am quite sure my problem is related to a config issue, as when accessing http://localhost, the .php3 files appear with a question mark sign in front of them, like unrecognized by Apache In addition, as my Apache is installed under Program Files, I cannot always follow the directory-related instructions, because of the space between Program and Files, as in doc_root for example ( that I left empty ). ( After each change in httpd.conf, I stop/restart the Apache service ) Attached please find the config files I use : * PHP installed in c:\al\php * Apache installed in c:\Program Files\Apache Group <<php.ini>> <<httpd.conf>> <<test.php3>> P.S. : if this is not the appropriate email address for my basic support questions, sorry about that, but could you then give a good one ? Thank you in advance for your cooperation AlainD, from Brussels, Belgium

Attachment: [application/octet-stream] php.ini
Attachment: [application/octet-stream] httpd.conf
Attachment: [application/octet-stream] test.php3
« previous php.dev (#10154) next »