[Xitami] Installing PHP4 with Win 98SE & Xitami v2.4d9

Alan Lam xitami@lists.xitami.org
Tue, 19 Feb 2002 08:42:19 +0000


In article <Rlka6jAzx$b8EwBY@alan-lam.co.uk>, Alan Lam <alan@alan-
lam.co.uk> writes
>>check your error.log file, cgierr.log also your phperror.log
>>
>>if you eneabled it and gave it a name in the php.ini file
>>
>>in your AUTOEXEC.BAT add this
>>
>>SET PATH=f:\internet;%PATH%
>>
>>NOTE the use of My documents has been known to give Xitami fits it don't
>>like spaces :)
>>
>>hope this helps
>
>To take out spaces
>I've set up alias
>temp=c:\temp
>
>
>In autoexec.bat I've added
>set path=f:\internet\php;%path%
>
>I didn't know about the phperror.log. I downloaded the 'big' version of
>php to have a look at the php.ini file. (I initially had the windows
>installer version). I found out I can set display error!
>
>
>The php.ini in the windows directory is now
>
>; php.ini for PEAR tests
>include_path=..
>
>[mail function]
>SMTP= localhost ; for Win32 only
>sendmail_from= me@localhost.com ; for Win32 only
>
>[Session]
>session.save_path= F:\Internet\PHP\sessiondata    ; argument passed to
>save_handler
>
>[PHP]
>error_reporting= E_ALL; display all errors, warnings and notices
>display_errors = On
>display_startup_errors = On
>log_errors = On
>
>
>
>With a test page
>http://localhost/temp/Test Page.html
>=>
>http://localhost/temp/Test%20Page.html
>and pops up fine.
>
>With the php page
>
><html><head><title>PHP Test</title></head> 
><body> 
><?php echo "Hello World<P>"; ?> 
></body></html> 
>
>
>http://localhost/temp/phptest.php
>
>I see now see (with the help of display_error = on) :-)
>
>Fatal error: Unable to open F:/Internet/Xitami/webpages/temp/phptest2.ph
>p in Unknown on line 0

Oops, that should be phptest.php for the above example. I had two test
php files and I copied the error message from the second one.

>
>
>So ... where and what do I set to get php & xitami talking to each other
>about the right directory?

Any ideas, anyone?

Thanks
-- 
Alan YC Lam  Tonbridge, Kent, UK
email        kinesiology@alan-lam.co.uk
www          http://www.alan-lam.co.uk