server configuration Help
Posted: Wed Feb 11, 2004 3:30 pm
Server: W2K3
IIS: 6
PHP: 4.3.4
Does anyone know what I need to change on the server to make this script work?
I have a script that works fine under PHP 4.3.2, but not PHP 4.3.4. The script creates a search engine friendly URL, but with PHP 4.3.4 it displays a not found error. It appears that the server is expecting the random number created by the script to be a file, not a parameter for the php file. I used the php.ini file from the working PHP version, same problem. I upgraded myW2K test server to PHP 4.3.4 and it had the same problem. I downgraded it to 4.3.2 and it's working again. The original URL is:
http://www.yellowpagecity.com/27-9.php
This file creates a link that contains the variable "message" followed by a random number for it's value.
The URL it creates is:
http://www.yellowpagecity.com/27-9.php/message/899
The error messages are:
Warning: Unknown(C:\Websites\ypcity\27-9.php\message\899): failed to open stream: No such file or directory in Unknown on line 0
Warning: (null)(): Failed opening 'C:\Websites\ypcity\27-9.php\message\899' for inclusion (include_path='.;c:\php4\pear') in Unknown on line 0
Thanks to the person that left the sample script a couple of months ago finally got time to get back to this problem. Sorry, I lost your name.
IIS: 6
PHP: 4.3.4
Does anyone know what I need to change on the server to make this script work?
I have a script that works fine under PHP 4.3.2, but not PHP 4.3.4. The script creates a search engine friendly URL, but with PHP 4.3.4 it displays a not found error. It appears that the server is expecting the random number created by the script to be a file, not a parameter for the php file. I used the php.ini file from the working PHP version, same problem. I upgraded myW2K test server to PHP 4.3.4 and it had the same problem. I downgraded it to 4.3.2 and it's working again. The original URL is:
http://www.yellowpagecity.com/27-9.php
This file creates a link that contains the variable "message" followed by a random number for it's value.
The URL it creates is:
http://www.yellowpagecity.com/27-9.php/message/899
The error messages are:
Warning: Unknown(C:\Websites\ypcity\27-9.php\message\899): failed to open stream: No such file or directory in Unknown on line 0
Warning: (null)(): Failed opening 'C:\Websites\ypcity\27-9.php\message\899' for inclusion (include_path='.;c:\php4\pear') in Unknown on line 0
Thanks to the person that left the sample script a couple of months ago finally got time to get back to this problem. Sorry, I lost your name.