• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Can't open page with .php5 extension

L

lolpopl

Guest
Hi everybody,

I have a domain with PHP as FastCGI.

It workd fine to open phpinfo.php and show me the configuration page.

But when i try to open phpinfo.php3 or phpinfo.php5

I have 503 error :

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

Suexec Log
[2010-05-16 20:16:17]: uid: (10001/abpoker) gid: (2522/2522) cmd: info.php3
[2010-05-16 20:16:17]: target uid/gid (10001/2522 or 2521) mismatch with directory (10001/2521) or program (10001/2521)
[2010-05-16 20:16:24]: uid: (10001/abpoker) gid: (2522/2522) cmd: info.php3
[2010-05-16 20:16:24]: target uid/gid (10001/2522 or 2521) mismatch with directory (10001/2521) or program (10001/2521)

Someone can tell me why .php work et .php3 or .php5 don't work?

Thanks you a lot for your answer.
 
Did you tried to check what is the owner of these uids/gids? Is there any related errors in Apache error_log?
 
Group:
psaserv:x:2521:apache,psaftp,psaadm
psacln:x:2522:

User:
abpoker:x:10001:2522



drwxr-x--- 13 abpoker psaserv 4096 May 16 20:36 httpdocs


-rw-r--r-- 1 abpoker psacln 21 Apr 7 19:06 info.php
-rw-r--r-- 1 abpoker psacln 21 May 16 20:36 info.php3
-rw-r--r-- 1 abpoker psacln 21 May 16 20:36 info.php5

error_log:

[Sun May 16 18:36:53 2010] [notice] mod_fcgid: server /var/www/vhosts/jetest.fr.cr/httpdocs/info.php3(11175) started
[Sun May 16 18:36:54 2010] [notice] mod_fcgid: process /var/www/vhosts/jetest.fr.cr/httpdocs/info.php3(11175) exit(server exited), terminated by calling exit(), return code: 120

I don't understant why .php work and .php3 or .php5 don't work because it is the same owner/group.
 
No work, just another error message on suexec
[2010-05-17 11:07:00]: uid: (10001/abpoker) gid: (2522/2522) cmd: info.php5
[2010-05-17 11:07:00]: file has no execute permission: (/var/www/vhosts/jetest.fr.cr/httpdocs/info.php5)
 
Back
Top