Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

[PHP3] Apache Win 32 + PHP From: pp (josemv <email protected>)
Date: 08/30/99

Hi everybody

I installed Apache for Windows, PHP and MySQL for testing on Windows 98.

But when I tried run a simple script showing "Hello" I received an 404
error
"The requested URL /php/test.php3 was not found on this server."

The content in error.log file is
C:\Archivos de programa\Apache Group\Apache\Apache.exe: [Mon Aug 30
20:58:09 1999]
[error] [client 127.0.0.1] (2)No such file or directory: script not
found or unable
to stat: c:/archivos de programa/apache
group/apache/htdocs/php/test.php3

When I tried to run a test.html in the same directory I receive an 500
error

Configuration for httpd.conf
ScriptAlias /php/ "C:/Archivos de programa/Apache
Group/Apache/htdocs/php/"
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3 .phtml
Action application/x-httpd-php3 "c:/php3/php.exe"

Configuration for php3.ini
include_path = ; UNIX: "/path1:/path2" Windows: "\path1;\path2"
doc_root = C:\Archivos de programa\Apache Group\Apache\htdocs ; the root
of the php pages, used only if nonempty
user_dir = ; the directory under which php opens the script using
/~username, used only if nonempty
;upload_tmp_dir = ; temporary directory for HTTP uploaded files (will
use system default if not specified)
upload_max_filesize = 2097152 ; 2 Meg default limit on file
uploads
extension_dir = c:\php3 ; directory in which the loadable extensions
(modules) reside

What´s is wrong? Has any relation with permissions or similar? There is
permissions on Windows? Thanks for help
Jose

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>