PHP 5, Abyss, Windows 98

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
gbarnett
-


Joined: 04 Jan 2005
Posts: 5

PostPosted: Sun Jan 09, 2005 5:53 pm    Post subject: PHP 5, Abyss, Windows 98 Reply with quote

I am trying to use PHP, Abyss and Mysql.

Managed to acquire two PC's, one XP the other 98.

When I install everything on XP, using the manual configuration instructions all works perfectly.

When I install on 98, even though I have the same settings, file structure and ini and test file I always get a HTTP 500 error. Works perfectlt for HTML files, but not for php files.

Anyone met this and overcome it.
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3752
Location: USA, GA

PostPosted: Sun Jan 09, 2005 8:18 pm    Post subject: Reply with quote

You need to make sure your using php-cgi.exe as the PHP interpreter then
make sure you have MDAC installed so PHP & MySQL can properly work.

Note: MDAC = Microsoft Data Access Components
Back to top View user's profile Send private message Visit poster's website
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1332

PostPosted: Sun Jan 09, 2005 8:23 pm    Post subject: Re: PHP 5, Abyss, Windows 98 Reply with quote

Are you using php.exe as interpreter? With PHP5 you should declare php-cgi.exe as the interpreter. If this doesn't help the case, please send your abyss.conf and your php.ini files to support@aprelium.com (with a little explanation of the problem so that the support guys know what the files are for.)
Back to top View user's profile Send private message
gbarnett
-


Joined: 04 Jan 2005
Posts: 5

PostPosted: Mon Jan 10, 2005 9:29 pm    Post subject: Re: PHP 5 and Windows 98 Reply with quote

Hi guys,

Thanks for the replies.

I am definitely using php-cgi.exe and have MDAC 2.8 installed.

Aprelium support suggested running the php-cgi.exe on a php file via a dos window and it identifies a error in php.ini line 407. Surprised this does not happen on Windows XP.

I am now looking into this error to see if I am any wiser.
Back to top View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1332

PostPosted: Mon Jan 10, 2005 11:15 pm    Post subject: Re: PHP 5 and Windows 98 Reply with quote

gbarnett,

Line 407 of your PHP file seems to be:

Code:
error_log = "c:\php\log\php5_error.log


Add a " symbol to chave a correct syntax.

Check also that c:\php\log\ exists.
Back to top View user's profile Send private message
gbarnett
-


Joined: 04 Jan 2005
Posts: 5

PostPosted: Tue Jan 11, 2005 8:47 pm    Post subject: PHP 5, Abyss and Windows 98 Reply with quote

Hi,

when I ran the php-cgi.exe from an MS-DOS prompt and called my phpinfo.php file I initially got a message box indicating php parse error on line 407. As the above reply indicates there was a missing " at the end of the error log.

On fixing this error and re-running the command, in mS-DOS prompt, I get

Status 404
Content-Tyoe: text/html
x-Powered-By: php/5.0.3

No input file specified.

Any help?
Back to top View user's profile Send private message
gbarnett
-


Joined: 04 Jan 2005
Posts: 5

PostPosted: Tue Jan 11, 2005 8:49 pm    Post subject: PHP 5, Abyss and Windows 98 Reply with quote

Just to let you know the content of the .php file is

<html>
<head>
<title>
Test PHP Install
</title>
</head>
<body>
<p>
<?php echo('<center><b>Test PHP File</b></center>'); ?>
</body>
</html>
Back to top View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1332

PostPosted: Wed Jan 12, 2005 1:01 pm    Post subject: Re: PHP 5, Abyss and Windows 98 Reply with quote

You should ignore this error on the DOS prompt. Try now using PHP scripts directly from the server. Does they work as expected?
Back to top View user's profile Send private message
gbarnett
-


Joined: 04 Jan 2005
Posts: 5

PostPosted: Wed Jan 12, 2005 8:22 pm    Post subject: PHP 5, Abyss & Windows 98 Reply with quote

All sorted.

Basic error on my part. When I read the php.ini file I must have deleted the " character at the end of the error file definition.

Amending the file has solved the problem and all works perfectly.

Thanks for the help.
Back to top View user's profile Send private message
admin
Site Admin


Joined: 03 Mar 2002
Posts: 1332

PostPosted: Wed Jan 12, 2005 8:58 pm    Post subject: Re: PHP 5, Abyss & Windows 98 Reply with quote

gbarnett,

You're welcome :-)
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group