View previous topic :: View next topic |
Author |
Message |
certus -
Joined: 12 Jun 2005 Posts: 24 Location: www.certuspersonality.com
|
Posted: Fri Jul 29, 2005 8:12 am Post subject: PHP file not executed any more |
|
|
Am running Abyss version X1 2.0.0.20 as a localhost on Windows XP Home.
Since yesterday it does not carry out the executable php files any more.
Error Message: "404, Not found."
The URL field in the server would display http://localhost/nameofprogram/executable.php
What might have happened?
I have not made any changes to the Abyss settings or the php.ini in \Windows.
Herward |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Fri Jul 29, 2005 8:56 am Post subject: |
|
|
Are all your aliases/users etc still working? There was a bug in earlier versions of Abyss where you configuration could get wiped out on rare occassions if Abyss was closed unexpectedly while running. It should be gone, but it's worth checking.
Also, double check that the PHP configuration is still set up under the scripting options in the console. _________________
"Invent an idiot proof webserver and they'll invent a better idiot..." |
|
Back to top |
|
 |
certus -
Joined: 12 Jun 2005 Posts: 24 Location: www.certuspersonality.com
|
Posted: Fri Jul 29, 2005 10:52 am Post subject: |
|
|
Yes, they are still there and working.
I just replaced version 2.0.0.20 with the latest, 2.0.6.
However, the problem still persists.
H |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Fri Jul 29, 2005 12:49 pm Post subject: |
|
|
And the PHP configuration settings in the console?
Any errors showing in your CGI log? _________________
"Invent an idiot proof webserver and they'll invent a better idiot..." |
|
Back to top |
|
 |
certus -
Joined: 12 Jun 2005 Posts: 24 Location: www.certuspersonality.com
|
Posted: Sat Jul 30, 2005 5:57 am Post subject: |
|
|
PHP settings in the console are untouched.
The data collection page (HTML form) alsways loads, but the executable php file it sends its data to is not processed.
Here is the current text in the cgi.log, referring to a program called chalgrow:
CGI: [D:\Programs\PHP\php.exe totchgr.php3 ] URI: /uploads/chalgrow/totchgr.php3 Bad executable
CGI: [D:\Programs\PHP\php.exe totchgr.php3 ] URI: /uploads/chalgrow/totchgr.php3 Bad executable
CGI: [D:\Programs\PHP\php.exe totchgr.php3 ] URI: /uploads/chalgrow/totchgr.php3 Bad executable
CGI: [D:\Programs\PHP\php.exe totchgr.php3 ] URI: /uploads/chalgrow/totchgr.php3 Bad executable
CGI: [D:\Programs\PHP\php.exe totchgr.php3 ] URI: /uploads/chalgrow/totchgr.php3 Bad executable
CGI: [D:\Programs\PHP\php.exe totchgr.php3 ] URI: /uploads/chalgrow/totchgr.php3 Bad executable
CGI: [D:\Programs\PHP\php.exe totchgr.php3 ] URI: /uploads/chalgrow/totchgr.php3 Bad executable
CGI: [D:\Programs\PHP\php.exe totchgr.php3 ] URI: /uploads/chalgrow/totchgr.php3 Bad executable
CGI: [D:\Programs\PHP\php.exe totchgr.php3 ] URI: /uploads/chalgrownew/totchgr.php3 Bad executable |
|
Back to top |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Sat Jul 30, 2005 6:10 am Post subject: |
|
|
Does D:\Programs\PHP\php.exe exist?
And as php is running as a cgi wouldnt php-cgi.exe be a better choice? _________________
 |
|
Back to top |
 |
 |
certus -
Joined: 12 Jun 2005 Posts: 24 Location: www.certuspersonality.com
|
Posted: Sat Jul 30, 2005 11:50 am Post subject: |
|
|
Yes, D:\Programs\PHP\php.exe still exists.
"And as php is running as a cgi wouldnt php-cgi.exe be a better choice?" :
I only see a php.exe in the PHP program. --
Will be online for the next 30 min, then again 1.5 hrs after that. |
|
Back to top |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Sat Jul 30, 2005 11:59 am Post subject: |
|
|
certus wrote: | Yes, D:\Programs\PHP\php.exe still exists.
"And as php is running as a cgi wouldnt php-cgi.exe be a better choice?" :
I only see a php.exe in the PHP program. --
Will be online for the next 30 min, then again 1.5 hrs after that. |
Kinda assumed that was php5, its php 4.x I assume?
Try downloading php again, and reinstalling. _________________
 |
|
Back to top |
 |
 |
certus -
Joined: 12 Jun 2005 Posts: 24 Location: www.certuspersonality.com
|
Posted: Sat Jul 30, 2005 12:38 pm Post subject: |
|
|
It's PHP 3.0.18.
Would you recommend the installation of version 4? I hear that version 5 is not yet all that stable. |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sat Jul 30, 2005 12:43 pm Post subject: |
|
|
certus wrote: | It's PHP 3.0.18.
Would you recommend the installation of version 4? I hear that version 5 is not yet all that stable. |
PHP 3.0.18!!!! That's a prehistoric version!
PHP 5 is stable. Some people claim wrongly that it is not okay, but it's only a matter of a few configuration changes in php.ini to make scripts made for PHP 4 only work on it. Our preconfigured PHP 5 package is correctly set to make both PHP 4 and PHP 5 scripts work flawlessly. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
certus -
Joined: 12 Jun 2005 Posts: 24 Location: www.certuspersonality.com
|
Posted: Sat Jul 30, 2005 2:38 pm Post subject: |
|
|
Would it be ok to downbload
# PHP 5.0.4 installer [2,272Kb] - 31 Mar 2005
(CGI only, packaged as Windows installer to install and configure PHP, and automatically configure IIS, PWS and Xitami, with manual configuration for other servers. N.B. no external extensions included)
md5: 8f951136757600ce78d5e442cb5b1541
?
My php files are still based on php3 coding. Would they work fine with version 5.0.4 installer? |
|
Back to top |
|
 |
MonkeyNation -
Joined: 05 Feb 2005 Posts: 921 Location: Cardiff
|
Posted: Sat Jul 30, 2005 3:01 pm Post subject: |
|
|
certus wrote: | Would it be ok to downbload
# PHP 5.0.4 installer [2,272Kb] - 31 Mar 2005
(CGI only, packaged as Windows installer to install and configure PHP, and automatically configure IIS, PWS and Xitami, with manual configuration for other servers. N.B. no external extensions included)
md5: 8f951136757600ce78d5e442cb5b1541
?
My php files are still based on php3 coding. Would they work fine with version 5.0.4 installer? |
Most of it should still work.
Only one way to find out, never used php3 personally. _________________
 |
|
Back to top |
 |
 |
certus -
Joined: 12 Jun 2005 Posts: 24 Location: www.certuspersonality.com
|
Posted: Sat Jul 30, 2005 3:27 pm Post subject: |
|
|
Have to apologize for a reading mistake: my installed php version is 4.3.11, not 3.0.18.
So, back to square 1: why aren't the php files processed? |
|
Back to top |
|
 |
p3 -
Joined: 17 Jun 2005 Posts: 615
|
Posted: Sat Jul 30, 2005 3:32 pm Post subject: |
|
|
certus wrote: | Have to apologize for a reading mistake: my installed php version is 4.3.11, not 3.0.18.
So, back to square 1: why aren't the php files processed? |
Maybe removing all traces of PHP on your system, then installing the newest version might be the best option, like previously suggested.
I've been using PHP 5 for awhile, and it works excellently.
As to your question, There is probably something wrong in PHP itself... |
|
Back to top |
|
 |
certus -
Joined: 12 Jun 2005 Posts: 24 Location: www.certuspersonality.com
|
Posted: Sun Jul 31, 2005 11:25 am Post subject: |
|
|
Uninstalled version 4.3.11 installer and replaced it with 5.04 installer.
Followed install.txt and readjusted Abyss scripting to the new executable php file (D:\programs\PHP\php-cgi.exe) and further copied php5ts.dll into C:\windows\system.
php.ini sits in C:\windows.
The former problem remains. When it comes to executing a *.php3 (or *.php) I receive the 404 error pointing to that php file as 'not found'.
Should I unistall/reinstall Abyss? |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sun Jul 31, 2005 2:26 pm Post subject: |
|
|
certus,
We don't know what are the "adjustments" you've done. So we cannot guess why it is failing. Reinstalling Abyss won't help since the problem is with your php.ini file only.
That's why we recommended installing "our PHP 5" package. Since we know it, we can help you more efficiently locating the origin of this error. Later you can upgrade or downgrade to any version you want to use.
By the way, what are the "adjustments" you've made? Have you set doc_root in php.ini? _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
certus -
Joined: 12 Jun 2005 Posts: 24 Location: www.certuspersonality.com
|
Posted: Mon Aug 01, 2005 5:52 am Post subject: |
|
|
Thanks Aprelium, for offerinmg help from the source.
I deliberately have not made any 'adjustments' to php.ini at all yet.
For the previous installation of PHP 4.3.11 you had sent me an adjusted php.ini which I then installed. It worked ok.
I'll send you that file directly to you email address so you can compare it with the php.ini that came with the now installed version PHP 5.0.4.
PS
You talk about "our PHP 5 package". I downloaded/installed PHP 5.0.4 Installer from http://planetmirror.com/downloads.
Did I download the wrong program? If so, pls give precise info what/where to downbload PHP 5. |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Mon Aug 01, 2005 8:50 am Post subject: |
|
|
You can find Aprelium's preconfigured version of PHP and install instructions here :
http://www.aprelium.com/abyssws/php5win.html
The original announcement is in the Tutorials section of this forum. _________________
"Invent an idiot proof webserver and they'll invent a better idiot..." |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon Aug 01, 2005 12:24 pm Post subject: |
|
|
certus wrote: | Thanks Aprelium, for offerinmg help from the source.
I deliberately have not made any 'adjustments' to php.ini at all yet.
For the previous installation of PHP 4.3.11 you had sent me an adjusted php.ini which I then installed. It worked ok.
I'll send you that file directly to you email address so you can compare it with the php.ini that came with the now installed version PHP 5.0.4.
|
You cannot use php.ini for PHP 4.3.11 on PHP 5.0.4! That's the cause of the errors. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
certus -
Joined: 12 Jun 2005 Posts: 24 Location: www.certuspersonality.com
|
Posted: Wed Aug 03, 2005 6:49 am Post subject: |
|
|
Ok, I have installed php5 for win, downloaded from the Aprelium server and followed the installation instructions.
While I have been able to set all other parameters, I have the feeling that the link to the interpreter (in my case to D:\Programs\PHP5\php-cgi.exe is not yet established.
When attempting to carry out a php file, I receive the 404 error "not found", in which 'fopund' points to the php file in the url field of the browser.
Here are the current settings in the Scripting Parameters:
Enable Scripts Execution: checked
Interpreters: The fileds for Interpreter and Arguments are empty and Associated Extensions shows php.
Script Paths: I inserted those that are needed, which are
/*.php
/*.inc
/*.txt
/*.php3
(/*.inc and /*txt are called into - includefile - /*.php or /*.php3)
Custom Environment Variables:
Name - REDIRECT_STATUS
Value - 200
Name - PHPRC
Value - D:\Programs\PHP5
I have not made any changes to php.ini. |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Aug 03, 2005 11:04 am Post subject: |
|
|
certus,
What is the full URL you're testing and that gives you error 404?
What is the value of Documents Path in Console > Hosts > Configure > General ?
What is the real full path of the file you're testing (its path on your hard drive)? _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
certus -
Joined: 12 Jun 2005 Posts: 24 Location: www.certuspersonality.com
|
Posted: Wed Aug 03, 2005 11:46 am Post subject: |
|
|
1) Full url for testing the program called career:
http://localhost/career/kincareer.htm.
In kincareer.htm its form content is then send to totcareer.php3.
totcareer.php3 sits in the same folder as kincareer.htm.
2) D:\Certus\Uploads (server tree)
3) D:\Certus\Uploads (server tree)\career\totcareer.php3.
Just tested this program again and received the 405 error (method not allowed). |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Thu Aug 04, 2005 5:35 pm Post subject: |
|
|
certus,
405 means that files with php3 extension are not well configured to be considered as scripts. Associate php3 with the PHP interpreter. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
certus -
Joined: 12 Jun 2005 Posts: 24 Location: www.certuspersonality.com
|
Posted: Fri Aug 05, 2005 10:12 am Post subject: |
|
|
Done that.
Scripting Parameters, Interpreters, Ass. Extensions: php and php3.
Those two also appear in Script Path, Virtual Path.
Alas, I still receive the 405 error. |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Aug 05, 2005 12:29 pm Post subject: |
|
|
certus wrote: | Done that.
Scripting Parameters, Interpreters, Ass. Extensions: php and php3.
Those two also appear in Script Path, Virtual Path.
Alas, I still receive the 405 error. |
So please send your abyss.conf file and your HTML/PHP file that contains the form to support@aprelium.com . _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|